Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/usr/portage/current-packages content
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Egil
n00b
n00b


Joined: 16 May 2002
Posts: 12
Location: Milwaukee, WI

PostPosted: Fri May 31, 2002 4:49 pm    Post subject: /usr/portage/current-packages content Reply with quote

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
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Fri May 31, 2002 5:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
chadh
Moderator
Moderator


Joined: 21 Apr 2002
Posts: 137
Location: Atlanta, GA

PostPosted: Sat Jun 01, 2002 6:27 pm    Post subject: Reply with quote

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
Code:
emerge search .*

_________________
Chad
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum