Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage -> deprecated profile ?
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
Mati
Tux's lil' helper
Tux's lil' helper


Joined: 02 Sep 2008
Posts: 111

PostPosted: Wed Feb 27, 2013 11:20 am    Post subject: Portage -> deprecated profile ? Reply with quote

Hello,
i just submitted an emerge --sync and get the following result:

Code:

* An update to portage is available. It is _highly_ recommended
 * that you update portage now, before any other packages are updated.

 * To update portage, run 'emerge portage' now.


 * IMPORTANT: 14 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

localhost ~ # emerge portage

!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:
        default/linux/x86/13.0/desktop



I'm relatively new to portage and dont know what should i do now? Can anybody explain and help me?
In general, i would like to do the following stuff:

emerge --sync
emerge --update portage
revdep-rebuild
emerge -vaDNu world

However, as you can see, i'm stuck with the first thing already.

Thanks a lot.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


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

PostPosted: Wed Feb 27, 2013 11:34 am    Post subject: Reply with quote

The message is pretty explicit about what to do. Not sure what kind of help you're looking for.
Back to top
View user's profile Send private message
Mati
Tux's lil' helper
Tux's lil' helper


Joined: 02 Sep 2008
Posts: 111

PostPosted: Wed Feb 27, 2013 11:36 am    Post subject: Reply with quote

I read the update gentoo profile stuff but i dont know which profile to choose:

Code:

eselect profile list
Available profile symlink targets:
  [1]   default/linux/x86/13.0
  [2]   default/linux/x86/13.0/selinux
  [3]   default/linux/x86/13.0/desktop
  [4]   default/linux/x86/13.0/desktop/gnome
  [5]   default/linux/x86/13.0/desktop/kde
  [6]   default/linux/x86/13.0/developer
  [7]   hardened/linux/x86
  [8]   hardened/linux/x86/selinux
  [9]   hardened/linux/uclibc/x86



any hints?


Last edited by Mati on Wed Feb 27, 2013 11:38 am; edited 1 time in total
Back to top
View user's profile Send private message
gerard82
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2180
Location: Netherlands

PostPosted: Wed Feb 27, 2013 11:37 am    Post subject: Reply with quote

Quote:
* IMPORTANT: 14 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Why don't you read the news?
It always contains important messages!
Code:
eselect news read.

Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has midori to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
Mati
Tux's lil' helper
Tux's lil' helper


Joined: 02 Sep 2008
Posts: 111

PostPosted: Wed Feb 27, 2013 11:41 am    Post subject: Reply with quote

Quote:
Why don't you read the news?
It always contains important messages!


Thanks, i will do that from now on.

what i just did is the following:

Code:
eselect profile set 3
localhost ~ # emerge portage
!!! Unable to parse profile: '/etc/make.profile'
!!! ParseError: Profile contains unsupported EAPI '5': '/usr/portage/profiles/default/linux/x86/13.0/eapi'
!!! If you have just changed your profile configuration, you should revert
!!! back to the previous configuration. Due to your current profile being
!!! invalid, allowed actions are limited to --help, --info, --sync, and
!!! --version.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


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

PostPosted: Wed Feb 27, 2013 1:58 pm    Post subject: Reply with quote

Sorry about that problem. Guess people haven't really thought about the consequences of adding EAPI requirements on profiles while still not having repo dependencies ... not like I suggested and prototyped them like 5 years ago ...
Anyway, you have two options now:
a) roll back to your previous profile (you'll have to update the /etc/make.profile symlink manually), then update sys-apps/portage to an EAPI-5 compatible version, then switch to the 13.0 profile again
b) update sys-apps/portage manually, see http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml assuming it's still updated.
Back to top
View user's profile Send private message
Mati
Tux's lil' helper
Tux's lil' helper


Joined: 02 Sep 2008
Posts: 111

PostPosted: Wed Feb 27, 2013 2:18 pm    Post subject: Reply with quote

thank for help.
i did as suggested in b) and obtain the following:

Code:
emerge sys-apps/portage
FEATURES variable contains unknown value(s): fixpackages


!!! /etc/portage/make.profile is not a symlink and will probably prevent most merges.
!!! It should point into a profile within /usr/portage/profiles/
!!! (You can safely ignore this message when syncing. It's harmless.)


the emerge would run but i cancelled it due to this strange information. Even if i set a symlink via
Code:
ln -s ../../usr/portage/profiles/default/linux/x86/13.0/desktop make.profile

in /etc i still get the message.

I'm stuck again - any advice? Thanks
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


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

PostPosted: Wed Feb 27, 2013 3:10 pm    Post subject: Reply with quote

what does
Code:
ls -ld /etc/make.profile /etc/portage/make.profile
emerge --version
say?
Back to top
View user's profile Send private message
Mati
Tux's lil' helper
Tux's lil' helper


Joined: 02 Sep 2008
Posts: 111

PostPosted: Wed Feb 27, 2013 3:15 pm    Post subject: Reply with quote

Code:

ls -ld /etc/make.profile /etc/portage/make.profile
lrwxrwxrwx 1 root root 54 27. Feb 13:32 /etc/make.profile -> ../usr/portage/profiles/default/linux/x86/13.0/desktop
lrwxrwxrwx 1 root root 57 27. Feb 13:32 /etc/portage/make.profile -> ../../usr/portage/profiles/default/linux/x86/13.0/desktop
emerge --version
FEATURES variable contains unknown value(s): fixpackages
Portage 2.1.11.50 (default/linux/x86/13.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i686)
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2207
Location: UK

PostPosted: Wed Feb 27, 2013 3:39 pm    Post subject: Reply with quote

It looks like you haven't done a single update to this system in several years. You're going to have many more problems.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


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

PostPosted: Wed Feb 27, 2013 3:47 pm    Post subject: Reply with quote

Yeah, 2.6.31 isn't exactly up to date ... since a couple years.
Back to top
View user's profile Send private message
Mati
Tux's lil' helper
Tux's lil' helper


Joined: 02 Sep 2008
Posts: 111

PostPosted: Wed Feb 27, 2013 3:59 pm    Post subject: Reply with quote

Quote:
Yeah, 2.6.31 isn't exactly up to date ... since a couple years.


Yes that true. However, is this a serious problem? No workaround to solve this? If so, i'm a bit disappointed...
Back to top
View user's profile Send private message
dol-sen
Developer
Developer


Joined: 30 Jun 2002
Posts: 2503
Location: Richmond, BC, Canada

PostPosted: Thu Feb 28, 2013 2:39 am    Post subject: Reply with quote

Well, if your having trouble with a simple profile update. I'd forget about trying to update an old system. You'll be much better off just backing up your system and re-installing.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8597

PostPosted: Thu Feb 28, 2013 3:34 am    Post subject: Reply with quote

Mati wrote:
Quote:
Yeah, 2.6.31 isn't exactly up to date ... since a couple years.


Yes that true. However, is this a serious problem? No workaround to solve this? If so, i'm a bit disappointed...
Yes, this is a serious problem. Setting aside the numerous security fixes you have missed out on in the last three years, it is widely held that updating a Gentoo system after a hiatus of more than a year is difficult. It can be done, but it requires both patience and experience. I cannot comment on your patience, but your questions indicate you are not experienced with Gentoo administration.

I concur with dol-sen. Your fastest path is to save any personal content, install a modern Gentoo system, and be more diligent about keeping current.
Back to top
View user's profile Send private message
Zagbur
n00b
n00b


Joined: 06 Mar 2013
Posts: 1

PostPosted: Wed Mar 06, 2013 12:04 pm    Post subject: Reply with quote

Depending on your hardware, just take a look at:


ls /usr/portage/profiles/default/linux/*/


and make /etc/make.profile a symlink to the correct, previous profile you won't see with eselect. My Gentoo was frist installed in 2006 and I managed to keep it up to date, somehow... If you have the patience, try to force your way thru upgrading your installation. One can learn a lot about inner workings of Gentoo that way ;)
Back to top
View user's profile Send private message
moodboom
n00b
n00b


Joined: 06 Aug 2007
Posts: 20

PostPosted: Fri Mar 15, 2013 2:40 pm    Post subject: Too easy to break things Reply with quote

It would be GREAT if this message were updated to say "make sure you have emerged the latest version of portage first".
As it is, if you follow the instructions you'll quickly break things, requiring a manual reset of the /etc/make.profile symlink.

!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:
default/linux/x86/13.0
Back to top
View user's profile Send private message
dol-sen
Developer
Developer


Joined: 30 Jun 2002
Posts: 2503
Location: Richmond, BC, Canada

PostPosted: Fri Mar 15, 2013 2:56 pm    Post subject: Reply with quote

That's a catch-22 situation. That message comes from portage, not the profile.

So, to get that new message, you would have to upgrade portage first (to a version that contained the new message).

That message was from a time before portage started becoming dependent on EAPI's, so I agree an update to that message is warranted.

[edit] That portage message already has been changed. You should have read the 2013-02-10-new-13-profiles news message.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
zmedico
Developer
Developer


Joined: 02 Jan 2004
Posts: 284
Location: California USA

PostPosted: Fri Mar 15, 2013 3:04 pm    Post subject: Re: Too easy to break things Reply with quote

moodboom wrote:
It would be GREAT if this message were updated to say "make sure you have emerged the latest version of portage first".
As it is, if you follow the instructions you'll quickly break things, requiring a manual reset of the /etc/make.profile symlink.

!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:
default/linux/x86/13.0


Since portage-2.1.11.52 it checks if the profile EAPI is supported and gives an portage upgrade suggestion if not:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=34d8c817080f34f1a0b44cf05b99beacfc0d6314
_________________
Zac
Back to top
View user's profile Send private message
dilfridge
Developer
Developer


Joined: 18 Sep 2010
Posts: 35
Location: Regensburg, Germany

PostPosted: Sat Mar 16, 2013 11:09 am    Post subject: Reply with quote

... and we have a big fat sticky topic at the very top of this very forum about it. :D
Back to top
View user's profile Send private message
moodboom
n00b
n00b


Joined: 06 Aug 2007
Posts: 20

PostPosted: Sun Mar 17, 2013 7:54 pm    Post subject: You guys rock Reply with quote

Thanks guys, looks like you have it covered well, you rock! I'm currently bumping my main server, which doesn't happen very often, so I'm a little behind the curve on this one. :-)
Back to top
View user's profile Send private message
nicolascabraleller
n00b
n00b


Joined: 17 Apr 2014
Posts: 1

PostPosted: Thu Apr 17, 2014 2:32 pm    Post subject: Resolvido Reply with quote

Primeiro faça este comando abaixo.

for file in /usr/portage/profiles/default/linux/x86/13.0/eapi /usr/portage/profiles/default/linux/x86/eapi /usr/portage/profiles/base/eapi \
/usr/portage/profiles/default/linux/eapi /usr/portage/profiles/arch/x86/eapi /usr/portage/profiles/arch/base/eapi /usr/portage/profiles/releases/13.0/eapi \
/usr/portage/profiles/releases/eapi; do echo 1 > $file ; done

Depois é só rodar emerge -av portage

Após a compilação repita o primeiro comando mudando o valor para 5

for file in /usr/portage/profiles/default/linux/x86/13.0/eapi /usr/portage/profiles/default/linux/x86/eapi /usr/portage/profiles/base/eapi \
/usr/portage/profiles/default/linux/eapi /usr/portage/profiles/arch/x86/eapi /usr/portage/profiles/arch/base/eapi /usr/portage/profiles/releases/13.0/eapi \
/usr/portage/profiles/releases/eapi; do echo 5 > $file ; done
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