DPKG errors after upgrade to 12.10
- by James Wulfe
So I was doing fine then i upgraded my system to 12.10 and now i cant get my system to update all of its packages properly. no matter what i do, cleaning apt cache, manual install using dpkg, etc, i just cant get them to install. what is happening here and how do i fix this. if i would have thought 12.10 would be this much of a hassle i would have never upgraded..... here is a sampling of the code that returns from "apt-get -f install"
Preparing to replace usb-modeswitch-data 20120120-0ubuntu1 (using .../usb-modeswitch-data_20120815-1_all.deb) ...
/var/lib/dpkg/info/usb-modeswitch-data.prerm: 4: /var/lib/dpkg/info/usb-modeswitch-data.prerm: dpkg-maintscript-helper: Input/output error
dpkg: warning: subprocess old pre-removal script returned error exit status 2
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 4: /var/lib/dpkg/tmp.ci/prerm: dpkg-maintscript-helper: Input/output error
dpkg: error processing /var/cache/apt/archives/usb-modeswitch-data_20120815-1_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 2
/var/lib/dpkg/info/usb-modeswitch-data.postinst: 7: /var/lib/dpkg/info/usb-modeswitch-data.postinst: dpkg-maintscript-helper: Input/output error
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/network-manager_0.9.6.0-0ubuntu7_i386.deb
/var/cache/apt/archives/pcmciautils_018-8_i386.deb
/var/cache/apt/archives/unity-common_6.10.0-0ubuntu2_all.deb
/var/cache/apt/archives/whoopsie_0.2.7_i386.deb
/var/cache/apt/archives/usb-modeswitch_1.2.3+repack0-1ubuntu3_i386.deb
/var/cache/apt/archives/usb-modeswitch-data_20120815-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
It is also just these 6 packages only. no other packages have given me this kind of trouble. well i should say as of now. It was just 5, but them i got an update for unity, and now unity-common is added to the trouble makers. which prevents me from further upgrading the actual unity package as this package is a dependancy.....