can't run synaptic, or apt-get
Hi, I recently downgraded my kernel from an ultimate edition (because it had some problems with the sound in my computer) to the normal one using synaptic and changed the menu.lst file using the following to boot from another kernel.
gksudo gedit /boot/grub/menu.lst
Now when I try to install anything using synaptic or the add/remove application or apt-get y get an error message saying I have to run dpkg --configure -a, when I do that I get the following:
dumpa@ju-cald1:~$ sudo dpkg --configure -a
sudo: unable to resolve host ju-cald1
[sudo] password for dumpa:
Setting up initramfs-tools (0.85eubuntu39.2) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.
Cannot find /lib/modules/
update-initramfs: failed for /boot/initrd.
dpkg: subprocess post-installation script returned error exit status 1
dumpa@ju-cald1:~$
I'm lost over here. I was going to run a new clean ubuntu install but my cdrom is broken.
Any ideas how to fix this, thanks.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- dumpa
- Solved:
- Last query:
- Last reply: