View previous topic :: View next topic |
Author |
Message |
SpAiK n00b
Joined: 03 Nov 2010 Posts: 4
|
Posted: Wed Nov 03, 2010 7:15 pm Post subject: Cannot upgrade portage |
|
|
I need to upgrade portage, but when I try it tells me this:
Code: | Xbox ~ # emerge portage
* IMPORTANT: 9 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
Calculating dependencies... done!
!!! All ebuilds that could satisfy "app-shells/gentoo-bashcomp" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-shells/gentoo-bashcomp-20100613 (masked by: EAPI 3, invalid: SLOT is undefined)
The current version of portage supports EAPI '2'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "app-shells/bash-completion-1.1-r5" [ebuild])
(dependency required by "app-admin/eselect-1.2.10" [ebuild])
(dependency required by "sys-apps/portage-2.1.8.3" [ebuild])
(dependency required by "portage" [argument]) |
Code: | Xbox ~ # emerge --version
Portage 2.1.6.4 (default/linux/x86/10.0, gcc-4.1.2, glibc-2.5-r4, 2.4.37-gentoox i686) |
|
|
Back to top |
|
|
massimo Veteran
Joined: 22 Jun 2003 Posts: 1226
|
Posted: Wed Nov 03, 2010 7:22 pm Post subject: |
|
|
Just a quick fix:
Code: | foo # USE="-bashcomp" emerge portage |
_________________ Hello 911? How are you? |
|
Back to top |
|
|
SpAiK n00b
Joined: 03 Nov 2010 Posts: 4
|
Posted: Wed Nov 03, 2010 7:33 pm Post subject: |
|
|
It didn't work. It says the same, I need to upgrade portage but can't do it because I need to upgrade... |
|
Back to top |
|
|
massimo Veteran
Joined: 22 Jun 2003 Posts: 1226
|
Posted: Wed Nov 03, 2010 7:38 pm Post subject: |
|
|
Sorry, my fault:
Code: | foo # USE="-bash-completion" emerge portage |
_________________ Hello 911? How are you? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54096 Location: 56N 3W
|
Posted: Wed Nov 03, 2010 7:48 pm Post subject: |
|
|
SpAiK,
Get portage and python from tinderbox.dev.gentoo.org and untar the files into your / as if they were mini stage 3 files.
Thats Code: | tar -jpxf <tarball> -C / | Do Code: | eselect python list | then use eselect to choose the latest 2.x version.
if you choose 3.x, many things will not work.
That should give you a working portage.
You will have a very educational experience updating to current Gentoo. A reinstall will be faster but don't let that put you off.
------- edit ------
fixed the tar command. f must be the last argument as it takes a parameter _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Last edited by NeddySeagoon on Wed Nov 03, 2010 9:45 pm; edited 1 time in total |
|
Back to top |
|
|
SpAiK n00b
Joined: 03 Nov 2010 Posts: 4
|
Posted: Wed Nov 03, 2010 8:22 pm Post subject: |
|
|
NeddySeagoon wrote: | You will have a very educational experience updating to current Gentoo. A reinstall will be faster but don't let that put you off. |
Of course that I will, because I'm new to Linux and Gentoo . BTW I think I'm going to reinstall, what is the best method? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54096 Location: 56N 3W
|
Posted: Wed Nov 03, 2010 9:44 pm Post subject: |
|
|
SpAiK,
Follow the handbook. Save your user data in /home if you want to move it to your new install. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21489
|
Posted: Thu Nov 04, 2010 1:56 am Post subject: |
|
|
SpAiK wrote: | Of course that I will, because I'm new to Linux and Gentoo . BTW I think I'm going to reinstall, what is the best method? | If you are new to Linux, how did you come into possession of such an outdated Gentoo system? Was this machine inherited from someone else? |
|
Back to top |
|
|
few Guru
Joined: 03 Mar 2008 Posts: 448
|
Posted: Thu Nov 04, 2010 6:10 am Post subject: |
|
|
portage-2.1.6 is not that old. That's no reason to reinstall or use hacks to update portage. (You might consider the other problems you'll run into as a reason to reinstall though.) |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9507 Location: beyond the rim
|
Posted: Thu Nov 04, 2010 3:16 pm Post subject: |
|
|
few wrote: | portage-2.1.6 is not that old. That's no reason to reinstall or use hacks to update portage. (You might consider the other problems you'll run into as a reason to reinstall though.) |
Yeah, updating from a 2.4 kernel might be a very good reason for a reinstall. |
|
Back to top |
|
|
SpAiK n00b
Joined: 03 Nov 2010 Posts: 4
|
Posted: Thu Nov 04, 2010 3:34 pm Post subject: |
|
|
Genone wrote: | few wrote: | portage-2.1.6 is not that old. That's no reason to reinstall or use hacks to update portage. (You might consider the other problems you'll run into as a reason to reinstall though.) |
Yeah, updating from a 2.4 kernel might be a very good reason for a reinstall. |
Yes, but the problem is that this is the latest distro for Xbox console available. I would have to recompile the newer version, but there are no patches for newer kernels. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9507 Location: beyond the rim
|
Posted: Thu Nov 04, 2010 5:24 pm Post subject: |
|
|
SpAiK wrote: | Yes, but the problem is that this is the latest distro for Xbox console available. I would have to recompile the newer version, but there are no patches for newer kernels. |
Was afraid that would be the case. Honestly I've no idea how many problems you'll encounter due to the 2.4 kernel, maybe it works just fine, but most likely you won't be able to install / use a number of packages (due to dependencies on udev, sysfs or other 2.6 features). |
|
Back to top |
|
|
|