View previous topic :: View next topic |
Author |
Message |
subdriver n00b
Joined: 23 Mar 2010 Posts: 29
|
Posted: Sat Feb 21, 2015 6:14 pm Post subject: |
|
|
Well I can't find what's wrong now; when I try to emerge portage, I'm getting a message to the effect that no ebuilds satisfy dev-lang/python:3.3; if I do an emerge --search, it finds 3.1 which is what's installed, but nothing newer. I now that 3.1 has been deprecated, but no sure how to update to 3.3 or later. |
|
Back to top |
|
|
subdriver n00b
Joined: 23 Mar 2010 Posts: 29
|
Posted: Sat Feb 21, 2015 11:18 pm Post subject: |
|
|
I came to the conclusion that I was never going to be able to emerge Python 3.3, so I downloaded a tarball for 3.3 and built it and copied the ../bin/ files across to the usr/bin directory where the existing Python binaries live. I realised that I need to tell Portage that I'm looking after the Python builds, so I tried adding an appropriate line to the package.provided file:
/usr/bin/python-3.3.0
However, on attempting to emerge portage, it complains about the 'invalid package' name. I've tried various different options, but have yet to work out what it's expecting, the manpage is of little help as it quotes an example but doesn't explain it. Further on in the emerge process, it then complained about there being no ebuilds for python 2.7, so I repeated the entire process for 2.7. I did an eselect python list and it shows the 2 new versions, as well as the old versions which I haven't unmerged (and don't want to until portage is aware that I'm managing the newer versions); I selected 3.3 from the list.
The next attempt at emerge portage then complained about there being no ebuilds for python 2.7!
OK, so I figured out that I don't quote the path to the package, but the package name as it's known by portage, i.e. dev-lang/python-3.3.0; I modified the package.provided file and emerge is now happy with my package.provided file and hasn't complained about python - it's now complaining that it can't find the required bash package! This is starting to remind me of updating my old Ubuntu system with endless dependencies |
|
Back to top |
|
|
adamf663 n00b
Joined: 08 Mar 2007 Posts: 11
|
Posted: Thu Sep 03, 2015 3:56 pm Post subject: solution for me |
|
|
I tried most everything suggested on this page and couldn't get past the ParseError ... current profile invalid.
Switching profiles only worked when I switched to profile zero.
Then I was able to 'emerge --sync'.
However, I then had a large number of digest SHA256 errors.
The solution was to rename /usr/portage out of the way and do another sync which this time brought everything in.
Selected a valid profile (desktop/kde for me) and was good to go. |
|
Back to top |
|
|
gent00-fun n00b
Joined: 05 Nov 2011 Posts: 20
|
Posted: Wed Mar 09, 2016 8:10 pm Post subject: |
|
|
I want update old gentoo. I've maked emerge --sync and want to update portage, but have a problem.
Code: | emerge -av portage
!!! /etc/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.)
!!! 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.
|
after Code: | ls /etc/make.profile |
i see that old profile doesn't exist any more
Code: | eselect profile list
Available profile symlink targets:
[1] default/linux/amd64/13.0
[2] default/linux/amd64/13.0/selinux
[3] default/linux/amd64/13.0/desktop
[4] default/linux/amd64/13.0/desktop/gnome
[5] default/linux/amd64/13.0/desktop/gnome/systemd
[6] default/linux/amd64/13.0/desktop/kde
[7] default/linux/amd64/13.0/desktop/kde/systemd
[8] default/linux/amd64/13.0/desktop/plasma
[9] default/linux/amd64/13.0/desktop/plasma/systemd
[10] default/linux/amd64/13.0/developer
[11] default/linux/amd64/13.0/no-multilib
[12] default/linux/amd64/13.0/systemd
[13] default/linux/amd64/13.0/x32
[14] hardened/linux/amd64
[15] hardened/linux/amd64/selinux
[16] hardened/linux/amd64/no-multilib
[17] hardened/linux/amd64/no-multilib/selinux
[18] hardened/linux/amd64/x32
[19] hardened/linux/musl/amd64
[20] hardened/linux/musl/amd64/x32
[21] default/linux/uclibc/amd64
[22] hardened/linux/uclibc/amd64 |
Code: | eselect profile set 1 |
Code: | emerge -av portage
!!! Unable to parse profile: '/etc/make.profile'
!!! ParseError: Profile contains unsupported EAPI '5': '/usr/portage/profiles/default/linux/amd64/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.
|
...so i revert any changes
Code: | rm /etc/make.profile
rm: remove symbolic link `/etc/make.profile'? y
ln -s /usr/portage/profiles/default/linux/amd64/10.0 /etc/make.profile
|
...and i'm in that point. What can i do ?? |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Wed Mar 09, 2016 8:32 pm Post subject: |
|
|
gent00-fun wrote: | ...and i'm in that point. What can i do ?? |
gent00-fun ... you're probably in for a tough update, I wouldn't recommend it if the install has gone over one year since updating (which by the looks of things it has). So, you're probably best off backing up your config files, user data, etc, and doing a clean install.
Again, you will have no end of issues you will need to resolve, mostly without the aid of portage, so, not for the less experienced user.
best ... khay |
|
Back to top |
|
|
gent00-fun n00b
Joined: 05 Nov 2011 Posts: 20
|
Posted: Fri Mar 11, 2016 7:43 am Post subject: |
|
|
Can i revert in some way `emerge --sync` which broke my old profile (/usr/portage/profiles/default/linux/amd64/10.0 disappear) ?
EDIT:
I've found archival portage snapshots here https://dev.gentoo.org/~swift/snapshots/ but don't know which one i had before `emerge --sync`...
EDIT:
Solved it a little.
I have downloaded `portage-20140120.tar.bz2` and replaced portage. I have now my old profile 10.0 and even though my profile is outdated i will stay with it for now. |
|
Back to top |
|
|
stolar n00b
Joined: 15 Sep 2007 Posts: 49 Location: Zgierz, Poland
|
Posted: Fri Oct 26, 2018 10:37 am Post subject: |
|
|
Hi gent00-fun,
After restoring 'the old' portage, but still with the just performed
How did You clean up all the:
Code: | missing digest for a... |
and
Code: | file is not listed in the manifest... |
errors?
In general, do You Guys still think that it is possible to update Gentoo 2009 to much more current release, after manual unpack of current portage and following:
Code: | https://wiki.gentoo.org/wiki/Upgrading_Gentoo |
_________________ Best Regards,
Piotr |
|
Back to top |
|
|
soporte n00b
Joined: 21 Aug 2019 Posts: 6
|
Posted: Wed Aug 21, 2019 4:14 pm Post subject: |
|
|
none of the suggestions have worked for me, have a new suggestion on this topic
Thank you. |
|
Back to top |
|
|
soporte n00b
Joined: 21 Aug 2019 Posts: 6
|
Posted: Wed Aug 21, 2019 4:57 pm Post subject: !!! ParseError: Profile contains unsupported EAPI '5': '/usr |
|
|
I have tried to perform the validations that are suggested, but I have not found a solution to this error ...
the folder with the previous version does not appear, as if it had been completely deleted
What else can you do? |
|
Back to top |
|
|
|