[Aptitude-devel] Bug#782777: Cause for #782777 (recent "aptitude forget-new" issues) is likely the fix for #777760 in apt 1.0.9.8
Axel Beckert
abe at debian.org
Tue Apr 21 18:17:36 UTC 2015
Hi again,
after discussing the issue with David on IRC, we've found some more
indicators:
Axel Beckert wrote:
> # dpkg --print-architecture
> amd64
> # dpkg --print-foreign-architectures
> #
All affected systems so far were single arch.
Issuing "dpkg --add-architecture i386" plus "apt-get update" on an
affected amd64 system makes the symptoms vanish and aptitude works
fine again, at least with regards to the new packages list and
"aptitude forget-new".
Issuing "dpkg --remove-architecture i386" (even without "apt-get
update" afterwards) causes the packages to show up
[With 1.0.9.8]
> # apt-get install -s libgnutls26:amd64
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following NEW packages will be installed:
> libgnutls26
> 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
> Inst libgnutls26:i386
> Conf libgnutls26:i386
[With 1.0.9.7 after an "apt-get update"]
> # apt-get install -s libgnutls26:amd64
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following NEW packages will be installed:
> libgnutls26
> 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
> Inst libgnutls26 (2.12.23-18 Debian:experimental [amd64])
> Conf libgnutls26 (2.12.23-18 Debian:experimental [amd64])
Here's the same again on a different system where different packages
where keeping to show up in aptitude's new packages list:
[Single-Arch, with 1.0.9.8]
# apt-get install -s libgcc1-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libgcc1-dbg
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Inst libgcc1-dbg:arm64
Conf libgcc1-dbg:arm64
#
So here it is arm64 and not i386 which shows up unexpectedly on a
single-arch system.
After enabling i386 with "dpkg --add-architecture i386":
# dpkg --add-architecture i386
# apt-get install -s libgcc1-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libgcc1-dbg
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Inst libgcc1-dbg (1:4.9.2-10 Debian:unstable [amd64])
Conf libgcc1-dbg (1:4.9.2-10 Debian:unstable [amd64])
# dpkg --remove-architecture i386
# apt-get install -s libgcc1-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libgcc1-dbg
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Inst libgcc1-dbg:arm64
Conf libgcc1-dbg:arm64
So it doesn't even need the "apt-get update" to make that issue
vanish and come again.
David already seems to on to something...
Regards, Axel
--
,''`. | Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
More information about the Aptitude-devel
mailing list