LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 01-10-2011, 09:56 AM   #1
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Rep: Reputation: 29
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
 
Old 01-10-2011, 10:25 AM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
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
 
1 members found this post helpful.
Old 01-11-2011, 05:02 AM   #3
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Original Poster
Rep: Reputation: 29
Smile

Quote:
Originally Posted by Snark1994 View Post
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.
 
Old 01-11-2011, 10:14 AM   #4
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
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'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Graphical Portage/Emerge GUI (Gentoo) BuckRogers01 Gentoo 37 06-03-2008 08:49 AM
emerge portage stopped in the middle secretlydead Linux - Distributions 2 06-27-2007 07:40 PM
emerge sync (update portage) flebber Linux - Software 10 03-20-2006 06:38 PM
Mandrake and emerge / portage Zwisel Linux - Distributions 9 12-20-2004 08:44 PM
No emerge, no portage, no nothing... KFM Linux - Distributions 3 10-09-2004 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 06:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration