software-properties-common 0.96.24.24 bloats dependencies on server

Bug #1762082 reported by Steve Langasek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Fix Released
High
Andrea Azzarone
Bionic
Fix Released
High
Andrea Azzarone

Bug Description

As of version 0.96.24.24, software-properties-common declares dependencies on gir1.2-goa-1.0, gir1.2-snapd-1, and gir1.2-secret-1. This in turn pulls in a variety of transitive dependencies, including glib-networking, which was noticed because it is now part of the cloud image used for autopkgtests and breaks tests on some packages.

We include software-properties-common in the server seed in order for the add-apt-repository command to work. add-apt-repository definitely doesn't seem to be making use of any of these other gir modules. I don't think this dependency is added at the right level; I think the dependency needs to be moved up to whichever package is actually making use of the canonical-livepatch information - which appears to be software-properties-gtk.

Related branches

Steve Langasek (vorlon)
Changed in software-properties (Ubuntu):
assignee: nobody → Andrea Azzarone (azzar1)
importance: Undecided → High
Steve Langasek (vorlon)
Changed in software-properties (Ubuntu Bionic):
status: New → Triaged
milestone: none → ubuntu-18.04
Andrea Azzarone (azzar1)
Changed in software-properties (Ubuntu Bionic):
status: Triaged → In Progress
Steve Langasek (vorlon)
Changed in software-properties (Ubuntu Bionic):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
software-properties (0.96.24.27) bionic; urgency=medium

  * debian/control: Move gir1.2-goa-1.0, gir1.2-secret-1,
    and gir1.2-snapd-1 dependencies from software-properties-common
    to software-properties-gtk (LP: #1762082).
  * SoftwareProperties.py: Wrap importing of gir1.2-snapd-1 in a
    try-except block in order to avoid failures in add-apt-repository.

 -- Andrea Azzarone <email address hidden> Mon, 09 Apr 2018 09:19:23 +0200

Changed in software-properties (Ubuntu Bionic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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