E: Sub-process /usr/bin/dpkg returned an error code (1)
I seem to have encountered problems with the software-center, and the general removal, or installation of packages, even through synaptic package manager. And I am often getting system error messages
When I try to sudo apt-get update/upgrade I often get errors, and if I try to re-install the software-center it fails with the error
"Errors were encountered while processing: /var/cache/apt/archives/software-center_5.2.7_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)" I am completely stuck on what to do, I've tried sudo apt-get purge software-center and others and none seem to work.
This is the full output of "sudo apt-get install -f software-center"
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
software-center
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/625 kB of archives.
After this operation, 4,395 kB of additional disk space will be used.
(Reading database ... 278736 files and directories currently installed.)
Unpacking software-center (from .../software-center_5.2.7_all.deb) ...
dpkg: error processing /var/cache/apt/archives/software-center_5.2.7_all.deb (--unpack):
trying to overwrite '/usr/share/app-install/channels', which is also in package app-install-data-partner 12.12.04.1
No apport report written because MaxReports has already been reached
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
/var/cache/apt/archives/software-center_5.2.7_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I am running ubuntu 12.04 32bit
All Help Appreciated
Last edited by Spyderkid; January 26th, 2013 at 03:03 PM.
'The storm had now definitely abated, and what thunder there was now grumbled over more distant hills, like a man saying "AND ANOTHER THING!" twenty minutes after admitting he's lost the argument'
-Douglas Adams
Bookmarks