View previous topic :: View next topic |
Author |
Message |
dextur n00b
Joined: 26 Jul 2003 Posts: 44 Location: Stockholm
|
Posted: Wed Jul 30, 2003 11:09 am Post subject: Removing unwanted packages |
|
|
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 |
|
|
GuidoJ Guru
Joined: 24 Dec 2002 Posts: 444 Location: Netherlands
|
Posted: Wed Jul 30, 2003 12:50 pm Post subject: |
|
|
At least have a look at what gives. In general, be very careful with removing libraries before you rebuild everything with The installed packages might still de dependent on the packages that are selected for removal. |
|
Back to top |
|
|
dextur n00b
Joined: 26 Jul 2003 Posts: 44 Location: Stockholm
|
Posted: Wed Jul 30, 2003 3:20 pm Post subject: |
|
|
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 |
|
|
Proteus Guru
Joined: 14 Jul 2002 Posts: 346 Location: Hamburg, Germany
|
Posted: Thu Jul 31, 2003 6:11 am Post subject: |
|
|
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 |
|
|
|