walkman79
July 23rd, 2008, 08:27 PM
Hello, I hope someone help me with this problem.
I have rented a server from OVH.com, a kimsufi with Ubuntu 8.0.4 LTS as the OS. Every thing was fine till I tried to update the system. Now, apt-get doesn't work at all:
$ sudo apt-get upgrade
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
Neither Synaptic or the Update Manager :(. I can't install any program unless I do it manually of course. Every time I want to use any of the package/update manager I get this:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
But if I run that command:
$ sudo dpkg --configure -a
Setting up initramfs-tools (0.85eubuntu39.1) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.24-16-generic
Cannot find /lib/modules/2.6.24-16-generic
update-initramfs: failed for /boot/initrd.img-2.6.24-16-generic
dpkg: subprocess post-installation script returned error exit status 1
I looked into that folder and I actually don't have "/lib/modules/2.6.24-16-generic":
$ ls -la /lib/modules/
total 12
drwxr-xr-x 3 root root 4096 2008-06-03 08:27 .
drwxr-xr-x 15 root root 4096 2008-07-24 01:31 ..
drwxr-xr-x 2 root root 4096 2008-06-03 08:27 2.6.24-17-generic
Btw, I don't have GRUB installed, I don't have physical access to the server, and as I said apt-get doesn't work at all.
Could anyone please tell me how to fix this ?
Any help would be greatly appreciated.
I have rented a server from OVH.com, a kimsufi with Ubuntu 8.0.4 LTS as the OS. Every thing was fine till I tried to update the system. Now, apt-get doesn't work at all:
$ sudo apt-get upgrade
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
Neither Synaptic or the Update Manager :(. I can't install any program unless I do it manually of course. Every time I want to use any of the package/update manager I get this:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
But if I run that command:
$ sudo dpkg --configure -a
Setting up initramfs-tools (0.85eubuntu39.1) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.24-16-generic
Cannot find /lib/modules/2.6.24-16-generic
update-initramfs: failed for /boot/initrd.img-2.6.24-16-generic
dpkg: subprocess post-installation script returned error exit status 1
I looked into that folder and I actually don't have "/lib/modules/2.6.24-16-generic":
$ ls -la /lib/modules/
total 12
drwxr-xr-x 3 root root 4096 2008-06-03 08:27 .
drwxr-xr-x 15 root root 4096 2008-07-24 01:31 ..
drwxr-xr-x 2 root root 4096 2008-06-03 08:27 2.6.24-17-generic
Btw, I don't have GRUB installed, I don't have physical access to the server, and as I said apt-get doesn't work at all.
Could anyone please tell me how to fix this ?
Any help would be greatly appreciated.