Bug#501274: Some more details for Bug#501274 (apt-cache show segfaults on powerpc when APT::Cache::AllVersions is false)
found 501274 0.7.21
kthxbye
Hi,
I can reproduce this bug, too, but only with virtual package names.
(And only on powerpc, but this seems to be known.)
"vimoutliner" seems not only special because no binary-package of that
name exists, only a source package. But the binary package has also a
"Replaces: vimoutliner" which causes apt-cache policy not to argue
about an unknown package.
I tried to find a package with a similar situation, but only found
source packages where the source package name is not present as binary
name anywhere. And with
apt-cache --no-all-versions show eglibc
apt-cache --no-all-versions show control-center
the bug did not appear nor did it with a fictitious non-existent
package name or some characters added or removed from the end of
"vimoutliner". Also
apt-cache --no-all-versions showsrc vimoutliner
did not segfault (but unexpectedly showed more than one version).
What did segfault, too, was
apt-cache --no-all-versions show abiword-gnome
which is a virtual package only (now).
All other virtual packages I tried, segfault, too: alsa, aalib1,
x-terminal-emulator, emacsen, perl5, awk, x-www-browser, firefox,
thunderbird.
So the common thing with all the segfaults seems not "source name used
as binary name" but "is only referred to or a virtual package".
HTH.
Regards, Axel
--
Axel Beckert - abe@deuxchevaux.org, abe@noone.org - http://noone.org/abe/
Reply to: