Dependency on package unattended-upgrades on Ubuntu Server

Bug #831487 reported by jherazob
50
This bug affects 9 people
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Fix Released
High
Michael Vogt
Xenial
Fix Released
High
Michael Vogt

Bug Description

The package, which includes the always-useful add-apt-repository, depends on package unattended-upgrades. This is not good on servers, as you may want to add PPAs with the convenience of add-apt-repository but still want to control everything that gets upgraded on the machine.

Tested on both Ubuntu 10.04 LTS and 11.04.

Revision history for this message
jherazob (jherazob) wrote :

Marked the affected package

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-properties (Ubuntu):
status: New → Confirmed
Revision history for this message
Guilhem Lettron (guilhem-fr) wrote :

same problem here... (oneiric)

Revision history for this message
Maciej Puzio (maciej-puzio) wrote :

I have noticed the same problem on Ubuntu 12.04 LTS (Precise). In that release, the package is named python-software-properties. It is not clear to me why there is a "hard" dependency here. When forced to install without unattended-upgrades, add-apt-repository works without a hitch. Perhaps a better choice would be a "suggest" or "recommend" dependency, or none at all.

Revision history for this message
Will Bryant (willbryant) wrote :

This affects me too; we had some servers end up with a full boot partition because kernels got installed after we added python-software-properties on 12.04 to configure PPAs.

I don't see what this software has to do with unattended upgrades. We should remove the dependency IMHO.

Do the maintainers agree?

Revision history for this message
Maciej Puzio (maciej-puzio) wrote :

The same problem exists on Ubuntu 14.04 LTS (Trusty). In this case, add-apt-repository is in package software-properties-common, which depends on python3-software-properties, which depends (needlessly) on unattended-upgrades.

Revision history for this message
Robie Basak (racb) wrote :

Now that unattended-upgrades defaults to installing security updates in Xenial, I think this needs more attention. In mitigation, one can disable unattended-upgrades without removing the package (dpkg-reconfigure may work, but certainly hitting the files in /etc/apt/apt.conf.d will) but I understand that one can get more confidence by just purging a package that provides unwanted functionality.

Unless there's a good reason that unattended-upgrades must be a dependency. Can it be a Recommends instead, or perhaps be seeded as a Recommends directly?

tags: added: rls-x-incoming
Changed in software-properties (Ubuntu):
milestone: none → ubuntu-16.04
status: Confirmed → Triaged
importance: Undecided → High
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

I agree, would be nice if unattended-upgrades could be removed, without affecting anything else.

Changed in software-properties (Ubuntu Xenial):
assignee: nobody → Michael Vogt (mvo)
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Patch attached.

Revision history for this message
Robie Basak (racb) wrote :

09:20 <mvo> rbasak: I htink we can drop this dependency, we just need to make sure that the GUI does not offer to set "auto-install-security-updates"

We agreed that dropping the dependency should be fine once the GUI is checked/fixed, and then we can seed (recommend) unattended-upgrades from seeds as needed.

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

@racb, who's going to fix the GUI?

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

This bug was fixed in the package software-properties - 0.96.20

---------------
software-properties (0.96.20) xenial; urgency=medium

  * Add missing pyflakes3 test dependency (got split out recently).

 -- Martin Pitt <email address hidden> Tue, 22 Mar 2016 08:45:29 +0100

Changed in software-properties (Ubuntu Xenial):
status: Triaged → 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.