LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   Question for portage blackbelts- can emerge rebuild a package and all deps? (https://www.linuxquestions.org/questions/gentoo-87/question-for-portage-blackbelts-can-emerge-rebuild-a-package-and-all-deps-855371/)

Phorize 01-10-2011 09:56 AM

Question for portage blackbelts- can emerge rebuild a package and all deps?
 
Hi All,

I have just done :
Code:

emerge xf86-video-ati
Thing is I forgot to put the right use flags for my input devices, so need to rebuild xf86-video-ati and all of its dependencies.

Is there and option for emerge that would enable a rebuild of a package and all dependencies?

All the best,

Kris

Snark1994 01-10-2011 10:25 AM

Code:

emerge --update --deep --newuse world
This searches all your packages and their dependencies for any updates, and also checks if any of them were built with different use flags to your current ones and fixes any problems if they have changed :)

Phorize 01-11-2011 05:02 AM

Quote:

Originally Posted by Snark1994 (Post 4219421)
Code:

emerge --update --deep --newuse world
This searches all your packages and their dependencies for any updates, and also checks if any of them were built with different use flags to your current ones and fixes any problems if they have changed :)

Thanks-thats helped alot.

Oliv' 01-11-2011 10:14 AM

Hello,

Another alternative might be:
Code:

emerge --emptytree package
And if you just want to rebuild runtime dependencies:
Code:

emerge --emptytree --root-deps=rdeps package
Regards,

Oliv'


All times are GMT -5. The time now is 05:16 AM.