[Bug 1704038] [NEW] upgrade problem when remove the python in a wrong way.
tom85
1704038 at bugs.launchpad.net
Thu Jul 13 03:09:16 UTC 2017
Public bug reported:
when I uninstall the python unexpectedly, my ubuntu 17.04 got so many
mistake when using
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libgdf-dev libgdf0 liblua5.1-0-dev libreadline-dev libtinfo-dev libtool-bin
linux-headers-4.10.0-19 linux-headers-4.10.0-19-generic
linux-headers-4.10.0-21 linux-headers-4.10.0-21-generic
linux-headers-4.10.0-22 linux-headers-4.10.0-22-generic lua-any lua-sec
lua-socket lua5.1
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
apport apport-gtk bsdutils chromium-codecs-ffmpeg-extra
flashplugin-installer gnome-software gnome-software-common
gnome-software-plugin-snap intel-microcode libblkid1 libepoxy0 libfdisk1
libgcrypt20 libgweather-3-6 libgweather-common libmount1 libpoppler-glib8
libpoppler64 libsmartcols1 libuuid1 libwbclient0 mount nplan poppler-utils
python-problem-report python3-apport python3-problem-report thunderbird
thunderbird-gnome-support thunderbird-locale-zh-cn
thunderbird-locale-zh-hans ubuntu-software util-linux uuid-runtime
34 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
51 not fully installed or removed.
Need to get 51.1 MB of archives.
After this operation, 753 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 python-problem-report all 2.20.4-0ubuntu4.4 [9,864 B]
Get:2 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 bsdutils amd64 1:2.29-1ubuntu2.1 [55.4 kB]
Get:3 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 util-linux amd64 2.29-1ubuntu2.1 [913 kB]
Get:4 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 mount amd64 2.29-1ubuntu2.1 [130 kB]
Get:5 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 uuid-runtime amd64 2.29-1ubuntu2.1 [26.5 kB]
Get:6 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/universe amd64 chromium-codecs-ffmpeg-extra amd64 59.0.3071.109-0ubuntu0.17.04.1360 [1,036 kB]
Get:7 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libwbclient0 amd64 2:4.5.8+dfsg-0ubuntu0.17.04.3 [32.4 kB]
Get:8 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libuuid1 amd64 2.29-1ubuntu2.1 [14.8 kB]
Get:9 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libblkid1 amd64 2.29-1ubuntu2.1 [110 kB]
Get:10 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libfdisk1 amd64 2.29-1ubuntu2.1 [145 kB]
Get:11 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libgcrypt20 amd64 1.7.6-1ubuntu0.1 [400 kB]
Get:12 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libmount1 amd64 2.29-1ubuntu2.1 [119 kB]
Get:13 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libsmartcols1 amd64 2.29-1ubuntu2.1 [69.4 kB]
Get:14 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 nplan amd64 0.23~17.04.1 [38.1 kB]
Get:15 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 python3-problem-report all 2.20.4-0ubuntu4.4 [9,944 B]
Get:16 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 python3-apport all 2.20.4-0ubuntu4.4 [79.4 kB]
Get:17 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 apport all 2.20.4-0ubuntu4.4 [121 kB]
Get:18 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 apport-gtk all 2.20.4-0ubuntu4.4 [9,516 B]
Get:19 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/multiverse amd64 flashplugin-installer amd64 26.0.0.137ubuntu0.17.04.1 [6,818 B]
Get:20 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 gnome-software-plugin-snap amd64 3.22.7-0ubuntu3.17.04.5 [26.0 kB]
Get:21 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 gnome-software amd64 3.22.7-0ubuntu3.17.04.5 [305 kB]
Get:22 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 gnome-software-common all 3.22.7-0ubuntu3.17.04.5 [2,480 kB]
Get:23 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libepoxy0 amd64 1.3.1-1ubuntu1.17.04.1 [174 kB]
Get:24 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libgweather-common all 3.24.1-0ubuntu0.1 [146 kB]
Get:25 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libgweather-3-6 amd64 3.24.1-0ubuntu0.1 [50.9 kB]
Get:26 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 poppler-utils amd64 0.48.0-2ubuntu2.1 [136 kB]
Get:27 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libpoppler-glib8 amd64 0.48.0-2ubuntu2.1 [105 kB]
Get:28 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libpoppler64 amd64 0.48.0-2ubuntu2.1 [777 kB]
Get:29 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 thunderbird-locale-zh-hans amd64 1:52.2.1+build1-0ubuntu0.17.04.1 [533 kB]
Get:30 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 thunderbird amd64 1:52.2.1+build1-0ubuntu0.17.04.1 [42.3 MB]
Get:31 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 thunderbird-gnome-support amd64 1:52.2.1+build1-0ubuntu0.17.04.1 [8,536 B]
Get:32 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 thunderbird-locale-zh-cn all 1:52.2.1+build1-0ubuntu0.17.04.1 [9,876 B]
Get:33 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 ubuntu-software all 3.22.7-0ubuntu3.17.04.5 [21.0 kB]
Get:34 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/restricted amd64 intel-microcode amd64 3.20170511.1~ubuntu17.04.0 [691 kB]
Fetched 51.1 MB in 1min 7s (755 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 314065 files and directories currently installed.)
Preparing to unpack .../python-problem-report_2.20.4-0ubuntu4.4_all.deb ...
/var/lib/dpkg/info/python-problem-report.prerm: 6: /var/lib/dpkg/info/python-problem-report.prerm: pyclean: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
dpkg: error processing archive /var/cache/apt/archives/python-problem-report_2.20.4-0ubuntu4.4_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 127
/var/lib/dpkg/info/python-problem-report.postinst: 6: /var/lib/dpkg/info/python-problem-report.postinst: pycompile: not found
*** Error in `/usr/bin/dpkg': munmap_chunk(): invalid pointer: 0x000055c0288595a8 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x2b702dbb408b]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x1f8)[0x2b702dbc1ed8]
/usr/bin/dpkg(+0x20cd0)[0x55c02763fcd0]
/usr/bin/dpkg(+0x21119)[0x55c027640119]
/usr/bin/dpkg(+0x283cd)[0x55c0276473cd]
/usr/bin/dpkg(+0x17737)[0x55c027636737]
/usr/bin/dpkg(+0x17915)[0x55c027636915]
/usr/bin/dpkg(+0x17b5d)[0x55c027636b5d]
/usr/bin/dpkg(+0xaed7)[0x55c027629ed7]
/usr/bin/dpkg(+0x20c0b)[0x55c02763fc0b]
/usr/bin/dpkg(+0x20e01)[0x55c02763fe01]
/usr/bin/dpkg(+0xa962)[0x55c027629962]
/usr/bin/dpkg(+0x72fd)[0x55c0276262fd]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x2b702db5b3f1]
/usr/bin/dpkg(+0x743a)[0x55c02762643a]
======= Memory map: ========
2b702d6eb000-2b702d711000 r-xp 00000000 08:06 2883827 /lib/x86_64-linux-gnu/ld-2.24.so
2b702d711000-2b702d715000 rw-p 00000000 00:00 0
2b702d731000-2b702d733000 rw-p 00000000 00:00 0
2b702d910000-2b702d911000 r--p 00025000 08:06 2883827 /lib/x86_64-linux-gnu/ld-2.24.so
2b702d911000-2b702d912000 rw-p 00026000 08:06 2883827 /lib/x86_64-linux-gnu/ld-2.24.so
2b702d912000-2b702d913000 rw-p 00000000 00:00 0
2b702d913000-2b702d938000 r-xp 00000000 08:06 2888624 /lib/x86_64-linux-gnu/libselinux.so.1
2b702d938000-2b702db37000 ---p 00025000 08:06 2888624 /lib/x86_64-linux-gnu/libselinux.so.1
2b702db37000-2b702db38000 r--p 00024000 08:06 2888624 /lib/x86_64-linux-gnu/libselinux.so.1
2b702db38000-2b702db39000 rw-p 00025000 08:06 2888624 /lib/x86_64-linux-gnu/libselinux.so.1
2b702db39000-2b702db3b000 rw-p 00000000 00:00 0
2b702db3b000-2b702dcf9000 r-xp 00000000 08:06 2883831 /lib/x86_64-linux-gnu/libc-2.24.so
2b702dcf9000-2b702def8000 ---p 001be000 08:06 2883831 /lib/x86_64-linux-gnu/libc-2.24.so
2b702def8000-2b702defc000 r--p 001bd000 08:06 2883831 /lib/x86_64-linux-gnu/libc-2.24.so
2b702defc000-2b702defe000 rw-p 001c1000 08:06 2883831 /lib/x86_64-linux-gnu/libc-2.24.so
2b702defe000-2b702df02000 rw-p 00000000 00:00 0
2b702df02000-2b702df74000 r-xp 00000000 08:06 2888597 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
2b702df74000-2b702e173000 ---p 00072000 08:06 2888597 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
2b702e173000-2b702e174000 r--p 00071000 08:06 2888597 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
2b702e174000-2b702e175000 rw-p 00072000 08:06 2888597 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
2b702e175000-2b702e178000 r-xp 00000000 08:06 2883834 /lib/x86_64-linux-gnu/libdl-2.24.so
2b702e178000-2b702e377000 ---p 00003000 08:06 2883834 /lib/x86_64-linux-gnu/libdl-2.24.so
2b702e377000-2b702e378000 r--p 00002000 08:06 2883834 /lib/x86_64-linux-gnu/libdl-2.24.so
2b702e378000-2b702e379000 rw-p 00003000 08:06 2883834 /lib/x86_64-linux-gnu/libdl-2.24.so
2b702e379000-2b702e391000 r-xp 00000000 08:06 2883846 /lib/x86_64-linux-gnu/libpthread-2.24.so
2b702e391000-2b702e591000 ---p 00018000 08:06 2883846 /lib/x86_64-linux-gnu/libpthread-2.24.so
2b702e591000-2b702e592000 r--p 00018000 08:06 2883846 /lib/x86_64-linux-gnu/libpthread-2.24.so
2b702e592000-2b702e593000 rw-p 00019000 08:06 2883846 /lib/x86_64-linux-gnu/libpthread-2.24.so
2b702e593000-2b702e597000 rw-p 00000000 00:00 0
2b702e597000-2b702ea28000 r--p 00000000 08:07 1310885 /usr/lib/locale/locale-archive
2b702ea28000-2b702ea30000 r-xp 00000000 08:06 2883839 /lib/x86_64-linux-gnu/libnss_compat-2.24.so
2b702ea30000-2b702ec2f000 ---p 00008000 08:06 2883839 /lib/x86_64-linux-gnu/libnss_compat-2.24.so
2b702ec2f000-2b702ec30000 r--p 00007000 08:06 2883839 /lib/x86_64-linux-gnu/libnss_compat-2.24.so
2b702ec30000-2b702ec31000 rw-p 00008000 08:06 2883839 /lib/x86_64-linux-gnu/libnss_compat-2.24.so
2b702ec31000-2b702ec47000 r-xp 00000000 08:06 2883838 /lib/x86_64-linux-gnu/libnsl-2.24.so
2b702ec47000-2b702ee46000 ---p 00016000 08:06 2883838 /lib/x86_64-linux-gnu/libnsl-2.24.so
2b702ee46000-2b702ee47000 r--p 00015000 08:06 2883838 /lib/x86_64-linux-gnu/libnsl-2.24.so
2b702ee47000-2b702ee48000 rw-p 00016000 08:06 2883838 /lib/x86_64-linux-gnu/libnsl-2.24.so
2b702ee48000-2b702ee4a000 rw-p 00000000 00:00 0
2b702ee4a000-2b702ee55000 r-xp 00000000 08:06 2883843 /lib/x86_64-linux-gnu/libnss_nis-2.24.so
2b702ee55000-2b702f054000 ---p 0000b000 08:06 2883843 /lib/x86_64-linux-gnu/libnss_nis-2.24.so
2b702f054000-2b702f055000 r--p 0000a000 08:06 2883843 /lib/x86_64-linux-gnu/libnss_nis-2.24.so
2b702f055000-2b702f056000 rw-p 0000b000 08:06 2883843 /lib/x86_64-linux-gnu/libnss_nis-2.24.so
2b702f056000-2b702f061000 r-xp 00000000 08:06 2883841 /lib/x86_64-linux-gnu/libnss_files-2.24.so
2b702f061000-2b702f260000 ---p 0000b000 08:06 2883841 /lib/x86_64-linux-gnu/libnss_files-2.24.so
2b702f260000-2b702f261000 r--p 0000a000 08:06 2883841 /lib/x86_64-linux-gnu/libnss_files-2.24.so
2b702f261000-2b702f262000 rw-p 0000b000 08:06 2883841 /lib/x86_64-linux-gnu/libnss_files-2.24.so
2b702f262000-2b702f268000 rw-p 00000000 00:00 0
2b702f268000-2b702f27e000 r-xp 00000000 08:06 2888509 /lib/x86_64-linux-gnu/libgcc_s.so.1
2b702f27e000-2b702f47d000 ---p 00016000 08:06 2888509 /lib/x86_64-linux-gnu/libgcc_s.so.1
2b702f47d000-2b702f47e000 r--p 00015000 08:06 2888509 /lib/x86_64-linux-gnu/libgcc_s.so.1
2b702f47e000-2b702f47f000 rw-p 00016000 08:06 2888509 /lib/x86_64-linux-gnu/libgcc_s.so.1
55c02761f000-55c027664000 r-xp 00000000 08:07 786692 /usr/bin/dpkg
55c027864000-55c027867000 r--p 00045000 08:07 786692 /usr/bin/dpkg
55c027867000-55c027868000 rw-p 00048000 08:07 786692 /usr/bin/dpkg
55c027868000-55c027a7c000 rw-p 00000000 00:00 0
55c0283a4000-55c02bf05000 rw-p 00000000 00:00 0 [heap]
7ffda285b000-7ffda287c000 rw-p 00000000 00:00 0 [stack]
7ffda2974000-7ffda2976000 r--p 00000000 00:00 0 [vvar]
7ffda2976000-7ffda2978000 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: python-problem-report 2.20.4-0ubuntu4.1
ProcVersionSignature: Ubuntu 4.10.0-26.30-generic 4.10.17
Uname: Linux 4.10.0-26-generic x86_64
ApportLog:
ApportVersion: 2.20.4-0ubuntu4.1
Architecture: amd64
Date: Thu Jul 13 11:01:43 2017
ErrorMessage: subprocess new pre-removal script returned error exit status 127
InstallationDate: Installed on 2017-05-23 (50 days ago)
InstallationMedia: Ubuntu-Kylin 17.04 "Zesty Zapus" - Release amd64 (20170412)
PackageArchitecture: all
RelatedPackageVersions:
dpkg 1.18.10ubuntu2
apt 1.4
SourcePackage: apport
Title: package python-problem-report 2.20.4-0ubuntu4.1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: apport (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-package zesty
--
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/1704038
Title:
upgrade problem when remove the python in a wrong way.
Status in apport package in Ubuntu:
New
Bug description:
when I uninstall the python unexpectedly, my ubuntu 17.04 got so many
mistake when using
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libgdf-dev libgdf0 liblua5.1-0-dev libreadline-dev libtinfo-dev libtool-bin
linux-headers-4.10.0-19 linux-headers-4.10.0-19-generic
linux-headers-4.10.0-21 linux-headers-4.10.0-21-generic
linux-headers-4.10.0-22 linux-headers-4.10.0-22-generic lua-any lua-sec
lua-socket lua5.1
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
apport apport-gtk bsdutils chromium-codecs-ffmpeg-extra
flashplugin-installer gnome-software gnome-software-common
gnome-software-plugin-snap intel-microcode libblkid1 libepoxy0 libfdisk1
libgcrypt20 libgweather-3-6 libgweather-common libmount1 libpoppler-glib8
libpoppler64 libsmartcols1 libuuid1 libwbclient0 mount nplan poppler-utils
python-problem-report python3-apport python3-problem-report thunderbird
thunderbird-gnome-support thunderbird-locale-zh-cn
thunderbird-locale-zh-hans ubuntu-software util-linux uuid-runtime
34 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
51 not fully installed or removed.
Need to get 51.1 MB of archives.
After this operation, 753 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 python-problem-report all 2.20.4-0ubuntu4.4 [9,864 B]
Get:2 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 bsdutils amd64 1:2.29-1ubuntu2.1 [55.4 kB]
Get:3 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 util-linux amd64 2.29-1ubuntu2.1 [913 kB]
Get:4 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 mount amd64 2.29-1ubuntu2.1 [130 kB]
Get:5 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 uuid-runtime amd64 2.29-1ubuntu2.1 [26.5 kB]
Get:6 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/universe amd64 chromium-codecs-ffmpeg-extra amd64 59.0.3071.109-0ubuntu0.17.04.1360 [1,036 kB]
Get:7 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libwbclient0 amd64 2:4.5.8+dfsg-0ubuntu0.17.04.3 [32.4 kB]
Get:8 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libuuid1 amd64 2.29-1ubuntu2.1 [14.8 kB]
Get:9 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libblkid1 amd64 2.29-1ubuntu2.1 [110 kB]
Get:10 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libfdisk1 amd64 2.29-1ubuntu2.1 [145 kB]
Get:11 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libgcrypt20 amd64 1.7.6-1ubuntu0.1 [400 kB]
Get:12 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libmount1 amd64 2.29-1ubuntu2.1 [119 kB]
Get:13 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libsmartcols1 amd64 2.29-1ubuntu2.1 [69.4 kB]
Get:14 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 nplan amd64 0.23~17.04.1 [38.1 kB]
Get:15 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 python3-problem-report all 2.20.4-0ubuntu4.4 [9,944 B]
Get:16 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 python3-apport all 2.20.4-0ubuntu4.4 [79.4 kB]
Get:17 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 apport all 2.20.4-0ubuntu4.4 [121 kB]
Get:18 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 apport-gtk all 2.20.4-0ubuntu4.4 [9,516 B]
Get:19 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/multiverse amd64 flashplugin-installer amd64 26.0.0.137ubuntu0.17.04.1 [6,818 B]
Get:20 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 gnome-software-plugin-snap amd64 3.22.7-0ubuntu3.17.04.5 [26.0 kB]
Get:21 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 gnome-software amd64 3.22.7-0ubuntu3.17.04.5 [305 kB]
Get:22 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 gnome-software-common all 3.22.7-0ubuntu3.17.04.5 [2,480 kB]
Get:23 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libepoxy0 amd64 1.3.1-1ubuntu1.17.04.1 [174 kB]
Get:24 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libgweather-common all 3.24.1-0ubuntu0.1 [146 kB]
Get:25 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libgweather-3-6 amd64 3.24.1-0ubuntu0.1 [50.9 kB]
Get:26 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 poppler-utils amd64 0.48.0-2ubuntu2.1 [136 kB]
Get:27 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libpoppler-glib8 amd64 0.48.0-2ubuntu2.1 [105 kB]
Get:28 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 libpoppler64 amd64 0.48.0-2ubuntu2.1 [777 kB]
Get:29 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 thunderbird-locale-zh-hans amd64 1:52.2.1+build1-0ubuntu0.17.04.1 [533 kB]
Get:30 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 thunderbird amd64 1:52.2.1+build1-0ubuntu0.17.04.1 [42.3 MB]
Get:31 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 thunderbird-gnome-support amd64 1:52.2.1+build1-0ubuntu0.17.04.1 [8,536 B]
Get:32 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 thunderbird-locale-zh-cn all 1:52.2.1+build1-0ubuntu0.17.04.1 [9,876 B]
Get:33 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/main amd64 ubuntu-software all 3.22.7-0ubuntu3.17.04.5 [21.0 kB]
Get:34 http://mirrors.ustc.edu.cn/ubuntu zesty-updates/restricted amd64 intel-microcode amd64 3.20170511.1~ubuntu17.04.0 [691 kB]
Fetched 51.1 MB in 1min 7s (755 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 314065 files and directories currently installed.)
Preparing to unpack .../python-problem-report_2.20.4-0ubuntu4.4_all.deb ...
/var/lib/dpkg/info/python-problem-report.prerm: 6: /var/lib/dpkg/info/python-problem-report.prerm: pyclean: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
dpkg: error processing archive /var/cache/apt/archives/python-problem-report_2.20.4-0ubuntu4.4_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 127
/var/lib/dpkg/info/python-problem-report.postinst: 6: /var/lib/dpkg/info/python-problem-report.postinst: pycompile: not found
*** Error in `/usr/bin/dpkg': munmap_chunk(): invalid pointer: 0x000055c0288595a8 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x2b702dbb408b]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x1f8)[0x2b702dbc1ed8]
/usr/bin/dpkg(+0x20cd0)[0x55c02763fcd0]
/usr/bin/dpkg(+0x21119)[0x55c027640119]
/usr/bin/dpkg(+0x283cd)[0x55c0276473cd]
/usr/bin/dpkg(+0x17737)[0x55c027636737]
/usr/bin/dpkg(+0x17915)[0x55c027636915]
/usr/bin/dpkg(+0x17b5d)[0x55c027636b5d]
/usr/bin/dpkg(+0xaed7)[0x55c027629ed7]
/usr/bin/dpkg(+0x20c0b)[0x55c02763fc0b]
/usr/bin/dpkg(+0x20e01)[0x55c02763fe01]
/usr/bin/dpkg(+0xa962)[0x55c027629962]
/usr/bin/dpkg(+0x72fd)[0x55c0276262fd]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x2b702db5b3f1]
/usr/bin/dpkg(+0x743a)[0x55c02762643a]
======= Memory map: ========
2b702d6eb000-2b702d711000 r-xp 00000000 08:06 2883827 /lib/x86_64-linux-gnu/ld-2.24.so
2b702d711000-2b702d715000 rw-p 00000000 00:00 0
2b702d731000-2b702d733000 rw-p 00000000 00:00 0
2b702d910000-2b702d911000 r--p 00025000 08:06 2883827 /lib/x86_64-linux-gnu/ld-2.24.so
2b702d911000-2b702d912000 rw-p 00026000 08:06 2883827 /lib/x86_64-linux-gnu/ld-2.24.so
2b702d912000-2b702d913000 rw-p 00000000 00:00 0
2b702d913000-2b702d938000 r-xp 00000000 08:06 2888624 /lib/x86_64-linux-gnu/libselinux.so.1
2b702d938000-2b702db37000 ---p 00025000 08:06 2888624 /lib/x86_64-linux-gnu/libselinux.so.1
2b702db37000-2b702db38000 r--p 00024000 08:06 2888624 /lib/x86_64-linux-gnu/libselinux.so.1
2b702db38000-2b702db39000 rw-p 00025000 08:06 2888624 /lib/x86_64-linux-gnu/libselinux.so.1
2b702db39000-2b702db3b000 rw-p 00000000 00:00 0
2b702db3b000-2b702dcf9000 r-xp 00000000 08:06 2883831 /lib/x86_64-linux-gnu/libc-2.24.so
2b702dcf9000-2b702def8000 ---p 001be000 08:06 2883831 /lib/x86_64-linux-gnu/libc-2.24.so
2b702def8000-2b702defc000 r--p 001bd000 08:06 2883831 /lib/x86_64-linux-gnu/libc-2.24.so
2b702defc000-2b702defe000 rw-p 001c1000 08:06 2883831 /lib/x86_64-linux-gnu/libc-2.24.so
2b702defe000-2b702df02000 rw-p 00000000 00:00 0
2b702df02000-2b702df74000 r-xp 00000000 08:06 2888597 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
2b702df74000-2b702e173000 ---p 00072000 08:06 2888597 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
2b702e173000-2b702e174000 r--p 00071000 08:06 2888597 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
2b702e174000-2b702e175000 rw-p 00072000 08:06 2888597 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
2b702e175000-2b702e178000 r-xp 00000000 08:06 2883834 /lib/x86_64-linux-gnu/libdl-2.24.so
2b702e178000-2b702e377000 ---p 00003000 08:06 2883834 /lib/x86_64-linux-gnu/libdl-2.24.so
2b702e377000-2b702e378000 r--p 00002000 08:06 2883834 /lib/x86_64-linux-gnu/libdl-2.24.so
2b702e378000-2b702e379000 rw-p 00003000 08:06 2883834 /lib/x86_64-linux-gnu/libdl-2.24.so
2b702e379000-2b702e391000 r-xp 00000000 08:06 2883846 /lib/x86_64-linux-gnu/libpthread-2.24.so
2b702e391000-2b702e591000 ---p 00018000 08:06 2883846 /lib/x86_64-linux-gnu/libpthread-2.24.so
2b702e591000-2b702e592000 r--p 00018000 08:06 2883846 /lib/x86_64-linux-gnu/libpthread-2.24.so
2b702e592000-2b702e593000 rw-p 00019000 08:06 2883846 /lib/x86_64-linux-gnu/libpthread-2.24.so
2b702e593000-2b702e597000 rw-p 00000000 00:00 0
2b702e597000-2b702ea28000 r--p 00000000 08:07 1310885 /usr/lib/locale/locale-archive
2b702ea28000-2b702ea30000 r-xp 00000000 08:06 2883839 /lib/x86_64-linux-gnu/libnss_compat-2.24.so
2b702ea30000-2b702ec2f000 ---p 00008000 08:06 2883839 /lib/x86_64-linux-gnu/libnss_compat-2.24.so
2b702ec2f000-2b702ec30000 r--p 00007000 08:06 2883839 /lib/x86_64-linux-gnu/libnss_compat-2.24.so
2b702ec30000-2b702ec31000 rw-p 00008000 08:06 2883839 /lib/x86_64-linux-gnu/libnss_compat-2.24.so
2b702ec31000-2b702ec47000 r-xp 00000000 08:06 2883838 /lib/x86_64-linux-gnu/libnsl-2.24.so
2b702ec47000-2b702ee46000 ---p 00016000 08:06 2883838 /lib/x86_64-linux-gnu/libnsl-2.24.so
2b702ee46000-2b702ee47000 r--p 00015000 08:06 2883838 /lib/x86_64-linux-gnu/libnsl-2.24.so
2b702ee47000-2b702ee48000 rw-p 00016000 08:06 2883838 /lib/x86_64-linux-gnu/libnsl-2.24.so
2b702ee48000-2b702ee4a000 rw-p 00000000 00:00 0
2b702ee4a000-2b702ee55000 r-xp 00000000 08:06 2883843 /lib/x86_64-linux-gnu/libnss_nis-2.24.so
2b702ee55000-2b702f054000 ---p 0000b000 08:06 2883843 /lib/x86_64-linux-gnu/libnss_nis-2.24.so
2b702f054000-2b702f055000 r--p 0000a000 08:06 2883843 /lib/x86_64-linux-gnu/libnss_nis-2.24.so
2b702f055000-2b702f056000 rw-p 0000b000 08:06 2883843 /lib/x86_64-linux-gnu/libnss_nis-2.24.so
2b702f056000-2b702f061000 r-xp 00000000 08:06 2883841 /lib/x86_64-linux-gnu/libnss_files-2.24.so
2b702f061000-2b702f260000 ---p 0000b000 08:06 2883841 /lib/x86_64-linux-gnu/libnss_files-2.24.so
2b702f260000-2b702f261000 r--p 0000a000 08:06 2883841 /lib/x86_64-linux-gnu/libnss_files-2.24.so
2b702f261000-2b702f262000 rw-p 0000b000 08:06 2883841 /lib/x86_64-linux-gnu/libnss_files-2.24.so
2b702f262000-2b702f268000 rw-p 00000000 00:00 0
2b702f268000-2b702f27e000 r-xp 00000000 08:06 2888509 /lib/x86_64-linux-gnu/libgcc_s.so.1
2b702f27e000-2b702f47d000 ---p 00016000 08:06 2888509 /lib/x86_64-linux-gnu/libgcc_s.so.1
2b702f47d000-2b702f47e000 r--p 00015000 08:06 2888509 /lib/x86_64-linux-gnu/libgcc_s.so.1
2b702f47e000-2b702f47f000 rw-p 00016000 08:06 2888509 /lib/x86_64-linux-gnu/libgcc_s.so.1
55c02761f000-55c027664000 r-xp 00000000 08:07 786692 /usr/bin/dpkg
55c027864000-55c027867000 r--p 00045000 08:07 786692 /usr/bin/dpkg
55c027867000-55c027868000 rw-p 00048000 08:07 786692 /usr/bin/dpkg
55c027868000-55c027a7c000 rw-p 00000000 00:00 0
55c0283a4000-55c02bf05000 rw-p 00000000 00:00 0 [heap]
7ffda285b000-7ffda287c000 rw-p 00000000 00:00 0 [stack]
7ffda2974000-7ffda2976000 r--p 00000000 00:00 0 [vvar]
7ffda2976000-7ffda2978000 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: python-problem-report 2.20.4-0ubuntu4.1
ProcVersionSignature: Ubuntu 4.10.0-26.30-generic 4.10.17
Uname: Linux 4.10.0-26-generic x86_64
ApportLog:
ApportVersion: 2.20.4-0ubuntu4.1
Architecture: amd64
Date: Thu Jul 13 11:01:43 2017
ErrorMessage: subprocess new pre-removal script returned error exit status 127
InstallationDate: Installed on 2017-05-23 (50 days ago)
InstallationMedia: Ubuntu-Kylin 17.04 "Zesty Zapus" - Release amd64 (20170412)
PackageArchitecture: all
RelatedPackageVersions:
dpkg 1.18.10ubuntu2
apt 1.4
SourcePackage: apport
Title: package python-problem-report 2.20.4-0ubuntu4.1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1704038/+subscriptions
More information about the foundations-bugs
mailing list