Deleted all the files from /usr/lib/apache2/modules directory!

Cameron Hutchison lists at xdna.net
Sun Aug 8 23:02:21 UTC 2010


"Robert P. J. Day" <rpjday at crashcourse.ca> writes:

>  on my current 10.04 system, i checked:

>$ dpkg -S /usr/lib/apache2/modules/*
>[...]

This wont work if there are no files in /usr/lib/apache2/modules.

What you can do is:

$ dpkg -S /usr/lib/apache2/modules

This will list all the packages on your system that include the
directory /usr/lib/apache2/modules.

For instance, on my system:

$ dpkg -S /usr/lib/apache2/modules
apache2.2-bin, libapache2-mod-dnssd: /usr/lib/apache2/modules

The output is a little shorter :-) and simpler to read. Re-installing
those two packages on my system would restore the contents of
/usr/lib/apache2/modules





More information about the ubuntu-users mailing list