Package: dpkg
Version: 1.18.7
Severity: normal
I was just “apt-get --purge dist-upgrade”ing a system when it
aborted due to #824137, then I did a quick-fix from hand, saw
an error message, and was unsure if I needed to retry that or
could just continue with “apt-get -f install”, so I retried.
On the retry, dpkg exploded:
-----BEGIN cutting here may damage your screen surface-----
[… normal apt stuff …]
Unpacking texlive (2016.20160512-1) over (2015.20160320-1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.22-9) ...
Processing triggers for fontconfig (2.11.0-6.4) ...
dpkg: texlive-fonts-extra: dependency problems, but removing anyway as you
requested:
texlive-full depends on texlive-fonts-extra (>= 2015); however:
Package texlive-fonts-extra is to be removed.
(Reading database ... 212207 files and directories currently installed.)
Removing texlive-fonts-extra (2015.20160320-1) ...
dpkg: texlive-bibtex-extra: dependency problems, but removing anyway as you
requested:
texlive-full depends on texlive-bibtex-extra (>= 2015); however:
Package texlive-bibtex-extra is to be removed.
Removing texlive-bibtex-extra (2015.20160320-1) ...
dpkg: texlive-binaries: dependency problems, but removing anyway as you
requested:
texlive-math-extra depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-latex-base depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-xetex depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-omega depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-lang-cyrillic depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-metapost depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-lang-polish depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-lang-czechslovak depends on texlive-binaries (>=
2015.20160222.37495-1).
texlive-base depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-games depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-music depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-luatex depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-font-utils depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-full depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-humanities depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-pictures depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-formats-extra depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-science depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-latex-extra depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-htmlxml depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-lang-greek depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-lang-cjk depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-lang-indic depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-lang-korean depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-extra-utils depends on texlive-binaries (>= 2015.20160222.37495-1).
texlive-latex-recommended depends on texlive-binaries (>=
2015.20160222.37495-1).
texlive-pstricks depends on texlive-binaries (>= 2015.20160222.37495-1).
tex4ht depends on texlive-base-bin; however:
Package texlive-base-bin is not installed.
Package texlive-binaries which provides texlive-base-bin is to be removed.
fragmaster depends on texlive-base-bin; however:
Package texlive-base-bin is not installed.
Package texlive-binaries which provides texlive-base-bin is to be removed.
tex4ht-common depends on texlive-base-bin; however:
Package texlive-base-bin is not installed.
Package texlive-binaries which provides texlive-base-bin is to be removed.
tipa depends on texlive-base-bin; however:
Package texlive-base-bin is not installed.
Package texlive-binaries which provides texlive-base-bin is to be removed.
dvipng depends on texlive-base-bin; however:
Package texlive-base-bin is not installed.
Package texlive-binaries which provides texlive-base-bin is to be removed.
Removing texlive-binaries (2015.20160222.37495-1) ...
dpkg: texlive-extra-utils: dependency problems, but removing anyway as you
requested:
feynmf depends on texlive-extra-utils.
fragmaster depends on texlive-extra-utils; however:
Package texlive-extra-utils is to be removed.
texlive-full depends on texlive-extra-utils (>= 2015); however:
Package texlive-extra-utils is to be removed.
Removing texlive-extra-utils (2015.20160320-1) ...
dpkg: texlive-font-utils: dependency problems, but removing anyway as you
requested:
feynmf depends on texlive-font-utils.
fragmaster depends on texlive-font-utils; however:
Package texlive-font-utils is to be removed.
texlive-full depends on texlive-font-utils (>= 2015); however:
Package texlive-font-utils is to be removed.
latex-cjk-common depends on texlive-font-utils (>= 2007.dfsg.2-1).
Removing texlive-font-utils (2015.20160320-1) ...
Processing triggers for tex-common (6.05) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for install-info (6.1.0.dfsg.1-6) ...
(Reading database ... 165956 files and directories currently installed.)
Preparing to unpack .../texlive-fonts-extra-doc_2016.20160512-1_all.deb ...
Unpacking texlive-fonts-extra-doc (2016.20160512-1) over (2015.20160320-1) ...
dpkg: error processing archive
/var/cache/apt/archives/texlive-fonts-extra-doc_2016.20160512-1_all.deb
(--unpack):
trying to overwrite '/usr/share/doc/texlive-doc/latex/mweights/README', which
is also in package texlive-latex-extra-doc 2015.20160320-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/texlive-fonts-extra-doc_2016.20160512-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
/var/cache/apt/archives/texlive-latex-extra-doc_2016.20160512-1_all.deb
<
(Reading database ... 165956 files and directories currently installed.)
Preparing to unpack .../texlive-latex-extra-doc_2016.20160512-1_all.deb ...
Unpacking texlive-latex-extra-doc (2016.20160512-1) over (2015.20160320-1) ...
dpkg: dependency problems prevent configuration of texlive-latex-extra-doc:
texlive-latex-extra-doc depends on texlive-base (>= 2016); however:
Version of texlive-base on system is 2015.20160320-1.
dpkg: error processing package texlive-latex-extra-doc (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
texlive-latex-extra-doc
1|root@ci-busyapps:~ # dpkg -i --force-all
/var/cache/apt/archives/texlive-latex-extra-doc_2016.20160512-1>
(Reading database ... 166001 files and directories currently installed.)
Preparing to unpack .../texlive-latex-extra-doc_2016.20160512-1_all.deb ...
Unpacking texlive-latex-extra-doc (2016.20160512-1) over (2016.20160512-1) ...
dpkg (subprocess): failed to chdir to '': No such file or directory
dpkg: warning: subprocess old post-removal script returned error exit status 2
dpkg: trying script from the new package instead ...
dpkg (subprocess): failed to chdir to '': No such file or directory
dpkg: error processing archive
/var/cache/apt/archives/texlive-latex-extra-doc_2016.20160512-1_all.deb
(--install):
subprocess new post-removal script returned error exit status 2
dpkg (subprocess): failed to chdir to '': No such file or directory
*** Error in `dpkg': munmap_chunk(): invalid pointer: 0x00005619d843ef5f ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x71fc5)[0x7f25444cffc5]
/lib/x86_64-linux-gnu/libc.so.6(+0x77966)[0x7f25444d5966]
dpkg(+0x1ffb0)[0x5619d5f54fb0]
dpkg(+0x20409)[0x5619d5f55409]
dpkg(+0x2774a)[0x5619d5f5c74a]
dpkg(+0x16a37)[0x5619d5f4ba37]
dpkg(+0x17020)[0x5619d5f4c020]
dpkg(+0xa59d)[0x5619d5f3f59d]
dpkg(+0x1feeb)[0x5619d5f54eeb]
dpkg(+0x200f1)[0x5619d5f550f1]
dpkg(+0x9c88)[0x5619d5f3ec88]
dpkg(+0x6659)[0x5619d5f3b659]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f254447e5f0]
dpkg(+0x6769)[0x5619d5f3b769]
======= Memory map: ========
5619d5f35000-5619d5f79000 r-xp 00000000 fd:00 656785
/usr/bin/dpkg
5619d6179000-5619d617c000 r--p 00044000 fd:00 656785
/usr/bin/dpkg
5619d617c000-5619d617d000 rw-p 00047000 fd:00 656785
/usr/bin/dpkg
5619d617d000-5619d6391000 rw-p 00000000 00:00 0
5619d80c2000-5619da1e0000 rw-p 00000000 00:00 0 [heap]
7f2543bb7000-7f2543bcd000 r-xp 00000000 fd:00 533974
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f2543bcd000-7f2543dcc000 ---p 00016000 fd:00 533974
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f2543dcc000-7f2543dcd000 rw-p 00015000 fd:00 533974
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f2543dcd000-7f2543de5000 r-xp 00000000 fd:00 527776
/lib/x86_64-linux-gnu/libpthread-2.22.so
7f2543de5000-7f2543fe4000 ---p 00018000 fd:00 527776
/lib/x86_64-linux-gnu/libpthread-2.22.so
7f2543fe4000-7f2543fe5000 r--p 00017000 fd:00 527776
/lib/x86_64-linux-gnu/libpthread-2.22.so
7f2543fe5000-7f2543fe6000 rw-p 00018000 fd:00 527776
/lib/x86_64-linux-gnu/libpthread-2.22.so
7f2543fe6000-7f2543fea000 rw-p 00000000 00:00 0
7f2543fea000-7f2543fec000 r-xp 00000000 fd:00 527619
/lib/x86_64-linux-gnu/libdl-2.22.so
7f2543fec000-7f25441ec000 ---p 00002000 fd:00 527619
/lib/x86_64-linux-gnu/libdl-2.22.so
7f25441ec000-7f25441ed000 r--p 00002000 fd:00 527619
/lib/x86_64-linux-gnu/libdl-2.22.so
7f25441ed000-7f25441ee000 rw-p 00003000 fd:00 527619
/lib/x86_64-linux-gnu/libdl-2.22.so
7f25441ee000-7f254425c000 r-xp 00000000 fd:00 524405
/lib/x86_64-linux-gnu/libpcre.so.3.13.2
7f254425c000-7f254445c000 ---p 0006e000 fd:00 524405
/lib/x86_64-linux-gnu/libpcre.so.3.13.2
7f254445c000-7f254445d000 r--p 0006e000 fd:00 524405
/lib/x86_64-linux-gnu/libpcre.so.3.13.2
7f254445d000-7f254445e000 rw-p 0006f000 fd:00 524405
/lib/x86_64-linux-gnu/libpcre.so.3.13.2
7f254445e000-7f25445f9000 r-xp 00000000 fd:00 527607
/lib/x86_64-linux-gnu/libc-2.22.so
7f25445f9000-7f25447f8000 ---p 0019b000 fd:00 527607
/lib/x86_64-linux-gnu/libc-2.22.so
7f25447f8000-7f25447fc000 r--p 0019a000 fd:00 527607
/lib/x86_64-linux-gnu/libc-2.22.so
7f25447fc000-7f25447fe000 rw-p 0019e000 fd:00 527607
/lib/x86_64-linux-gnu/libc-2.22.so
7f25447fe000-7f2544802000 rw-p 00000000 00:00 0
7f2544802000-7f2544826000 r-xp 00000000 fd:00 524948
/lib/x86_64-linux-gnu/libselinux.so.1
7f2544826000-7f2544a25000 ---p 00024000 fd:00 524948
/lib/x86_64-linux-gnu/libselinux.so.1
7f2544a25000-7f2544a26000 r--p 00023000 fd:00 524948
/lib/x86_64-linux-gnu/libselinux.so.1
7f2544a26000-7f2544a27000 rw-p 00024000 fd:00 524948
/lib/x86_64-linux-gnu/libselinux.so.1
7f2544a27000-7f2544a29000 rw-p 00000000 00:00 0
7f2544a29000-7f2544a4b000 r-xp 00000000 fd:00 524753
/lib/x86_64-linux-gnu/ld-2.22.so
7f2544bf0000-7f2544c34000 r--p 00000000 fd:00 1196915
/usr/lib/locale/zu_ZA.utf8/LC_CTYPE
7f2544c34000-7f2544c38000 rw-p 00000000 00:00 0
7f2544c39000-7f2544c3a000 rw-p 00000000 00:00 0
7f2544c3a000-7f2544c3b000 r--p 00000000 fd:00 657652
/usr/share/locale/en_GB/LC_MESSAGES/libc.mo
7f2544c3b000-7f2544c3e000 rw-p 00000000 00:00 0
7f2544c3e000-7f2544c3f000 r--p 00000000 fd:00 1196656
/usr/lib/locale/wal_ET/LC_MESSAGES/SYS_LC_MESSAGES
7f2544c3f000-7f2544c40000 r--p 00000000 fd:00 1196932
/usr/lib/locale/zu_ZA.utf8/LC_PAPER
7f2544c40000-7f2544c47000 r--s 00000000 fd:00 672310
/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7f2544c47000-7f2544c48000 r--p 00000000 fd:00 1196920
/usr/lib/locale/zu_ZA.utf8/LC_MEASUREMENT
7f2544c48000-7f2544c4a000 rw-p 00000000 00:00 0
7f2544c4a000-7f2544c4b000 r--p 00021000 fd:00 524753
/lib/x86_64-linux-gnu/ld-2.22.so
7f2544c4b000-7f2544c4c000 rw-p 00022000 fd:00 524753
/lib/x86_64-linux-gnu/ld-2.22.so
7f2544c4c000-7f2544c4d000 rw-p 00000000 00:00 0
7ffda8dd4000-7ffda8df5000 rw-p 00000000 00:00 0 [stack]
7ffda8df6000-7ffda8df9000 r--p 00000000 00:00 0 [vvar]
7ffda8df9000-7ffda8dfb000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
Aborted
-----END cutting here may damage your screen surface-----
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.5.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)
Versions of packages dpkg depends on:
ii libbz2-1.0 1.0.6-8
ii libc6 2.22-9
ii liblzma5 5.1.1alpha+20120614-2.1
ii libselinux1 2.5-2
ii tar 1.28-2.2
ii zlib1g 1:1.2.8.dfsg-2+b1
dpkg recommends no packages.
Versions of packages dpkg suggests:
ii apt 1.2.12
-- no debconf information