Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot upgrade portage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
SpAiK
n00b
n00b


Joined: 03 Nov 2010
Posts: 4

PostPosted: Wed Nov 03, 2010 7:15 pm    Post subject: Cannot upgrade portage Reply with quote

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
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Wed Nov 03, 2010 7:22 pm    Post subject: Reply with quote

Just a quick fix:
Code:
foo # USE="-bashcomp" emerge portage

_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
SpAiK
n00b
n00b


Joined: 03 Nov 2010
Posts: 4

PostPosted: Wed Nov 03, 2010 7:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Wed Nov 03, 2010 7:38 pm    Post subject: Reply with quote

Sorry, my fault:
Code:
foo # USE="-bash-completion" emerge portage

_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Nov 03, 2010 7:42 pm    Post subject: Reply with quote

Quote:
Portage 2.1.6.4 (default/linux/x86/10.0, gcc-4.1.2, glibc-2.5-r4, 2.4.37-gentoox i686)


It's so old I'd consider reinstall.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54096
Location: 56N 3W

PostPosted: Wed Nov 03, 2010 7:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
SpAiK
n00b
n00b


Joined: 03 Nov 2010
Posts: 4

PostPosted: Wed Nov 03, 2010 8:22 pm    Post subject: Reply with quote

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 :D . BTW I think I'm going to reinstall, what is the best method?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54096
Location: 56N 3W

PostPosted: Wed Nov 03, 2010 9:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21489

PostPosted: Thu Nov 04, 2010 1:56 am    Post subject: Reply with quote

SpAiK wrote:
Of course that I will, because I'm new to Linux and Gentoo :D . 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
View user's profile Send private message
few
Guru
Guru


Joined: 03 Mar 2008
Posts: 448

PostPosted: Thu Nov 04, 2010 6:10 am    Post subject: Reply with quote

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
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9507
Location: beyond the rim

PostPosted: Thu Nov 04, 2010 3:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
SpAiK
n00b
n00b


Joined: 03 Nov 2010
Posts: 4

PostPosted: Thu Nov 04, 2010 3:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9507
Location: beyond the rim

PostPosted: Thu Nov 04, 2010 5:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum