Re: [bitfolk] Apache problems

Αρχική Σελίδα

Reply to this message
Συντάκτης: Andy Smith
Ημερομηνία:  
Προς: users
Αντικείμενο: Re: [bitfolk] Apache problems
Hi Keith,

On Wed, Jul 07, 2010 at 03:44:50PM +0100, Keith Williams wrote:
> Where I had gone wrong previously was that I had initially installed apache2
> and so just did a aptitude purge apache2 not each individual package
> seperately.


You can find out which package owns a given file in the filesystem
using:

$ dpkg -S /etc/init.d/apache2
apache2.2-common: /etc/init.d/apache2

or:

$ apt-file search /etc/init.d/apache2
apache2.2-common: /etc/init.d/apache2

(dpkg is only going to work with packages you have ever installed)

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting