How to find out what packages are available?
Derek Broughton
news at pointerstop.ca
Sun Jun 3 15:02:06 UTC 2007
Jan Sneep wrote:
>> -----Original Message-----
>> From: ubuntu-users-bounces at lists.ubuntu.com
>> [mailto:ubuntu-users-bounces at lists.ubuntu.com]On Behalf Of
>> Peter Garrett
>> Sent: June 2, 2007 10:08 AM
>> To: ubuntu-users at lists.ubuntu.com
>> Subject: Re: How to find out what packages are available?
>>
>
> [snip]
>
>> $ apt-file search workers.properties
>> libapache-mod-jk: etc/libapache-mod-jk/workers.properties
>> libapache2-mod-jk: etc/libapache2-mod-jk/workers.properties
>>
>>
>> sudo apt-get install apt-file && sudo apt-file update
>>
>> apt-file search workers.properties
>
> I did the;
>
> sudo apt-get install apt-file
>
> which seemed to work just fine ... and then I did;
>
> sudo apt-file update
Don't know what that does, but you're on the wrong track. You don't
actually need apt-file on your system - it's just a way to get the
information you were asking for, and there are many others.
>
> I'm assuming that after a successful search I would do something like;
>
> sudo apt-file install workers.properties
>
> to actually install the file or get a copy of it?
Definitely not!
IF you have libapache*-mod-jk installed,
then /etc/libapache*-mod-jk/workers.properties will exist. If it doesn't,
your package isn't properly installed.
--
derek
More information about the ubuntu-users
mailing list