I am having the same type of issue. Confused on how to fix this or if I can even fix it.
Code:
root@bt:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-image: Depends: linux-image-2.6.34 but it is not installed
E: Unmet dependencies. Try using -f.
root@bt:~#
Then when I do apt-get dist-upgrade -f
Code:
You are attempting to install a kernel image (version 2.6.34) However, the directory /lib/modules/2.6.34/kernel still exists. If this directory belongs to a previous linux-image-2.6.34 package, and if you have deselected some modules, or installed standalone modules packages, this could be bad. If /lib/modules/2.6.34/kernel belongs to a old install of linux-image-2.6.34, then this is your last chance to abort the installation of this kernel image (nothing has been changed yet). If you know what you are doing, and if you feel that this image should be installed despite this anomaly, Please answer n to the question. Otherwise, I suggest you move /lib/modules/2.6.34/kernel out of the way, perhaps to /lib/modules/2.6.34.kernel.old or something, and then try re-installing this image. Stop install since the kernel-image is already installed?
I click No and it does this:
Code:
root@bt:~# apt-get dist-upgrade -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Calculating upgrade... Done
The following NEW packages will be installed:
linux-image-2.6.34
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
174 not fully installed or removed.
Need to get 0B/16.8MB of archives.
After this operation, 55.3MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 263257 files and directories currently installed.)
Unpacking linux-image-2.6.34 (from .../linux-image-2.6.34_2.6.34-10.00.Custom-bt6_i386.deb) ...
Done.
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.34_2.6.34-10.00.Custom-bt6_i386.deb (--unpack):
trying to overwrite `/lib/firmware', which is also in package udev
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... found: /boot/grub/splash.xpm.gz
Found kernel: /boot/vmlinuz-2.6.30.9
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-2.6.34_2.6.34-10.00.Custom-bt6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@bt:~#