How to fix "Sub-process /usr/bin/dpkg returned an error code (1)" when installing and upgrading packages?

Posted by soum on Ask Ubuntu See other posts from Ask Ubuntu or by soum
Published on 2012-06-22T02:17:18Z Indexed on 2012/09/27 9:51 UTC
Read the original article Hit count: 254

I am getting this error whenever tring to install or update anything:

"Sub-process /usr/bin/dpkg returned an error code (1)"

I need help, as I cannot install or upgrade any packages on my Ubuntu 11.10 system.

Here is the rest of the error:

unknown argument `triggered'

dpkg: error processing mtools (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for network-manager-pptp-gnome ...
No apport report written because MaxReports is reached already
                                                              postinst called with unknown argument `triggered'
dpkg: error processing network-manager-pptp-gnome (--configure):

subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Processing triggers for network-manager-pptp ...
postinst called with unknown argument `triggered'
dpkg: error processing network-manager-pptp (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Processing triggers for network-manager-gnome ...
/var/lib/dpkg/info/network-manager-gnome.postinst called with unknown argument `triggered'
dpkg: error processing network-manager-gnome (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for network-manager ...
No apport report written because MaxReports is reached already
                                                              /var/lib/dpkg/info/network-manager.postinst called with unknown argument `triggered'
dpkg: error processing network-manager (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Processing triggers for mscompress ...
postinst called with unknown argument `triggered'
dpkg: error processing mscompress (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 netbase
 mtr-tiny
 module-init-tools
 mountmanager
 mono-4.0-gac
 mousetweaks
 mozilla-plugin-vlc
 mtools
 network-manager-pptp-gnome
 network-manager-pptp
 network-manager-gnome
 network-manager
 mscompress
E: Sub-process /usr/bin/dpkg returned an error code (1)

© Ask Ubuntu or respective owner

Related posts about 11.10

Related posts about installation