• [gentoo-user] Reinstall

    From Francisco Ares@21:1/5 to All on Wed May 11 12:00:01 2022
    Hello

    After a main HD failure, I'll have to reinstall Gentoo from almost zero - I have a full and recent copy of the /etc directory and the file /var/lib/portage/world in a secondary HD (along many personal backups).

    Installation basics done, now it is time for an emerge world.

    Although the emerge lists is as huge as expected, it doesn't even start, portage says there are cyclic USE flags that I should avoid at the first moment, but may restore afterwards.

    But it doesn't say which are those USE flags that block each other.

    Is there any way to find those better than brute force?

    By the way, I also have a copy of all binary packages (I always use the -b
    flag while emerging any package) in that second disk. But that didn't help
    so far, even trying to use the -K flag. I thought on un-tar'ing those
    binary packages by hand, but portage will be unaware of this, not knowing
    the packages are installed.

    Any hint will be greatly appreciated!

    Thanks

    Francisco

    <div dir="auto">Hello<div dir="auto"><br></div><div dir="auto">After a main HD failure, I&#39;ll have to reinstall Gentoo from almost zero - I have a full and recent copy of the /etc directory and the file /var/lib/portage/world in a secondary HD (along
    many personal backups).</div><div dir="auto"><br></div><div dir="auto">Installation basics done, now it is time for an emerge world.</div><div dir="auto"><br></div><div dir="auto">Although the emerge lists is as huge as expected, it doesn&#39;t even
    start, portage says there are cyclic USE flags that I should avoid at the first moment, but may restore afterwards.</div><div dir="auto"><br></div><div dir="auto">But it doesn&#39;t say which are those USE flags that block each other.</div><div dir="auto"
    <br></div><div dir="auto">Is there any way to find those better than brute force?</div><div dir="auto"><br></div><div dir="auto">By the way, I also have a copy of all binary packages (I always use the -b flag while emerging any package) in that second
    disk. But that didn&#39;t help so far, even trying to use the -K flag. I thought on un-tar&#39;ing those binary packages by hand, but portage will be unaware of this, not knowing the packages are installed.</div><div dir="auto"><br></div><div dir="auto">
    Any hint will be greatly appreciated!</div><div dir="auto"><br></div><div dir="auto">Thanks</div><div dir="auto"><br></div><div dir="auto">Francisco</div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Wed May 11 12:06:36 2022
    On Wednesday, 11 May 2022 10:57:03 BST Francisco Ares wrote:
    Hello

    After a main HD failure, I'll have to reinstall Gentoo from almost zero - I have a full and recent copy of the /etc directory and the file /var/lib/portage/world in a secondary HD (along many personal backups).

    Installation basics done, now it is time for an emerge world.

    Although the emerge lists is as huge as expected, it doesn't even start, portage says there are cyclic USE flags that I should avoid at the first moment, but may restore afterwards.

    But it doesn't say which are those USE flags that block each other.

    Is there any way to find those better than brute force?

    By the way, I also have a copy of all binary packages (I always use the -b flag while emerging any package) in that second disk. But that didn't help
    so far, even trying to use the -K flag. I thought on un-tar'ing those
    binary packages by hand, but portage will be unaware of this, not knowing
    the packages are installed.

    Any hint will be greatly appreciated!

    Thanks

    Francisco

    Try emerging @system first and see if this succeeds. I recall something similar on a recent fresh (re)installation, but the USE flags causing the circular block were reported in the emerge output, so I was able to unset and reset them at the time.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmJ7mLwACgkQseqq9sKV ZxmtCg//fctXYJ/KzT+E/gxmYcNHBYC/fUtwif1yM2TX/vmdRHYqbSufi+DToCKs /pdL/yVZpVvv33RVNLsVcQHRtdjKFg/qllaiiuearjaACwjjYRsJkBBCJ6mLTS37 R/+Gyo9epm39tcN7vGmyH4xgHhzvjgPRi8H4LAUk34s1WnGJY7eUkazFBsrWfH4j iE62svlI4snFUHkl+1AMzQu5k0pZ06q1rCLpP4bukUrgcNOMkr33nWzeJ5qtx1Fk k0Y3z9LOA4s+6YYExKnoQCOTcm/Y2kFkupm/H4z+f4cIVbHQ7ZGLmLgR6gq37joW 1sF5gWgBmSoyPwWZ/BWexZwKuP9ryqm5LDHdvCC+eRGCtI/d1+KtBqCpC6GPRmfI kA7iPxuSJyGWYoQ1D8MpJfhmcwzscAZBvpPoUmo+4Lw7h62FuEi2OVMRfF4cplfI 6DUDbSbqkFf7on1xIzLBurkBfbUEQgC/fmGhwXN/ZbwlWvjG/Muo1eERRwd/4l6x hbH1NA2nShN5kl4wRsU2z4eL5Qzi/XNrv2lXrNhX+w3Cy4eAdyEXv9x0W96MFYgc 6W3OSYzuL4FTjQQZx/tcNXqNhc4P7Uqz+IsR2OUAegsUAULYSCfTTH0Vc3k48Ytg U6tEk+dtAU8eI3jRQm+cmmd4ZXHnE85vvR6BRsob3YEvzku4S0Y=
    =GG5K
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Palao@21:1/5 to Francisco Ares on Wed May 11 14:30:01 2022
    Hi,

    What I would suggest is to try yo emerge @world first with a reduced
    list of USE flags, maybe the default, and after success you could
    introduce back the wanted USE flags and emerge @world once more.

    It could be a bit too much compilation, but if you have already binary packages, it will not be so expensive the second round, IMHO.

    Best

    On 11/5/22 11:57, Francisco Ares wrote:
    Hello

    After a main HD failure, I'll have to reinstall Gentoo from almost
    zero - I have a full and recent copy of the /etc directory and the
    file /var/lib/portage/world in a secondary HD (along many personal
    backups).

    Installation basics done, now it is time for an emerge world.

    Although the emerge lists is as huge as expected, it doesn't even
    start, portage says there are cyclic USE flags that I should avoid at
    the first moment, but may restore afterwards.

    But it doesn't say which are those USE flags that block each other.

    Is there any way to find those better than brute force?

    By the way, I also have a copy of all binary packages (I always use
    the -b flag while emerging any package) in that second disk. But that
    didn't help so far, even trying to use the -K flag. I thought on
    un-tar'ing those binary packages by hand, but portage will be unaware
    of this, not knowing the packages are installed.

    Any hint will be greatly appreciated!

    Thanks

    Francisco

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Wed May 11 16:40:02 2022
    On Wednesday, 11 May 2022 10:57:03 BST Francisco Ares wrote:

    Although the emerge lists is as huge as expected, it doesn't even start, portage says there are cyclic USE flags that I should avoid at the first moment, but may restore afterwards.

    But it doesn't say which are those USE flags that block each other.

    Is there any way to find those better than brute force?

    Can you paste the few lines showing the first circle? Add -v to the emerge command to show the USE flags in conflict.

    I built a new system a few days ago, and I had to break out of a couple of cycles, separately of course. I don't remember just what they were at the moment, but seeing yours should help.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to Laurence Perkins on Wed May 11 20:40:01 2022
    On Wed, 11 May 2022 16:45:31 +0000, Laurence Perkins wrote:

    Alternatively, fully update the system before putting in your world
    file, and then instead of copying in the world file all at once just
    run a loop to emerge the lines in it one at a time.

    Now you mention it, that's what I did last time, although my loop emerge
    ten lines at a time to cut down on the number of dependency
    recalculations.


    --
    Neil Bothwick

    ISDN: It Still Does Nothing

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmJ8AcMACgkQ92eFu0QS MJifGg/+M++yNJJlqlegMSPUJOLxG/b2bCH7Zdv1tq8LX/CAG1RtTw15t3KqLa9E Syffqq3wnYP3rv7EANRuPD/CBhjoItbPE4NggcLioiEiU919DZbwtJ6g+R6dMk7I wY+NoH2qlmMzOcCe0UZARJNM1tSyiIbgTxXaVicPCnWA/jGx2RqNI7LKw4wRo9nq O4rpA0Bv1Xr4VW656SEc6ELxZt953G/BfUwie8yNM64uyn8X6U2Nzv9FQ5Y0hm/y K8vCYOrS7kgRwP5W1Sf4vaTaHIpqlKhAK9UDarX2h0UOQYQUEqgCd1/ftWeAdAVk A/1MR1HMIEi3tDwFijLaJFfzNUIRKS0+4sS5ACO97YX3R+3I1sVRYRvD4hbzdxL6 oVfZzW6nc7s9a0+8SzYHf0ulGvIHdzK7qX6xHupZwowf9y1zS+99jcOmOqPhDErS OQiCySYz5x8D+QNc6z8OP2KEEVpZ78fJxC9CgmP447ajbGy+9ODw1knuwiFks0XX lZRyvND0tEuWF2+x4LImocW6vmC0QvoxmD/wag5z4S7BoS/OfQNNv7jC/ttqpZub dx4YVtjh+KLLaENcQA1g4O4SyZT4GOXXNaitKIzhlOOqpXPicbZ04XT7ryUfU95G IIt91o27+joRRbsl4Z4uNXMFE8hW0Hg19/XLxulk2h4O5eFyJmw=
    =vYjL
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wols Lists@21:1/5 to Neil Bothwick on Wed May 11 23:00:01 2022
    On 11/05/2022 19:34, Neil Bothwick wrote:
    On Wed, 11 May 2022 16:45:31 +0000, Laurence Perkins wrote:

    Alternatively, fully update the system before putting in your world
    file, and then instead of copying in the world file all at once just
    run a loop to emerge the lines in it one at a time.

    Now you mention it, that's what I did last time, although my loop emerge
    ten lines at a time to cut down on the number of dependency
    recalculations.


    I seem to remember a harfbuzz loop that was a nightmare to fix ...

    Can't remember what it collided with, but if you can manage to emerge
    that and the other one, that might cure the loop ...

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Francisco Ares@21:1/5 to All on Sun Jun 19 18:30:01 2022
    Good day!

    First of all, sorry for the late reply. I had to attend to a course a
    bit far away from home and it was pretty intense.

    Now, back home, I'll try the suggestions, thanks!

    Just for the sake of preventing a future failure, besides personal
    files (minimum and obvious) the "world" file and the binary packages,
    built along with the package installation, what else should I backup
    so that I would be able to quickly restore the same full working
    Gentoo in a new hardware without having to work from stage3 up? The
    portage tree is one of those items, for sure. But what else?

    Thank you all and a good sunday.
    Francisco

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)