[Bug 1167053] Re: untrusted packages silently added to blacklist

justin 1167053 at bugs.launchpad.net
Wed Apr 10 14:04:20 UTC 2013


I discovered this bug while trying to troubleshoot an issue why
unattended-upgrades wasn't installing packages on a lucid system.

Running 'unattended-upgrade --debug --dry-run` was showing the packages
being added to the blacklist.  I eventually discovered having

"APT::Get::AllowUnauthenticated 1;" set in a configuration under
/etc/apt.conf.d was causing, for some reason, the packages to not be
trusted even thought they were coming from the authenticated
"security.ubuntu.com lucid-security" repo.  This is potentially another
bug I need to file since I'm unsure why that option should cause
packages to not be trusted from trusted repos but I haven't dug into
where the issue may be yet, possibly libapt?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unattended-upgrades in Ubuntu.
https://bugs.launchpad.net/bugs/1167053

Title:
  untrusted packages silently added to blacklist

Status in “unattended-upgrades” package in Ubuntu:
  New

Bug description:
  Packages that are not trusted are added to the blacklist but no reason
  is ever printed out while running in debug mode causing confusion as
  to why a package would be blacklisted until you dig into the source.

  Release: All versions
  Package: All versions

  Expected behavior: Print out debug message that informs user package was blacklisted due to not being trusted
  Actual behavior: Message saying package is blacklisted without reason

  Still trying to figure out how to properly upload a patch to this, but
  basically just adding

  logging.debug("%s blacklisted because it's not trusted" %
  pkgname_from_deb(item.destfile))

  to line 946 would suffice

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1167053/+subscriptions




More information about the foundations-bugs mailing list