Hi,

to the downgrade thing it can be partly done using the squashfs portage snapshots laying on every portage mirror. There is a long history list there.

https://gentoo.osuosl.org/snapshots/squashfs/

So you can migrate your portage tree from plain files to the squashfs.

But actually the real issue here is that you are modifying your live system with potentially broken things and than stay in a non working state. For stable binary distribution there is a very high probability that upgrade will pass correctly. But on gentoo the probability is much less. So it needs to be counted with. The easiest thing is to let the portage create binary packages from the ones that are unmerged and keep old portage squashfs at hand. This is still live system and I would not do that. Instead just use any filesystem for the root that allows you creating boot environments (zfs, btrfs, lvm). I have only experience with zfs, so creating boot environments is very easy and an atomic operation, where the upgrade only happen in a new BE until it is ready to go. Having BE setup correctly and squashfs images in it, provides you a consistent working environment all the time. And if something does not work as expected, you may return to the previous BE (if you didnt remove it).

Robert.

On 1/9/22 12:47, gevisz wrote:
I constantly have problems with updating/recompiling tensorflow.
Sometimes, it compiles ok but most of the time it is not.
The last time when it failed to recompile was on 30-12-2021.
I reported this in the thread "tensorflow-2.5.0-r1 compilation failed"

So, I decided to degrade my Gentoo system to the state in which
it was on 12-12-2021, when my tensorflow was still ok, and froze it forever.

The problem is that I do not know how to sync my Gentoo repository
to the state it was on 12-12-2021.

I use webrsync sync method via "maint -A sync" and would prefer
to use the same sync method for degrading my Gentoo system.

Can anybody, please, tell me how to do it using this sync method?


Reply via email to