Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

Stuck in @preserved-rebuild


nblind

Question

Hi,

I am stuck with 18 packages that constantly wants to be rebuilt.

emerge -vp @preserved-rebuild

https://dpaste.com/7YPPPM5QU

No mater how many times i run @preserved-rebuild or revdep-rebuild.sh I can not get portage to be satisfied.

I have also rebuilt my whole machine with

emerge -e @world

but portage still wants to rebuild the same 18 packages.

 

Here is the output from emerge --info

https://dpaste.com/BC3D57MSB

 

Does anyone know how I should troubleshot this?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

You may want to start afresh with

emerge --jobs=4 --load-average=2 --emptytree --with-bdeps=y -auDN @world

Worked for me last time I got stuck. ?

Note: takes a long, long time on old(er) hardware! You may want to remove some large packages like the DE (Mate, Gnome, KDE) as well as mesa, xorg and similar to speed up the process.

Link to comment
Share on other sites

  • 0

Thank you for your reply.

But a rebuild does not seem to help. I already earlier did a complete @world rebuild with --emptytree, -e.

I have distcc set up, so it "only" takes about one day ?

emerge -ep @world | genlop -p
Estimated update time: 1 day, 15 hours, 42 minutes.
Link to comment
Share on other sites

  • 0

Reference /var/lib/portage/preserved_libs_registry or the output from  "portageq list_preserved_libs /"

Examine the list, it's possible more than one package could be linked to the same preserved lib.

Move or rename the preserved libs rather than deleting.  

Use revdep-rebuild to install the updated lib package if needed and rebuild/link target packages previously linked to the now hidden preserved libs. 

Repeat until all packages are linked to the updated installed libs.

 

 

 

 

 

Edited by cardinal
More info.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...