Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to unmerge cleanly?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
NullDevice
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2005
Posts: 84

PostPosted: Thu Jul 21, 2005 9:13 am    Post subject: How to unmerge cleanly? Reply with quote

hi,

The emerge manpage says, that unemerge doesn't care much about dependencies.
How do you all unmerge cleanly? Are you using revdep afterwards?
_________________
MfG,
NullDevice
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2584
Location: userland

PostPosted: Thu Jul 21, 2005 9:20 am    Post subject: Reply with quote

You can get rid of unneeded dependencies like this:
Code:
emerge depclean -p

to preview the packages you will remove (don't skip this) and finally
Code:
emerge depclean
Back to top
View user's profile Send private message
nichocouk
Guru
Guru


Joined: 10 Mar 2005
Posts: 585
Location: Glasgow

PostPosted: Thu Jul 21, 2005 9:26 am    Post subject: Reply with quote

Yes, and after the emerge depclean stage, you can do
Code:
revdep-rebuild -pv

to see if something needs to be reinstalled. If you have packages in your /opt/ directory it will always try to rebuild them (unless you change some parameter in the configuration of revdep-rebuild), hence the -p option.
If you reckon you need to rebuild them then just launch it with
Code:
revdep-rebuild

_________________
nichocouk

L'Etat, c'est moi.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4920
Location: Gothenburg, Sweden

PostPosted: Thu Jul 21, 2005 9:31 am    Post subject: Reply with quote

Quite a few threads on this subject already, such as

https://forums.gentoo.org/viewtopic-t-350585-highlight-unmerge+depclean.html
https://forums.gentoo.org/viewtopic-t-347415-highlight-unmerge+depclean.html
https://forums.gentoo.org/viewtopic-t-325064-highlight-unmerge+depclean.html

Moved from Portage & Programming to Duplicate Threads.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum