View Single Post

   
  #1 (permalink)  
Old 02-21-2008, 05:08 AM
Toby Fisher
 
Posts: n/a
Default Couple of portage questions.

I've been using Gentooo for about a month now and am really, really
impressed. I just have a couple of questions, things that maybe I've
missed.

1. Where can I find the files with the package descs in them? The reason
I ask, I'm sure it must be faster to search them using the find command
than the the emerge -S option, which seems to take about 10 minutes, and
also it'd be handty to be able to look at the desc of a package when
deciding whether or not to emerge it.

2. Is there an easy wway either to get a list of files in a package, or
to find out which package a file belongs to? This was a nice piece of
functionality in Slackware where, if you were wanting to know which
package foobar.txt belonged to, you could just issue the command:
grep 'foobar.txt' /var/log/packages/*

And assuming you'd installed the relevant package using pkgtool or
installpkg you would immediately find out which package it was in, because
each package had it's own file containing a list of files and a
description of the package.

Thanks in advance.


--
Toby Fisher Email: toby@tjfisher.co.uk
Tel.: +44(0)1480 417272 Mobile: +44(0)7974 363239
ICQ: #61744808
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

Reply With Quote