do-release-upgrade removed system-config-printer-gnome during 16.04 -> 16.10 upgrade

Bug #1637466 reported by Marius Gedminas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu GNOME
New
Undecided
Unassigned
gnome-control-center (Ubuntu)
Fix Released
Medium
Unassigned
Yakkety
Fix Released
Medium
Unassigned
ubuntu-release-upgrader (Ubuntu)
Won't Fix
Medium
Brian Murray
Yakkety
Won't Fix
Medium
Brian Murray

Bug Description

Impact
=======
Users who upgraded Ubuntu GNOME 16.04 LTS to Ubuntu GNOME 16.10 using do-release-upgrade (update-manager too because it calls do-release-upgrade) had system-config-printer-gnome uninstalled. system-config-printer-gnome is required for the Printers panel of the Settings app to work.

Test Case
=========
Ensure that gnome-control-center depends on system-config-printer-gnome.

Regression Potential
====================
Unless someone has a reason to not want system-config-printer-gnome installed, there doesn't seem to be any regression potential here.

Other Info
==========
I (jbicha) am not applying this change to zesty now, because I want to merge system-config-printer with Debian first so that gnome-control-center can depend on system-config-printer-common instead of system-confg-printer-gnome.

Original Bug Report
===================
I've a freshly-installed Ubuntu GNOME 16.04.1 LTS system that I upgraded to 16.10 using 'sudo do-release-upgrade' in a terminal[*]. The upgrade process removed system-config-printer-gnome, which I've discovered today, when my attempts to configure a new printer failed with an unhelpful error message.

/var/log/dist-upgrade/apt.log (and I hope ubuntu-bug will attach it to this bug) indicates that system-config-printer-gnome was removed because (the old version of) it depended on packagekit-system-interface, which is not in yakkety.

[*] because six months earlier when I used the GUI update-manager to upgrade an Ubuntu GNOME 15.10 system to 16.04 LTS I had a lot of pain related to the GUI bits (the screensaver-won't-unlock-post-gnome-shell-upgrade bug, and the update-manager-UI-freezes-on-ctrl-shift-I bug).

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: ubuntu-release-upgrader-core 1:16.10.7
ProcVersionSignature: Ubuntu 4.8.0-26.28-generic 4.8.0
Uname: Linux 4.8.0-26-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: GNOME
Date: Fri Oct 28 13:51:42 2016
InstallationDate: Installed on 2016-09-10 (48 days ago)
InstallationMedia: Ubuntu-GNOME 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160720)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to yakkety on 2016-10-15 (12 days ago)

Related branches

Revision history for this message
Marius Gedminas (mgedmin) wrote :
tags: added: xenial2yakkety
Revision history for this message
Brian Murray (brian-murray) wrote :

I've tried a variety of things including installing packagekit-tools, enabling the python3 PPA you use and installing python3.3-dev and then python3.4-dev. I also installed ubuntu-gnome-desktop and removed ubuntu-desktop. None of these resulted in the suggested removal of system-config-printer-gnome.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Incomplete
Revision history for this message
Marius Gedminas (mgedmin) wrote :

I also had ppa:gnome3-team/gnome3 and ppa:gnome3-team/gnome3-staging enabled on 16.04, but I removed them both with ppa-purge before doing the upgrade. I wonder if that could've had any effect on this.

Revision history for this message
Brian Murray (brian-murray) wrote :

I was able to recreate this by taking a stock Ubuntu Gnome 16.04.1 install and starting the upgrade to 16.10, viewing the details of the upgrade I see that system-config-printer-gnome will be removed.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Brian, should we have ubuntu-gnome-desktop add a Depends on s-c-p-gnome as a yakkety SRU?

Revision history for this message
Brian Murray (brian-murray) wrote :

DistUpgrade.cfg can also contain a KeepInstalledPkgs section which I tested and works e.g.

[ubuntu-gnome-desktop]
KeyDependencies=ubuntu-gnome-default-settings, ubuntu-gnome-wallpapers
KeepInstalledPkgs=system-config-printer-gnome

While it'd be good to fix ubuntu-gnome-desktop to again depend on s-c-p-gnome I think using KeepInstalledPkgs might be easier.

Changed in ubuntu-release-upgrader (Ubuntu Yakkety):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Brian Murray (brian-murray)
importance: High → Medium
Changed in ubuntu-release-upgrader (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → Medium
Changed in ubuntu-release-upgrader (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
status: Triaged → Fix Committed
Changed in ubuntu-release-upgrader (Ubuntu Yakkety):
status: Triaged → In Progress
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Brian,

I want all users of gnome-control-center in Ubuntu 16.10 (including those who upgraded before November) to have system-config-printer-gnome installed so that the Printers panel worked so I'll add the dependency there.

For 17.04, Ubuntu GNOME plans to follow Debian's lead and move scp-dbus-service.py to system-config-printer-common so that we will no longer need system-config-printer-gnome installed.

Changed in gnome-control-center (Ubuntu Yakkety):
status: New → Triaged
importance: Undecided → Medium
Jeremy Bícha (jbicha)
description: updated
Revision history for this message
Andy Whitcroft (apw) wrote :

IRC discussions settled that this ubuntu-release-upgrader change is not needed in the light of the changes needed in comment #7 to fix those already affected.

Jeremy Bícha (jbicha)
Changed in gnome-control-center (Ubuntu Yakkety):
status: Triaged → In Progress
description: updated
description: updated
Revision history for this message
Martin Pitt (pitti) wrote :

Note that releasing this into -updates requires fixing this in zesty first. This doesn't block acceptance into -proposed, but please keep it in mind.

Changed in gnome-control-center (Ubuntu Yakkety):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Marius, or anyone else affected,

Accepted gnome-control-center into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-control-center/1:3.20.2-0ubuntu2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in ubuntu-release-upgrader (Ubuntu):
status: Fix Committed → Won't Fix
Changed in ubuntu-release-upgrader (Ubuntu Yakkety):
status: In Progress → Won't Fix
Mathew Hodson (mhodson)
Changed in gnome-control-center (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-control-center - 1:3.22.1-1ubuntu2

---------------
gnome-control-center (1:3.22.1-1ubuntu2) zesty; urgency=medium

  * debian/control.in:
    - Depend on system-config-printer-common instead of recommending
      system-config-printer-gnome (LP: #1637466) (LP: #1643129)
    - Depend on instead of recommend network-manager-gnome (Closes: #845021)

 -- Jeremy Bicha <email address hidden> Thu, 24 Nov 2016 18:16:34 -0500

Changed in gnome-control-center (Ubuntu):
status: New → Fix Released
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I did not test the upgrade from Ubuntu 16.04.

I did install gnome-control-center 1:3.20.2-0ubuntu2 from yakkety-proposed on Ubuntu GNOME 16.10 and confirmed that it now depends on system-config-printer-gnome.

zesty is also fixed now but in a different way (see the changelog in the previous comment) because system-config-printer was merged from Debian.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-control-center - 1:3.20.2-0ubuntu2

---------------
gnome-control-center (1:3.20.2-0ubuntu2) yakkety; urgency=medium

  * debian/control.in:
    - Depend on (instead of recommend) system-config-printer-gnome to
      ensure the Printers panel works. The dependency was uninstalled
      for some people upgrading from Ubuntu 16.04 LTS (LP: #1637466)

 -- Jeremy Bicha <email address hidden> Mon, 07 Nov 2016 09:53:01 -0500

Changed in gnome-control-center (Ubuntu Yakkety):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for gnome-control-center has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.