On 25/02/21 08:45, hitachi303 wrote:
> Am 25.02.2021 um 02:43 schrieb Grant Taylor:
>> I need to update a system that hasn't been updated in 337 days (March
>> 24th 2020.  --  Life has been ... trying.
>>
>> What is the best way forward?
>>
>> It seems as if there have been a lot of changes in the interim; glibc,
>> Python 2.7 being deprecated, default Python going to 3.7(?), other
>> breaking changes....
>>
>> Is there a way that I can sync portage to something from April, May,
>> or even June of 2020, do a full update (including "-DUNe @world")?
>> Iterating through multiple rounds to get current?
>>
>> Any help would be appreciated.
>>
> 
> 
> 
> I found it to be helpful to de-install as many programs as possible
> before starting the update and the first emerge --sync. This reduces the
> amount of conflicts by a considerable amount. Stuff like libreoffice or
> thunderbird and so on and all of their dependencies. Everything your
> system does not need to run but what you need to be productive when you
> use your system. I use -av --depclean for this.
> 
> Also there is something in the gentoo wiki about upgrading old or too
> old systems.
> 
> https://wiki.gentoo.org/wiki/Upgrading_Gentoo#Upgrading_from_older_systems
> 
I'd do something a bit like that. The trick is to do the ABSOLUTE
MINIMUM each step.

Can you "emerge portage"? Given the elephant in the room that is all the
python changes, if that works you're probably 90% of the way there.

Do you need to update the system profile? Update it to a very basic
profile and "emerge @system". NO --deep, NO --new-use, nothing like that.

If portage says it can update some things but not others, then tell it
to update what it can. Normally I'd "emerge -C" any blockers, but with a
minimal system that's probably not wise.

Once that's done, select your real profile that you want, and again do a
basic "emerge @system". Followed by "emerge @world".

Now do your full-blown "emerge --deep --new-use", depclean, new kernel,
all that sort of stuff.

Cheers,
Wol


Reply via email to