Dimitar Toshev wrote:
On Friday 20 January 2006 19:44, Phil Sexton wrote:
Michael A Smith wrote:
Phil Sexton wrote:
Felipe Ribeiro wrote:
Where do I find the list with all installed packages?
Cheers,
Felipe
The ones you emerged are listed in the file:
/var/lib/portage/world
Want it in alphabetical order?
cat /var/lib/portage/world|less
Isn't that a superfluous use of cat? Why not
less /var/lib/portage/world
-Mike
Oops! I was actually thinking:
sort /var/lib/portage/world|less
This gives the listing in alphabetical order, what I previously
posted doesn't alphabetize it.
--
Phil
My Home Page: http://fancypiper.info
Our 2nd CD: http://www.cdbaby.com/naomisfancy
Naomi's Fancy performances:
http://naomisfancy.virtualave.net/schedule.html
No, no. You have gotten it all wrong. /var/lib/portage/world lists only
manually installed packages.
e.g.: If you do not have X installed and do
emerge gnome
X will be pulled in as a dependency, along with a whole lot of other stuff,
but only gnome will be written in world, because that is the package you
manually emerged. This is why in order upgrade your whole system you have to
do emerge -u -D world. -D makes emerge check for the given packages'
dependencies as well. Though this means, that if you have a package
installed, that is not listed in world, nor is a dependency of anything in
world, it will never get picked up by portage. It has been stated, that the
devs will probably implement an "all" keyword in portage, at some point, so
that one can more efficiently check for updates to all packages, instead of
only those in world and their dependencies.
To answer the original question:
Portage keeps information about all emerged pacakges in /var/db/pkg .
<nit-pick>Don't you mean all compiled packages rather than
emerged packages?</nit-pick>
As I understand it, all emerged packages are listed in the world
file, and all packages that are installed and compiled
dependencies are listed in the /var/db/pkg file.
It wasn't completely clear to me which was meant by "installed"
and I took it as the packages installed by emerging them.
--
Phil
My Home Page: http://fancypiper.info
Our 2nd CD: http://www.cdbaby.com/naomisfancy
Naomi's Fancy performances:
http://naomisfancy.virtualave.net/schedule.html
--
gentoo-user@gentoo.org mailing list