Package: aptitude
Version: 0.7.5-3
Severity: critical
Justification: breaks unrelated software
Dear Maintainer,
* What led up to the situation?
I had upgraded all packages a couple of weeks ago to testing current level.
Today I opened aptitude, performed update, and it said there were 123 packages
to be updated. I marked the Upgradeable line with +.
It said it was Resolving Dependencies, and then became unresponsive. I went on
to do something else. After 10 minutes or so I found I could not use readline
completion in bash because I had run out of disk space on the root device.
Going back to the aptitude window, I saw many out of disk space messages.
I hit OK on the messages window, and then canceled my pending actions and quit
aptitude.
Once back on the command line, I confirmed I was out of space with df -h.
root@ctillman:/home/chris# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda519G 17G 865M 96% /
Conveniently, I had just done df -h before starting the upgrade, so I scrolled
back up and verified I had 12G free beforehand.
root@ctillman:/home/chris# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda519G 7.0G 11G 41% /
I then used du to drill down to where the space was being used. Here are the
final few lines.
root@ctillman:/home/chris# du --max-depth=1 -h /tmp/aptitude-root.7985\:PR9HPH/
9.7G/tmp/aptitude-root.7985:PR9HPH/aptitude-trace-dumpubvton
9.7G/tmp/aptitude-root.7985:PR9HPH/
root@ctillman:/home/chris# du --max-depth=1 -h /tmp/aptitude-
root.7985\:PR9HPH/*
9.7G/tmp/aptitude-root.7985:PR9HPH/aptitude-trace-dumpubvton/usr
16K /tmp/aptitude-root.7985:PR9HPH/aptitude-trace-dumpubvton/etc
24K /tmp/aptitude-root.7985:PR9HPH/aptitude-trace-dumpubvton/var
9.7G/tmp/aptitude-root.7985:PR9HPH/aptitude-trace-dumpubvton
root@ctillman:/home/chris# du --max-depth=1 -h /tmp/aptitude-
root.7985\:PR9HPH/usr
du: cannot access ‘/tmp/aptitude-root.7985:PR9HPH/usr’: No such file or
directory
root@ctillman:/home/chris# du --max-depth=1 -h /tmp/aptitude-root.7985\:PR9HPH
/aptitude-trace-dumpubvton/usr
9.7G/tmp/aptitude-root.7985:PR9HPH/aptitude-trace-dumpubvton/usr/bin
9.7G/tmp/aptitude-root.7985:PR9HPH/aptitude-trace-dumpubvton/usr
root@ctillman:/home/chris# du --max-depth=1 -h /tmp/aptitude-root.7985\:PR9HPH
/aptitude-trace-dumpubvton/usr/bin
9.7G/tmp/aptitude-root.7985:PR9HPH/aptitude-trace-dumpubvton/usr/bin/X11
9.7G/tmp/aptitude-root.7985:PR9HPH/aptitude-trace-dumpubvton/usr/bin
root@ctillman:/home/chris# du --max-depth=1 -h /tmp/aptitude-root.7985\:PR9HPH
/aptitude-trace-dumpubvton/usr/bin/X11
9.7G/tmp/aptitude-root.7985:PR9HPH/aptitude-trace-
dumpubvton/usr/bin/X11/X11
9.7G/tmp/aptitude-root.7985:PR9HPH/aptitude-trace-dumpubvton/usr/bin/X11
root@ctillman:/home/chris# du --max-depth=1 -h /tmp/aptitude-root.7985\:PR9HPH
/aptitude-trace-dumpubvton/usr/bin/X11/X11/X11/X11/X11/X11/
9.7G/tmp/aptitude-root.7985:PR9HPH/aptitude-trace-
dumpubvton/usr/bin/X11/X11/X11/X11/X11/X11/X11
9.7G/tmp/aptitude-root.7985:PR9HPH/aptitude-trace-
dumpubvton/usr/bin/X11/X11/X11/X11/X11/X11/
As you can see, the X11 directory has been recursively created.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Quit aptitude, that freed up about 1G. Then
root@ctillman:/home/chris# rm -rf /tmp/aptitude-root.7985:PR9HPH/aptitude-
trace-dumpubvton/usr/bin/X11/X11/X11/X11/X11/X11/
* What was the outcome of this action?
root@ctillman:/home/chris# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda519G 6.9G 11G 40% /
-- Package-specific info:
$TERM not set.
$DISPLAY is set.
which aptitude: /usr/bin/aptitude
aptitude version information:
aptitude 0.7.5
Compiler: g++ 5.3.1 20151207
Compiled against:
apt version 5.0.0
NCurses version 6.0
libsigc++ version: 2.6.2
Gtk+ support disabled.
Qt support disabled.
Current library versions:
NCurses version: ncurses 6.0.20151024
cwidget version: 0.5.17
Apt version: 5.0.0
aptitude linkage:
linux-gate.so.1 (0xb771)
libapt-pkg.so.5.0 => /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0
(0xb71b8000)
libncursesw.so.5 => /lib/i386-linux-gnu/libncursesw.so.5 (0xb7182000)
libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xb715d000)
libsigc-2.0.so.0 => /usr/lib/i386-linux-gnu/libsigc-2.0.so.0
(0xb7156000)
libcwidget.so.3 => /usr/lib/i386-linux-gnu/libcwidget.so.3 (0xb7053000)
libsqlite3.so.0 => /usr/lib/i386-linux-gnu/libsqlite3.so.0 (0xb6f71000)
libboost_iostreams.so.1.58.0 =>
/usr/lib/i386-linux-gnu/libboost_iostreams.so.1.58.0 (0xb6f58000)
libboost_filesystem.so.1.58.0 =>
/usr/lib/i386-linux-gnu/libboost_filesystem.so.1.58.0 (0xb6f3c000)
libboost_system.so.1.58.0 =>
/usr/lib/i386-linux-gnu/libboost_system.so.1.58.0 (0xb6f37000)
libxapian.so.22 => /usr/lib/i386-linux-gnu/sse2/libxapian.so.22
(0xb6d2d000)
libpthread.so.0