Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > Dependencies
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 8th June 17:26
pupeno
External User
 
Posts: 1
Default Dependencies



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

After some time of using gentoo, I've installed a lot of applications. A lot
that where needed only once, or that I just tested or something like that.
I'd like to get rid of all those applications (to save HD, to have a cleaner
system, to make recompiling the whole system faster, if I ever do it).
Doing this clean is proving to be very hard on Gentoo while it is very easy on
other distributions, I just go package by package seeing if it is something I
know I need, if it isn't, I see if it is needed by something I need, checking
which packages depend on it.
How can I do it on Gentoo ?
I see that qpkg -q X, is supoused to list which packages depend on X, but it's
TERRIBLE slow. It takes minutes!
Any comands that can make it faster or help me in any way ?
Thanks.
- --
Pupeno: pupeno@pupeno.com - http://www.pupeno.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBa38cfW48a9PWGkURAoILAJ0YWEY93o3aEtjvdM3Y9Q hfkm2vtwCgjBlb
7Ocg8bKOLYUqVWN38KcN8kY=
=jKuL
-----END PGP SIGNATURE-----

--
gentoo-user@gentoo.org mailing list
  Reply With Quote


  sponsored links


2 8th June 17:26
neil bothwick
External User
 
Posts: 1
Default Dependencies



Use qpkg -q -I to only check installed packages. Or use "emerge depclean
-p" to list and clean out unused dependencies. It is advisable to run
revdep-rebuild after a cleanup session.


--
Neil Bothwick

"Bother," said Pooh, when he found Tigger stoned on his hash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBa4Qdum4al0N1GQMRAgvQAJ9sIRCDx//BuhRh0NCoeayghixkQQCgyiG+
Zu1Kx0mVHgnAiBpxnfGmYWc=
=wOMU
-----END PGP SIGNATURE-----
  Reply With Quote
3 8th June 17:26
thomas matthijs
External User
 
Posts: 1
Default Dependencies


Best way i can think of is:
remove everything you don't want from your world file
(/var/lib/portage/world)
then emerge depclean
Now depending on how mutch you change USE flags things can and will be
broken
so you want to run revdep-rebuild (from gentoolkit package)
and emerge --update --deep --newuse world (to remerge package that have
changed use flags)
(not necesarily in this order.)

(assumes portage 2.0.51+)

--
Thomas Matthijs (axxo,knu,keanu)
jabber: axxo[at]amessage[dot]be
GPG Key-ID: 0x682A3231

--
gentoo-user@gentoo.org mailing list
  Reply With Quote
4 9th June 13:34
thomas kirchner
External User
 
Posts: 1
Default Dependencies


There's a tool for just this job, called dep, written by ecatmur from the forums. It's an amazing little tool. You can check dependencies, virtuals, redundancies in your world file, etc. and it's quite fast.
http://home.jesus.ox.ac.uk/~ecatmur/my-bin/dep
There are a lot of other good scripts in his my-bin directory if you're interested.
Tom

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBbEb//rVdTqQq7OwRAmBXAJ4oOKyJvrRSvwKHc5K7o7A3haUN/QCdFIAJ
oUIM0LhCI8op/XmKca5wBgc=
=/fG+
-----END PGP SIGNATURE-----
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666