[Aptitude-devel] Bug#851901: aptitude: "E: Internal Error, No file name for apt-build:amd64" after failed reinstallation of apt-build, then endless loop "Can't find a source to download version '0.12.46'" in TUI after installing a fixed apt-build with "dpkg -i"
Axel Beckert
abe at debian.org
Thu Jan 19 17:45:26 UTC 2017
Package: aptitude
Version: 0.8.4-1
Severity: serious
Justification: Maintainer's opinion
Hi,
to reproduce https://bugs.debian.org/851814, I pressed L on apt-build in
aptitude's TUI. As expected the configuration of the reinstalled package
failed. So far no problem.
But afterwards, when I want to install or upgrade other packages with
aptitude, aptitude always aborts with "E: Internal Error, No file name
for apt-build:amd64", be it from TUI or CLI:
# aptitude install
The following packages will be REINSTALLED:
apt-build
The following packages will be REMOVED:
liblircclient0{pu} libmediaart-2.0-0{pu}
The following packages will be upgraded:
cvsps docutils-common fbtv ftp-ssl gdb libllvm4.0 libtracker-sparql-1.0-0 pia python-docutils python3-docutils scantv tcsh ttv v4l-conf xawtv
xawtv-plugins
The following packages are RECOMMENDED but will NOT be installed:
docutils-doc
16 packages upgraded, 0 newly installed, 1 reinstalled, 2 to remove and 1 not upgraded.
Need to get 0 B/17.9 MB of archives. After unpacking 13.3 kB will be used.
Do you want to continue? [Y/n/?] y
E: Internal Error, No file name for apt-build:amd64
So far this wouldn't go for "serious", just for "important".
But I then tried to fix this by installing apt-build 0.12.46 which fixes
#851814 and which I'm about to upload.
But then it got worse:
# aptitude install
The following packages will be REINSTALLED:
apt-build
The following packages will be REMOVED:
liblircclient0{pu} libmediaart-2.0-0{pu}
The following packages will be upgraded:
cvsps docutils-common fbtv ftp-ssl gdb libllvm4.0 libtracker-sparql-1.0-0 pia python-docutils python3-docutils scantv tcsh ttv v4l-conf xawtv
xawtv-plugins
The following packages are RECOMMENDED but will NOT be installed:
docutils-doc
16 packages upgraded, 0 newly installed, 1 reinstalled, 2 to remove and 1 not upgraded.
E: Can't find a source to download version '0.12.46' of 'apt-build:amd64'
After unpacking 13.3 kB will be used.
Do you want to continue? [Y/n/?] y
E: Can't find a source to download version '0.12.46' of 'apt-build:amd64'
E: Internal error: couldn't generate list of packages to download
E: Perhaps the package lists are out of date, please try 'aptitude update' (or equivalent) first
(The suggested "aptitude update" didn't help at all.)
That's ok-ish on the CLI, but on the TUI I got an endless loop (and 100%
CPU usage) directly after starting the TUI without hitting any key since
aptitude started:
┌─────────────────────────────────────────────────────────────────────────────┐B
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' #│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│E: Can't find a source to download version '0.12.46' of 'apt-build:amd64' ▒│
│ [ Ok ] │
└─────────────────────────────────────────────────────────────────────────────┘
If I press Enter to acknowledge the messages, a new such dialog pops up
immediately and fills up again with the same messages. No chance to use
the TUI in this state. Only Ctrl-C helps.
How to probably reproduce:
Use a clean jessie chroot. Install apt-build (should get you
0.12.45). Use snapshot.debian.org to replace the jessie sources.list
entries with sources.list entries showing the state of the repository on
late 18th of January 2017 with sed 4.3-3, but still with apt-build
0.12.45. So far for the preparations.
Then try to reinstall apt-build with aptitude. Then try
to do any modifying action with aptitude. That get's you to the first
part of the issue.
Now download apt-build 0.12.46, install it with "dpkg -i" and call
aptitude again and you should get the endless loop inside the TUI.
Manuel: I also created an aptitude state bundle (180MB) which I can
provide to you if your can't or don't want to reproduce the issue as
described the way above. (Will now try to get out of that mess. Will
post it here, once I found a way out of this state.
Manuel: Feel free to
* downgrade the severity if you think it's less easy to get into that
state, and to
* clone the bug report in case these describes two separate issues
(e.g. the latter symptoms might generally happen if an unexecuted
reinstallation is scheduled and then the package is updated to a
different version by other means than aptitude.)
-- Package-specific info:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20170119/d58009ef/attachment.ksh>
-------------- next part --------------
-- System Information:
Debian Release: 9.0
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages aptitude depends on:
ii aptitude-common 0.8.4-1
ii libapt-pkg5.0 1.4~beta4
ii libboost-filesystem1.62.0 1.62.0+dfsg-4
ii libboost-iostreams1.62.0 1.62.0+dfsg-4
ii libboost-system1.62.0 1.62.0+dfsg-4
ii libc6 2.24-9
ii libcwidget3v5 0.5.17-4+b1
ii libgcc1 1:6.3.0-3
ii libncursesw5 6.0+20161126-1
ii libsigc++-2.0-0v5 2.10.0-1
ii libsqlite3-0 3.16.2-1
ii libstdc++6 6.3.0-3
ii libtinfo5 6.0+20161126-1
ii libxapian30 1.4.2-1
Versions of packages aptitude recommends:
ii libparse-debianchangelog-perl 1.2.0-12
ii sensible-utils 0.0.9
Versions of packages aptitude suggests:
ii apt-xapian-index 0.49
ii aptitude-doc-en [aptitude-doc] 0.8.4-1
ii debtags 2.1.2
pn tasksel <none>
-- no debconf information
More information about the Aptitude-devel
mailing list