Accidentally destroyed /lib/modules directory.

Florian Diesch diesch at spamfence.net
Wed Jun 21 01:14:28 UTC 2006


"Kevin C. Smith" <kevin at linuxsmith.com> wrote:

> Okay. That was a bad move. Don't reboot!
>
> Never done this, but try reinstalling the linux-image package.
> Not the metapackages, but the kernel package itself looks like:
> "linux-image-2.6.15-23-686" or something similar.

Typing in a terminal window
 dpkg -S /lib/modules 
tells you which packages are using /lib/modules.


> I believe synaptic has a "mark package for reinstallation" option.

Together with the command above
 apt-get --reinstall install  the_packages_you_want_to_install_seperated_by_spaces
is a bit faster as you don't have to search for the packages like in
synaptic but just need to copy&paste the package names.


   Florian
-- 
<http://www.florian-diesch.de/>




More information about the ubuntu-users mailing list