I attempted to install the package kubuntu-desktop on my Ubuntu 9.10 system. I then decided I didn't want it so I used
this command to get rid of it. It errored out, the output of which follows.
Code:
Building dependency tree
Reading state information... Done
Package akregator is not installed, so not removed
Package libkdepim4 is not installed, so not removed
Package libkontactinterfaces4 is not installed, so not removed
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
avidemux-plugins: Depends: libqtcore4 (>= 4.5.1) but it is not going to be installed
Depends: libqtgui4 (>= 4.5.1) but it is not going to be installed
gstreamer0.10-plugins-bad: Depends: libmodplug0c2 (>= 1:0.7-4.1) but it is not going to be installed
Depends: libmpcdec3 but it is not going to be installed
libofa0: Depends: libfftw3-3 but it is not going to be installed
libpolkit-gnome0: Depends: libpolkit-dbus2 (>= 0.7) but it is not going to be installed
Depends: libpolkit-grant2 (>= 0.7) but it is not going to be installed
Depends: libpolkit2 (>= 0.7) but it is not going to be installed
mplayer: Depends: libaudio2 but it is not going to be installed
mplayer-nogui: Depends: libaudio2 but it is not going to be installed
pidgin-otr: Depends: libotr2 (>= 3.2.0) but it is not going to be installed
scim: Depends: libscim8c2a (>= 1.4.9) but it is not going to be installed
scim-bridge-agent: Depends: libscim8c2a (>= 1.4.9) but it is not going to be installed
scim-gtk2-immodule: Depends: libscim8c2a (>= 1.4.9) but it is not going to be installed
scim-modules-socket: Depends: libscim8c2a (>= 1.4.9) but it is not going to be installed
wesnoth-data: Depends: ttf-dejavu but it is not going to be installed
wine: Depends: libaudio2 but it is not going to be installed
xscreensaver-data-extra: Depends: libjpeg-progs but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
sudo apt-get -f install also errors out as follows:
Code:
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:
dvgrab libmpeg3cv lives-data libcvaux1 mplayer-skins mplayer akiradnews
libweed0 frei0r-plugins ogmtools libgavl1 icedax libcv1 libhighgui1
libquicktimecv optlibx11-noxcb-data libguicastcv mkvtoolnix
optlibx11-noxcb-6 libebml0 libmatroska0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libkdepim4 libkontactinterfaces4
The following NEW packages will be installed:
libkdepim4 libkontactinterfaces4
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
10 not fully installed or removed.
Need to get 0B/505kB of archives.
After this operation, 1,786kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
E: Invalid archive signature
E: Prior errors apply to /var/cache/apt/archives/libkdepim4_4%3a4.3.2-0ubuntu6_i386.deb
E: Invalid archive signature
E: Prior errors apply to /var/cache/apt/archives/libkontactinterfaces4_4%3a4.3.2-0ubuntu6_i386.deb
debconf: apt-extracttemplates failed: Bad file descriptor
dpkg-deb: `/var/cache/apt/archives/libkdepim4_4%3a4.3.2-0ubuntu6_i386.deb' is not a debian format archive
dpkg: error processing /var/cache/apt/archives/libkdepim4_4%3a4.3.2-0ubuntu6_i386.deb (--unpack):
subprocess dpkg-deb --control returned error exit status 2
dpkg-deb: `/var/cache/apt/archives/libkontactinterfaces4_4%3a4.3.2-0ubuntu6_i386.deb' is not a debian format archive
dpkg: error processing /var/cache/apt/archives/libkontactinterfaces4_4%3a4.3.2-0ubuntu6_i386.deb (--unpack):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libkdepim4_4%3a4.3.2-0ubuntu6_i386.deb
/var/cache/apt/archives/libkontactinterfaces4_4%3a4.3.2-0ubuntu6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can you help me fix the packages and get my system back to normal?
EDIT: apt-get doesn't want to do anything at all until this is fixed.