unattended-upgrades setting does not fit ubuntu repositories

Bug #691886 reported by Nobuto Murata
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
unattended-upgrades
Fix Released
Undecided
Unassigned
unattended-upgrades (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: unattended-upgrades

unattended-upgrades setting in /etc/apt/apt.conf.d/50unattended-upgrades assumes Debian repositories.

Unattended-Upgrade::Allowed-Origins {
        "${distro_id} stable";
        "${distro_id} ${distro_codename}-security";
// "${distro_id} ${distro_codename}-updates";
// "${distro_id} ${distro_codename}-proposed-updates";
};

This setting should be fitted for Ubuntu like below:

Unattended-Upgrade::Allowed-Origins {
        "${distro_id} ${distro_codename}";
        "${distro_id} ${distro_codename}-security";
// "${distro_id} ${distro_codename}-updates";
// "${distro_id} ${distro_codename}-proposed";
// "${distro_id} ${distro_codename}-backports";
};

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unattended-upgrades 0.64ubuntu1
ProcVersionSignature: Ubuntu 2.6.37-7.19-generic 2.6.37-rc3
Uname: Linux 2.6.37-7-generic i686
Architecture: i386
Date: Sat Dec 18 12:57:19 2010
LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20101202)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: unattended-upgrades

Tags: natty
Revision history for this message
Nobuto Murata (nobuto) wrote :
Changed in unattended-upgrades (Ubuntu):
assignee: nobody → Nobuto MURATA (nobuto)
status: New → In Progress
Revision history for this message
Nobuto Murata (nobuto) wrote :

I proposed for merging my branch.

Changed in unattended-upgrades (Ubuntu):
assignee: Nobuto MURATA (nobuto) → nobody
status: In Progress → New
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your branch. The rational for this format is that it will work on both debian and ubuntu. But I guess that is simplify confusing for most people so I will make it pick the right template at buildtime instead.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unattended-upgrades - 0.65ubuntu1

---------------
unattended-upgrades (0.65ubuntu1) natty; urgency=low

  [ Michael Vogt ]
  * debian/po/pt_BR.po:
    - updated, thanks to Adriano Rafael Gomes (closes: #607403)
  * debian/rules:
    - use different template depending on the build host
      (ubuntu,debian)
    - remove obsolete arch-build target
  * data/50unattended-upgrades.Debian:
    - add debian specific template

  [ Nobuto MURATA ]
  * data/50unattended-upgrades.Ubuntu:
    - adapt repository format for Ubuntu, LP: #691886
 -- Michael Vogt <email address hidden> Fri, 07 Jan 2011 15:57:20 +0100

Changed in unattended-upgrades (Ubuntu):
status: New → Fix Released
Revision history for this message
Nobuto Murata (nobuto) wrote :

Upstream already contains this fix. I will also mark as Fix Released against upstream task.

Changed in unattended-upgrades:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.