Bug#617690: apt: APT::Get::AllowUnauthenticated=true always causes warning "packages cannot be authenticated"
Package: apt
Version: 0.8.11.5
Severity: normal
Whenever I set the option APT::Get::AllowUnauthenticated to true for apt-get,
it complains that "packages cannot be authenticated", even if they can and
signatures and checksums are OK. With the option set to false, there is no
warning:
# apt-get install base-passwd --reinstall --download-only -o APT::Get::AllowUnauthenticated=true
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 41,9 kB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
base-passwd
Authentication warning overridden.
Get:1 http://ftp.pl.debian.org/debian/ sid/main base-passwd amd64 3.5.22 [41,9 kB]
Fetched 41,9 kB in 0s (461 kB/s)
Download complete and in download only mode
# apt-get install base-passwd --reinstall --download-only -o APT::Get::AllowUnauthenticated=false
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 41,9 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ftp.pl.debian.org/debian/ sid/main base-passwd amd64 3.5.22 [41,9 kB]
Fetched 41,9 kB in 0s (517 kB/s)
Download complete and in download only mode
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (60, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt depends on:
ii debian-archive-keyring 2010.08.28 GnuPG archive keys of the Debian a
ii gnupg 1.4.11-3 GNU privacy guard - a free PGP rep
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.5.2-4 GCC support library
ii libstdc++6 4.5.2-4 The GNU Standard C++ Library v3
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none> (no description available)
ii aptitude 0.6.3-3.2 terminal-based package manager (te
ii bzip2 1.0.5-6 high-quality block-sorting file co
ii dpkg-dev 1.15.8.10 Debian package development tools
ii lzma 4.43-14 Compression method of 7z format in
ii python-apt 0.7.100.1 Python interface to libapt-pkg
ii synaptic 0.75 Graphical package manager
-- no debconf information
Reply to: