Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Removing unwanted packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dextur
n00b
n00b


Joined: 26 Jul 2003
Posts: 44
Location: Stockholm

PostPosted: Wed Jul 30, 2003 11:09 am    Post subject: Removing unwanted packages Reply with quote

Is there a way...? After getting the software you want installed and in the world file and tweaking USE flags.

"emerge -peuv world" and then remove all installed ebuilds that does not appear in that list.

PS Are there good descriptions of why certain packages are installed and certain USE flags used. That would be very helpful to know what packages that could be removed. DS

Cheers
The guy with the small di*k (disk)
Back to top
View user's profile Send private message
GuidoJ
Guru
Guru


Joined: 24 Dec 2002
Posts: 444
Location: Netherlands

PostPosted: Wed Jul 30, 2003 12:50 pm    Post subject: Reply with quote

At least have a look at what
Code:
emerge -p depclean
gives. In general, be very careful with removing libraries before you rebuild everything with
Code:
emerge -e world
The installed packages might still de dependent on the packages that are selected for removal.
Back to top
View user's profile Send private message
dextur
n00b
n00b


Joined: 26 Jul 2003
Posts: 44
Location: Stockholm

PostPosted: Wed Jul 30, 2003 3:20 pm    Post subject: Reply with quote

I have tried depclean but from what I understand it only removes libraries that is not used by other installed packages.

Or does it clean out everything that has no connection to my world file?
Back to top
View user's profile Send private message
Proteus
Guru
Guru


Joined: 14 Jul 2002
Posts: 346
Location: Hamburg, Germany

PostPosted: Thu Jul 31, 2003 6:11 am    Post subject: Reply with quote

It cleans everything...

Quote:

man emerge:

(...)
depclean
Determines all packages installed on the system that have no explicit reason for being there.
emerge generates a list of packages which it expects to be installed by checking the system package list and the world file. It then compares that list to the list of packages which are actually installed; the differences are listed as unnecessary packages and are suggested for unmerging.

WARNING: Removing some packages may cause packages which link to the removed package to stop working and complain about missing libraries. Re-emerge the complaining package to fix this issue.

Note that changes in USE flags can drastically affect the output of depclean.
(...)

_________________
Greetings,
Proteus
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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