[Bug 1177318] Re: Unattended Upgrades fail to parse "${distro_id}:${distro_codename}-security"

Michael Vogt michaelvogt at imap.cc
Thu Jul 11 19:54:22 UTC 2013


Thanks for your bugrpeort.

What is the ouptut of:
$ sudo unattended-upgrades --debug
?

-- 
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/1177318

Title:
  Unattended Upgrades fail to parse
  "${distro_id}:${distro_codename}-security"

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

Bug description:
  Beginning with Ubuntu 13.04 Raring Ringtail, unattended-upgrades seems
  not to be able to parse /etc/apt/apt.conf.d/50unattended-upgrades
  anymore. The logfile tells:

  cat /var/log/unattended-upgrades/unattended-upgrades.log 
  2013-05-06 14:57:05,724 INFO Pakete, die anfangs auf die schwarzen Liste standen: 
  2013-05-06 14:57:05,724 INFO Skript für unbeaufsichtigte Upgrades wird gestartet.
  2013-05-06 14:57:05,725 INFO erlaubte Ursprünge sind: ['o=Ubuntu,a=raring-security', 'o=Ubuntu,a=raring-updates']
  2013-05-06 14:57:09,114 INFO Es wurden keine Pakete gefunden, von denen ein unbeaufsichtigtes Upgrade durchgeführt werden kann.
  2013-05-07 11:33:04,944 INFO Pakete, die anfangs auf die schwarzen Liste standen: 
  2013-05-07 11:33:04,944 INFO Skript für unbeaufsichtigte Upgrades wird gestartet.
  2013-05-07 11:33:04,944 INFO erlaubte Ursprünge sind: ['o=Ubuntu,a=raring-security', 'o=Ubuntu,a=raring-updates']
  2013-05-07 11:33:08,398 INFO Es wurden keine Pakete gefunden, von denen ein unbeaufsichtigtes Upgrade durchgeführt werden kann.

  which means two times, that allowed sources are ['o=Ubuntu,a=raring-
  security', 'o=Ubuntu,a=raring-updates'].

  I do suspect it is because of the automatic distribution setting in
  /etc/apt/apt.conf.d/50unattended-upgrades or the setting of the
  corresponding variables:

  "${distro_id}:${distro_codename}-updates"

  When this line is set manually to "Ubuntu:raring-updates", it will
  work.

  System: Ubuntu Gnome 13.04, all up-to-date

  $ lsb_release -rd
  Description:	Ubuntu 13.04
  Release:	13.04

  $ cat /etc/apt/apt.conf.d/10periodic 
  APT::Periodic::Update-Package-Lists "1";
  APT::Periodic::Download-Upgradeable-Packages "1";
  APT::Periodic::AutocleanInterval "1";
  APT::Periodic::Unattended-Upgrade "1";

  $ cat /etc/apt/apt.conf.d/50unattended-upgrades 
  // Automatically upgrade packages from these (origin:archive) pairs
  Unattended-Upgrade::Allowed-Origins {
  	"${distro_id}:${distro_codename}-security";
  	"${distro_id}:${distro_codename}-updates";
  //	"${distro_id}:${distro_codename}-proposed";
  //	"${distro_id}:${distro_codename}-backports";
  };

  // List of packages to not update
  Unattended-Upgrade::Package-Blacklist {
  //	"vim";
  //	"libc6";
  //	"libc6-dev";
  //	"libc6-i686";
  };
  ...

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




More information about the foundations-bugs mailing list