View previous topic :: View next topic |
Author |
Message |
Spargeltarzan Guru
Joined: 23 Jul 2017 Posts: 328
|
Posted: Fri Dec 13, 2024 9:07 am Post subject: Profile Upgrade 23.0 on an outdated system |
|
|
Dear community,
I somehow forgot time for one machine which I didn't use frequently in the last 1-1.5 years, which I want to migrate and update now.
Immediately the news to upgrade to 23.0 appeared when I wanted to update my system, so I read that consequently and planned to follow it accordingly; unfortunately I didn't.
I tried to follow the initial recommendation to fully upgrade beforehand the migration to 23.0; Portaged only showed 10-15 packages to upgrade on the old profile but some little conflicts, so it wasn't able to run. Than I checked my minimum glibc version as in the news since it stated this is a minimum necessity. My glibc version installed was okay for that, so I immediately followed the next migration steps as I believed emerge -e can take care about outstanding updates too.
I selected a merged-usr profile, however, Portage told me my partition layout suggests I am on split-usr and I should change to a split-usr profile. Since the profile 23.0 upgrade news item suggests to firstly upgrade to 23.0 and only then to migrate to merged-usr, I changed to the split-usr profile and planned to check on the merged-usr situation later on.
I am now on the emerge -e for the profile 23.0, which only brings ~12 items and a few circular dependencies. I un-emerged that circular dependencies; this way I mostly was able to resolve dependency issues in the last decade (maybe that is unelegant, but it worked for me).
Do I have a chance to update and migrate to 23.0 now, or should I change back to the older profile before?
That is my emerge --info and emerge update output:
emerge --info
emerge -auDU --with-bdeps=y --keep-going --backtrack=200 -j2 @world
I am grateful for any advice!
Many thanks and greetings, _________________ ___________________
Regards
Spargeltarzan
Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2509
|
Posted: Fri Dec 13, 2024 9:18 am Post subject: |
|
|
Since migration to 23.0 involves emerge --emptytree (it took me 6,5 hours on decent hardware for ~1500 packages, around two thirds of which were binary packages from the binhost), it would be wiser to just salvage your /etc/portage files and user data and perform a new installation. The portage binhost will be of great help.
It's just not worth the trouble, time and even electricity wasted.
On the other hand if you're in for the fun of it, this circular dependency is introduced by rust slotting. Maybe look up the threads related to that for clues on how to solve it.
p.s. the 12 packages emerge output you've posted above is not from emerge -e. You've forgotten the -e.
Best Regards,
Georgi |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54627 Location: 56N 3W
|
Posted: Fri Dec 13, 2024 10:22 am Post subject: |
|
|
How much do you want to learn about portage?
What logrusx said will be fastest.
Going back to your old profile and updating in say six month steps, until you are current, will take longer and teach you more. :)
If you want to do the updates, make yourself some snapshots from git or use the squashfs snapshots provided by Gentoo. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Spargeltarzan Guru
Joined: 23 Jul 2017 Posts: 328
|
Posted: Fri Dec 13, 2024 10:40 am Post subject: |
|
|
NeddySeagoon wrote: | How much do you want to learn about portage?
What logrusx said will be fastest.
Going back to your old profile and updating in say six month steps, until you are current, will take longer and teach you more.
If you want to do the updates, make yourself some snapshots from git or use the squashfs snapshots provided by Gentoo. |
I would prefer to uprade my existing system. My installation is very old and maybe I fall for it like to an old, used car. Also I have quite many custom settings. Well, maybe I could identify and backup all of them. I would like to try and learn the upgrade path and if I face too difficult issues in the next days, I can always reinstall.
So I will revert to the former profile (I believe it was 17.1.) and re-emerge libtool, gcc and glibc.
As a next step, which squashfs snapshots from Gentoo will I need? _________________ ___________________
Regards
Spargeltarzan
Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2509
|
Posted: Fri Dec 13, 2024 10:53 am Post subject: |
|
|
Of your revert, be careful to avid the 23 binhost. In don't know what's the state of the 17.1 binhost, but you should not mix one binhost with another profile.
Also you would be better if you backup your settings either way.
Add i mentioned in my edits, which you might have missed this is not the empty tree emerge output.
Best Regards,
Georgi |
|
Back to top |
|
|
Spargeltarzan Guru
Joined: 23 Jul 2017 Posts: 328
|
Posted: Fri Dec 13, 2024 11:02 am Post subject: |
|
|
Thanks for the hints!
I know my upgrade try was without -e because a pure -e had a very similar output. Therefore, I tried to update without -e first. Neither of it worked out. _________________ ___________________
Regards
Spargeltarzan
Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54627 Location: 56N 3W
|
Posted: Fri Dec 13, 2024 11:23 am Post subject: |
|
|
The squasfs snapshots are at https://distfiles.gentoo.org/snapshots/squashfs/
Pick one slightly ahead of your last full update and do a full update.
Don't forget to update the kernel and act on any news items.
Now choose a newer snapshot, rinse and repeat.
If you get blockers you have jumped forward too far.
Step sizes of between 6 and 12 months will mostly work.
If you want to use the binhost, that works to save time, as long as settings match.
You need the old binhost though.
What you are doing is going through the updates you missed in as big a steps as will work. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4676 Location: Germany
|
Posted: Fri Dec 13, 2024 12:11 pm Post subject: |
|
|
"Portage 3.0.56"
first, before merging packages, please updating the package manager -> sys-apps/portage |
|
Back to top |
|
|
|
|
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
|
|