[Aptitude-devel] Bug#816537: aptitude: Internal Error installing package from local repository

Sven Joachim svenjoac at gmx.de
Wed Mar 2 19:00:37 UTC 2016


Package: aptitude
Version: 0.7.7-1
Severity: important

Like many people, I have a local repository in a flat directory, managed
by apt-ftp-archive.  The latest aptitude version triggers an internal
apt error trying to install packages from this repository and also
messes up the terminal, introducing a "staircase" effect (the error
message itself comes from libapt-pkg, see apt-pkg/deb/dpkgpm.cc in the
apt source):

,----
| $ LANG=C sudo aptitude reinstall linux-image-4.5.0-rc6-nouveau
| The following packages will be REINSTALLED:
|   linux-image-4.5.0-rc6-nouveau 
| 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 12 not upgraded.
| Need to get 0 B/6490 kB of archives. After unpacking 0 B will be used.
| E: Internal Error, Pathname to install is not absolute 'linux-image-4.5.0-rc6-nouveau_4.5.0-rc6-1_i386.deb'
|                                                                                                            Failed to perform requested operation on package.  Trying to recover:
|                                          
| $ echo $?
| 255
`----

Downgrading aptitude (and aptitude-common) to 0.7.6-1 fixes this.

By the way, here's the apt policy for the package in question:

,----
| $ LANG=C apt-cache policy linux-image-4.5.0-rc6-nouveau
| linux-image-4.5.0-rc6-nouveau:
|   Installed: 4.5.0-rc6-1
|   Candidate: 4.5.0-rc6-1
|   Version table:
|  *** 4.5.0-rc6-1 500
|         500 file:/usr/local/var/apt debs/ Packages
|         100 /var/lib/dpkg/status
`----


-- Package-specific info:
Terminal: eterm-color
$DISPLAY is set.
which aptitude: /usr/bin/aptitude

aptitude version information:
aptitude 0.7.7
Compiler: g++ 5.3.1 20160224
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.20160213
  cwidget version: 0.5.17
  Apt version: 5.0.0

aptitude linkage:
	linux-gate.so.1 (0xf7767000)
	libapt-pkg.so.5.0 => /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0 (0xf71e5000)
	libncursesw.so.5 => /lib/i386-linux-gnu/libncursesw.so.5 (0xf71b0000)
	libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xf718b000)
	libsigc-2.0.so.0 => /usr/lib/i386-linux-gnu/libsigc-2.0.so.0 (0xf7184000)
	libcwidget.so.3 => /usr/lib/i386-linux-gnu/libcwidget.so.3 (0xf7081000)
	libsqlite3.so.0 => /usr/lib/i386-linux-gnu/libsqlite3.so.0 (0xf6f9f000)
	libboost_iostreams.so.1.58.0 => /usr/lib/i386-linux-gnu/libboost_iostreams.so.1.58.0 (0xf6f86000)
	libboost_filesystem.so.1.58.0 => /usr/lib/i386-linux-gnu/libboost_filesystem.so.1.58.0 (0xf6f6c000)
	libboost_system.so.1.58.0 => /usr/lib/i386-linux-gnu/libboost_system.so.1.58.0 (0xf6f67000)
	libxapian.so.22 => /usr/lib/i386-linux-gnu/sse2/libxapian.so.22 (0xf6d5d000)
	libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf6d40000)
	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf6bd0000)
	libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf6b82000)
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf6b65000)
	libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf69ad000)
	libutil.so.1 => /lib/i386-linux-gnu/i686/cmov/libutil.so.1 (0xf69a9000)
	libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf69a4000)
	libresolv.so.2 => /lib/i386-linux-gnu/i686/cmov/libresolv.so.2 (0xf698b000)
	libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf696e000)
	libbz2.so.1.0 => /lib/i386-linux-gnu/libbz2.so.1.0 (0xf695b000)
	liblzma.so.5 => /lib/i386-linux-gnu/liblzma.so.5 (0xf6932000)
	liblz4.so.1 => /usr/lib/i386-linux-gnu/liblz4.so.1 (0xf691f000)
	librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xf6915000)
	libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf690f000)
	/lib/ld-linux.so.2 (0x56652000)

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 4.2.8-ckt4-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages aptitude depends on:
ii  aptitude-common            0.7.7-1
ii  libapt-pkg5.0              1.2.4
ii  libboost-filesystem1.58.0  1.58.0+dfsg-5+b1
ii  libboost-iostreams1.58.0   1.58.0+dfsg-5+b1
ii  libboost-system1.58.0      1.58.0+dfsg-5+b1
ii  libc6                      2.21-9
ii  libcwidget3v5              0.5.17-4+b1
ii  libgcc1                    1:5.3.1-10
ii  libncursesw5               6.0+20160213-1
ii  libsigc++-2.0-0v5          2.6.2-1
ii  libsqlite3-0               3.11.0-2
ii  libstdc++6                 5.3.1-10
ii  libtinfo5                  6.0+20160213-1
ii  libxapian22v5              1.2.22-3

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-doc]  0.7.7-1
ii  libparse-debianchangelog-perl   1.2.0-8
ii  sensible-utils                  0.0.9

Versions of packages aptitude suggests:
ii  apt-xapian-index  0.47+nmu2
pn  debtags           <none>
ii  tasksel           3.34

-- no debconf information



More information about the Aptitude-devel mailing list