Tugger the SLUGger!SLUG Mailing List Archives

RE: [SLUG] List of available packages : Debian

A long similar lines, I have just installed my first Debian install

with redhat you could query the db to see what package a file belonged to

rpm -qf /etc/sendmail.cf

is there a similar tool under Debian

Also how do I go about changing the hostname of the machine, including the

Can I just change the /etc/hostname or should that only be the hostname part
or do I change /etc/hosts


-----Original Message-----
From: slug-admin@xxxxxxxxxxx [mailto:slug-admin@xxxxxxxxxxx]On Behalf Of
Erik de Castro Lopo
Sent: Saturday, 1 June 2002 9:11 AM
To: slug@xxxxxxxxxxx
Subject: Re: [SLUG] List of available packages : debian

On Sat, 1 Jun 2002 09:07:38 +1000
"ramon buckland" <ramon@xxxxxxxxxxxxxxx> wrote:

> Hi peoples,
> Is there a way ( and I assume so. ) to browse the list of
> the available packages in Debian (from the /var/lib/dpkg/available)
> Without doing my current method of 'less /var/lib/dpkg/available' :-)
> I thinking of maybe a search/query tool in maybe console and or X
> format.

apt-cache search XXXXX

Where XXXX is a keyword.

  Erik de Castro Lopo  nospam@xxxxxxxxxxxxx (Yes it's valid)
Java : A language from the C family of languages. It has all the bad
features of C++ but without the most powerful feature of C, pointers.
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug