Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] couple of newbie questions about emerge
Date: Sun, 07 Jan 2007 14:53:59
Message-Id: 20070107144941.6232c536@krikkit.digimed.co.uk
In Reply to: [gentoo-user] couple of newbie questions about emerge by John covici
1 On Sun, 7 Jan 2007 03:21:14 -0500, John covici wrote:
2
3 > 1) Any way to get a package list as one line per package like
4 > debian's dpkg -l or rpm's rpm -qa ? The --info gives info about
5 > the system, but does not seem to give a list of packages.
6
7 equery, as already mentioned, or eix with the -i and -c options.
8
9 > 2) How do I ensure that all dependencies of a package are updated --
10 > does --update --deep do this and would --update --deep world or
11 > system do this?
12
13 Lets say A depends on B which in turn depends on C. emerge --update world
14 will update A and B, but not C unless A or B's updates REQUIRE a layer C.
15 Adding --deep will update C too (and D,E,F...)
16
17 > 3) Where are the packages listed for system? For instance I
18 > installed coldplug and it installed pciutils, but that package is
19 > not listed in world -- should it be? Or is it a system package?
20
21 In your profile. the easiest way to list them is with "emerge -ep system".
22
23 Emerging coldplug added it to your world file (/var/lib/portage/world).
24 pciutils was installed as a dependency, so it is not listed in world (or
25 system). If you uninstall coldplug (and any other packages depending on
26 pciutils) emerge --depclean will remove pciutils , always use the -p
27 option with depclean first.
28
29
30 --
31 Neil Bothwick
32
33 Did you hear about the blind prostitute? You have to hand it to her.

Attachments

File name MIME type
signature.asc application/pgp-signature