[Bug 1694916] Re: package apport 2.20.4-0ubuntu4 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
Launchpad Bug Tracker
1694916 at bugs.launchpad.net
Fri Jul 28 01:18:00 UTC 2017
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: apport (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1694916
Title:
package apport 2.20.4-0ubuntu4 failed to install/upgrade: subprocess
new pre-removal script returned error exit status 1
Status in apport package in Ubuntu:
Confirmed
Bug description:
Issues updating apport:
sudo dpkg --configure -a
dpkg: error processing package apport (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
Errors were encountered while processing:
apport
ssr at PC3248 ~/gdrive-local/mgmt/admin/info $ sudo apt-get install apport
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
apport
1 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.
1 not fully installed or removed.
Need to get 0 B/121 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 430429 files and directories currently installed.)
Preparing to unpack .../apport_2.20.4-0ubuntu4.1_all.deb ...
File "/usr/bin/pyclean", line 63
except (IOError, OSError), e:
^
SyntaxError: invalid syntax
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
File "/usr/bin/pyclean", line 63
except (IOError, OSError), e:
^
SyntaxError: invalid syntax
dpkg: error processing archive /var/cache/apt/archives/apport_2.20.4-0ubuntu4.1_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in <module>
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 24, in <module>
from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
*** Error in `/usr/bin/dpkg': munmap_chunk(): invalid pointer: 0x000056449feb52e8 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7ff8ca09608b]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x1f8)[0x7ff8ca0a32d8]
/usr/bin/dpkg(+0x20cd0)[0x56449dd54cd0]
/usr/bin/dpkg(+0x21119)[0x56449dd55119]
/usr/bin/dpkg(+0x283cd)[0x56449dd5c3cd]
/usr/bin/dpkg(+0x17737)[0x56449dd4b737]
/usr/bin/dpkg(+0x17915)[0x56449dd4b915]
/usr/bin/dpkg(+0x17b5d)[0x56449dd4bb5d]
/usr/bin/dpkg(+0xaed7)[0x56449dd3eed7]
/usr/bin/dpkg(+0x20c0b)[0x56449dd54c0b]
/usr/bin/dpkg(+0x20e01)[0x56449dd54e01]
/usr/bin/dpkg(+0xa962)[0x56449dd3e962]
/usr/bin/dpkg(+0x72fd)[0x56449dd3b2fd]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7ff8ca03d3f1]
/usr/bin/dpkg(+0x743a)[0x56449dd3b43a]
======= Memory map: ========
56449dd34000-56449dd79000 r-xp 00000000 fd:00 4718628 /usr/bin/dpkg
56449df79000-56449df7c000 r--p 00045000 fd:00 4718628 /usr/bin/dpkg
56449df7c000-56449df7d000 rw-p 00048000 fd:00 4718628 /usr/bin/dpkg
56449df7d000-56449e191000 rw-p 00000000 00:00 0
56449f790000-5644a454c000 rw-p 00000000 00:00 0 [heap]
7ff8c8879000-7ff8c888f000 r-xp 00000000 fd:00 6816526 /lib/x86_64-linux-gnu/libgcc_s.so.1
7ff8c888f000-7ff8c8a8e000 ---p 00016000 fd:00 6816526 /lib/x86_64-linux-gnu/libgcc_s.so.1
7ff8c8a8e000-7ff8c8a8f000 r--p 00015000 fd:00 6816526 /lib/x86_64-linux-gnu/libgcc_s.so.1
7ff8c8a8f000-7ff8c8a90000 rw-p 00016000 fd:00 6816526 /lib/x86_64-linux-gnu/libgcc_s.so.1
7ff8c8a90000-7ff8c8e1c000 rw-p 00000000 00:00 0
7ff8c8e1c000-7ff8c8e27000 r-xp 00000000 fd:00 6817463 /lib/x86_64-linux-gnu/libnss_files-2.24.so
7ff8c8e27000-7ff8c9026000 ---p 0000b000 fd:00 6817463 /lib/x86_64-linux-gnu/libnss_files-2.24.so
7ff8c9026000-7ff8c9027000 r--p 0000a000 fd:00 6817463 /lib/x86_64-linux-gnu/libnss_files-2.24.so
7ff8c9027000-7ff8c9028000 rw-p 0000b000 fd:00 6817463 /lib/x86_64-linux-gnu/libnss_files-2.24.so
7ff8c9028000-7ff8c902e000 rw-p 00000000 00:00 0
7ff8c902e000-7ff8c9039000 r-xp 00000000 fd:00 6817465 /lib/x86_64-linux-gnu/libnss_nis-2.24.so
7ff8c9039000-7ff8c9238000 ---p 0000b000 fd:00 6817465 /lib/x86_64-linux-gnu/libnss_nis-2.24.so
7ff8c9238000-7ff8c9239000 r--p 0000a000 fd:00 6817465 /lib/x86_64-linux-gnu/libnss_nis-2.24.so
7ff8c9239000-7ff8c923a000 rw-p 0000b000 fd:00 6817465 /lib/x86_64-linux-gnu/libnss_nis-2.24.so
7ff8c923a000-7ff8c9250000 r-xp 00000000 fd:00 6817460 /lib/x86_64-linux-gnu/libnsl-2.24.so
7ff8c9250000-7ff8c944f000 ---p 00016000 fd:00 6817460 /lib/x86_64-linux-gnu/libnsl-2.24.so
7ff8c944f000-7ff8c9450000 r--p 00015000 fd:00 6817460 /lib/x86_64-linux-gnu/libnsl-2.24.so
7ff8c9450000-7ff8c9451000 rw-p 00016000 fd:00 6817460 /lib/x86_64-linux-gnu/libnsl-2.24.so
7ff8c9451000-7ff8c9453000 rw-p 00000000 00:00 0
7ff8c9453000-7ff8c945b000 r-xp 00000000 fd:00 6817461 /lib/x86_64-linux-gnu/libnss_compat-2.24.so
7ff8c945b000-7ff8c965a000 ---p 00008000 fd:00 6817461 /lib/x86_64-linux-gnu/libnss_compat-2.24.so
7ff8c965a000-7ff8c965b000 r--p 00007000 fd:00 6817461 /lib/x86_64-linux-gnu/libnss_compat-2.24.so
7ff8c965b000-7ff8c965c000 rw-p 00008000 fd:00 6817461 /lib/x86_64-linux-gnu/libnss_compat-2.24.so
7ff8c965c000-7ff8c9988000 r--p 00000000 fd:00 4720172 /usr/lib/locale/locale-archive
7ff8c9988000-7ff8c99a0000 r-xp 00000000 fd:00 6817468 /lib/x86_64-linux-gnu/libpthread-2.24.so
7ff8c99a0000-7ff8c9ba0000 ---p 00018000 fd:00 6817468 /lib/x86_64-linux-gnu/libpthread-2.24.so
7ff8c9ba0000-7ff8c9ba1000 r--p 00018000 fd:00 6817468 /lib/x86_64-linux-gnu/libpthread-2.24.so
7ff8c9ba1000-7ff8c9ba2000 rw-p 00019000 fd:00 6817468 /lib/x86_64-linux-gnu/libpthread-2.24.so
7ff8c9ba2000-7ff8c9ba6000 rw-p 00000000 00:00 0
7ff8c9ba6000-7ff8c9ba9000 r-xp 00000000 fd:00 6817456 /lib/x86_64-linux-gnu/libdl-2.24.so
7ff8c9ba9000-7ff8c9da8000 ---p 00003000 fd:00 6817456 /lib/x86_64-linux-gnu/libdl-2.24.so
7ff8c9da8000-7ff8c9da9000 r--p 00002000 fd:00 6817456 /lib/x86_64-linux-gnu/libdl-2.24.so
7ff8c9da9000-7ff8c9daa000 rw-p 00003000 fd:00 6817456 /lib/x86_64-linux-gnu/libdl-2.24.so
7ff8c9daa000-7ff8c9e1c000 r-xp 00000000 fd:00 6816523 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
7ff8c9e1c000-7ff8ca01b000 ---p 00072000 fd:00 6816523 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
7ff8ca01b000-7ff8ca01c000 r--p 00071000 fd:00 6816523 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
7ff8ca01c000-7ff8ca01d000 rw-p 00072000 fd:00 6816523 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
7ff8ca01d000-7ff8ca1da000 r-xp 00000000 fd:00 6817453 /lib/x86_64-linux-gnu/libc-2.24.so
7ff8ca1da000-7ff8ca3da000 ---p 001bd000 fd:00 6817453 /lib/x86_64-linux-gnu/libc-2.24.so
7ff8ca3da000-7ff8ca3de000 r--p 001bd000 fd:00 6817453 /lib/x86_64-linux-gnu/libc-2.24.so
7ff8ca3de000-7ff8ca3e0000 rw-p 001c1000 fd:00 6817453 /lib/x86_64-linux-gnu/libc-2.24.so
7ff8ca3e0000-7ff8ca3e4000 rw-p 00000000 00:00 0
7ff8ca3e4000-7ff8ca409000 r-xp 00000000 fd:00 6816525 /lib/x86_64-linux-gnu/libselinux.so.1
7ff8ca409000-7ff8ca608000 ---p 00025000 fd:00 6816525 /lib/x86_64-linux-gnu/libselinux.so.1
7ff8ca608000-7ff8ca609000 r--p 00024000 fd:00 6816525 /lib/x86_64-linux-gnu/libselinux.so.1
7ff8ca609000-7ff8ca60a000 rw-p 00025000 fd:00 6816525 /lib/x86_64-linux-gnu/libselinux.so.1
7ff8ca60a000-7ff8ca60c000 rw-p 00000000 00:00 0
7ff8ca60c000-7ff8ca631000 r-xp 00000000 fd:00 6817232 /lib/x86_64-linux-gnu/ld-2.24.so
7ff8ca80a000-7ff8ca80c000 rw-p 00000000 00:00 0
7ff8ca82d000-7ff8ca831000 rw-p 00000000 00:00 0
7ff8ca831000-7ff8ca832000 r--p 00025000 fd:00 6817232 /lib/x86_64-linux-gnu/ld-2.24.so
7ff8ca832000-7ff8ca833000 rw-p 00026000 fd:00 6817232 /lib/x86_64-linux-gnu/ld-2.24.so
7ff8ca833000-7ff8ca834000 rw-p 00000000 00:00 0
7ffcc221b000-7ffcc223c000 rw-p 00000000 00:00 0 [stack]
7ffcc22ee000-7ffcc22f0000 r--p 00000000 00:00 0 [vvar]
7ffcc22f0000-7ffcc22f2000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
E: Sub-process /usr/bin/dpkg exited unexpectedly
ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: apport 2.20.4-0ubuntu4
ProcVersionSignature: Ubuntu 4.10.0-21.23-generic 4.10.11
Uname: Linux 4.10.0-21-generic x86_64
ApportLog:
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
Date: Mon May 29 08:57:55 2017
ErrorMessage: subprocess new pre-removal script returned error exit status 1
InstallationDate: Installed on 2017-02-26 (94 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
PackageArchitecture: all
RelatedPackageVersions:
dpkg 1.18.10ubuntu2
apt 1.4
SourcePackage: apport
Title: package apport 2.20.4-0ubuntu4 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
UpgradeStatus: Upgraded to zesty on 2017-04-17 (44 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1694916/+subscriptions
More information about the foundations-bugs
mailing list