Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't update portage becuase need to update portage [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Kjammer
n00b
n00b


Joined: 20 Nov 2005
Posts: 14

PostPosted: Mon Jan 10, 2011 12:29 am    Post subject: Can't update portage becuase need to update portage [solved] Reply with quote

Hello,

I just did #emerge --sync and now it wants me to emerge portage because it is out of date. But when I try to do that, it says that I need EAPI 3, which my current version of portage doesn't support.

To upgrade portage, It needs to support EAPI 3
To support EAPI 3, I need to upgrade portage
To upgrade portage, It needs to support EAPI 3

See the problem here?

The man page says masked EAPIs are masked because portage can't handle them. Which I assume means if I bypass the mask, it will still fail.

Now what do I do?

Thanks in advance.

Code:
# emerge portage

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "app-shells/bash-completion" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-shells/bash-completion-1.2 (masked by: EAPI 3)

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-admin/eselect-1.2.11" [ebuild])
(dependency required by "sys-apps/portage-2.1.9.25" [ebuild])
(dependency required by "portage" [argument])


Last edited by Kjammer on Mon Jan 10, 2011 1:38 am; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5622

PostPosted: Mon Jan 10, 2011 12:35 am    Post subject: Reply with quote

That's only eselect wanting bah-completion.
It's useflag controlled, so with a bit of tinkering, you can get around it.
Back to top
View user's profile Send private message
Kjammer
n00b
n00b


Joined: 20 Nov 2005
Posts: 14

PostPosted: Mon Jan 10, 2011 12:50 am    Post subject: Reply with quote

Oh thank you, I forgot that bash-completion was a useflag. Now it works perfectly.
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9057

PostPosted: Mon Jan 10, 2011 1:13 am    Post subject: Re: Can't update portage becuase I need to update portage Reply with quote

Kjammer wrote:
To upgrade portage, It needs to support EAPI 3
To support EAPI 3, I need to upgrade portage
To upgrade portage, It needs to support EAPI 3

See the problem here?
How long had it been since your last update? Such problems can appear when trying to upgrade badly outdated systems, but should be rare otherwise.
Back to top
View user's profile Send private message
Kjammer
n00b
n00b


Joined: 20 Nov 2005
Posts: 14

PostPosted: Mon Jan 10, 2011 1:35 am    Post subject: Reply with quote

Hu wrote:
How long had it been since your last update?


At least a year, probably two.

One of the reasons why I procrastinated on this was because revdep-rebuild was having problems with broken lib files (possibly from removing the ATI drivers after I upgraded to an NVIDIA video card last March). It wasn't until today when I decided to fix things.

So yeah, guilty of system neglect.
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 4159
Location: Removed by Neddy

PostPosted: Mon Jan 10, 2011 12:49 pm    Post subject: Reply with quote

Gentoo try to maintain an upgrade path BUT at some point a line has to be drawn. iirc over a year and good luck
To be fair if you havn't updated in over a year it would be quicker to install from scatch, the number of packages changed would be a complete system re-install anyway PLUS you wouldn't have the expect ABI clash here and there to deal with
_________________
A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen.
Back to top
View user's profile Send private message
tomk
Administrator
Administrator


Joined: 23 Sep 2003
Posts: 7219
Location: Sat in front of my computer

PostPosted: Tue Feb 15, 2011 9:33 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, please see update old system to 10.0 or 2008.1.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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