View previous topic :: View next topic |
Author |
Message |
Egil n00b
Joined: 16 May 2002 Posts: 12 Location: Milwaukee, WI
|
Posted: Fri May 31, 2002 4:49 pm Post subject: /usr/portage/current-packages content |
|
|
I have spent the last week searching and reading the Forums for information about the content of the currnet-packages file. Specifically, what I was after is the meaning of the following:
- "#"
- "#!"
- Other codes that I do not remember off the top of my head. (I am at work and not in front of the Linux box.) (*shrug*)
I figure that the first two are comments. Do they mean that a package is installed but something is wrong with it or what?
Where can I find that information. I am a newbie and have not had a chance to dig into the emerge package to see if the answer is in there.
Thank You. |
|
Back to top |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Fri May 31, 2002 5:05 pm Post subject: |
|
|
I don't know its use but its a more general file maybe obsolete (very old stuff in it). Look at the date its from 2001/09/16 and I re-installed gentoo just a few days ago.
the information (for emerge) is in /var/db/pkg. emerge gentoolkit has some nice tools where you can do some queries. qpkg for example gives the list of installed packages, qpkg -f /usr/.../<file> gives the package which owns the file, well you get my drift.
Cya lX _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
|
chadh Moderator
Joined: 21 Apr 2002 Posts: 137 Location: Atlanta, GA
|
Posted: Sat Jun 01, 2002 6:27 pm Post subject: |
|
|
That's right. The current-packages file is not really used for anything. I don't really know that it was ever used, but it was probably just the output of a find command. The best way to get a list of all packages is
_________________ Chad |
|
Back to top |
|
|
|