As you would expect, `apt-get -f install` cannot remedy the situation:
root@thiruvat-ubu:/home/thiruvat# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-2.6.22-12-generic linux-headers-2.6.22-12
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
kdepimlibs5
The following packages will be upgraded:
kdepimlibs5
1 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
144 not fully installed or removed.
Need to get 0B/18.4MB of archives.
After unpacking 3809kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 335831 files and directories currently installed.)
Preparing to replace kdepimlibs5 3.93.0-0ubuntu1 (using .../kdepimlibs5_3.94.0-0ubuntu1_i386.deb) ...
Unpacking replacement kdepimlibs5 ...
dpkg: error processing /var/cache/apt/archives/kdepimlibs5_3.94.0-0ubuntu1_i386.deb (--unpack):
trying to overwrite `/usr/lib/kde4/lib/kde4/kio_ldap.so', which is also in package kde4base
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/kdepimlibs5_3.94.0-0ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
As you would expect, `apt-get -f install` cannot remedy the situation:
root@thiruvat- ubu:/home/ thiruvat# apt-get -f install headers- 2.6.22- 12-generic linux-headers- 2.6.22- 12 _3.94.0- 0ubuntu1_ i386.deb) ... apt/archives/ kdepimlibs5_ 3.94.0- 0ubuntu1_ i386.deb (--unpack): kde4/lib/ kde4/kio_ ldap.so' , which is also in package kde4base apt/archives/ kdepimlibs5_ 3.94.0- 0ubuntu1_ i386.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
kdepimlibs5
The following packages will be upgraded:
kdepimlibs5
1 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
144 not fully installed or removed.
Need to get 0B/18.4MB of archives.
After unpacking 3809kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 335831 files and directories currently installed.)
Preparing to replace kdepimlibs5 3.93.0-0ubuntu1 (using .../kdepimlibs5
Unpacking replacement kdepimlibs5 ...
dpkg: error processing /var/cache/
trying to overwrite `/usr/lib/
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)