during kubuntu-desktop upgrade to Natty, gnome packages are removed if python is hold back to <2.7

Bug #769680 reported by Sam Azer
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Medium
Unassigned
Natty
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: update-manager

TEST CASE:
1. use kubuntu maverick and install virt-manager
2. install the obsolete dontzap package from https://launchpad.net/ubuntu/jaunty/+package/dontzap (links to i386/amd64 debs)
3. run the upgrade with update-manager and verify that it prompts for the removal of virt-manager
4. cancel the upgrade
5. run "update-manager --proposed"
6. verify that this time it does not prompt for the removal of virt-manager

Problem:

* after the upgrade the Virt-Manager is gone.
* after re-installing virt-manager it shows no VM's (a deeply disturbing discovery!)
* after studying the problem for a while it turns out that qemu-kvm is also missing

Fortunately, after re-installing qemu-kvm and restarting libvirt-bin and qemu-kvm everything appears to be okay.

Thanks!

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: update-manager-kde 1:0.150
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Sat Apr 23 20:25:45 2011
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager
UpgradeStatus: Upgraded to natty on 2011-04-23 (0 days ago)

Related branches

Revision history for this message
Sam Azer (samazer) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Could you please add the log files from '/var/log/dist-upgrade/' to this bug report as separate attachments? Thanks in advance.

Changed in update-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Sam Azer (samazer) wrote :

Please note that, after playing with the upgraded system for a while, it's clear that there are actually a great number of packages missing. To name only a few that I've installed recently: doxygen, evince and a moment ago I found out that that ODBC driver that I was using with OpenOffice Base is gone.

Is it possible that this problem has something to do with the fact that I have been upgrading this workstation for a long time through various releases and beta cycles?

Thank you.

Changed in update-manager (Ubuntu):
status: Incomplete → New
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

The logs are from your upgrade to maverick on 2010-10-02 .

Could you please attach the right logs with the upgrade to 11.04 ? these files are in /var/log/dist-upgrade/
thanks.

Changed in update-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Sam Azer (samazer) wrote :

Sorry & Thanks! p.s. still finding lots of missing packages. wasn't able to play mp3's using amarok because gstreamer0.10-plugins-good was removed. Thanks again!

Changed in update-manager (Ubuntu):
status: Incomplete → New
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for the logs. At first sight the upgrade looks very wrong. many packages were remove or kept at the same version while they should have been upgraded.

I'm setting to confirm and will investigate.

Changed in update-manager (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

That's a bit tricky, I think the scenario is something approaching what follows.

The system refuses to upgrade python because of the dependency of dontzap (depends on python <<2.7, from jaunty ?)
Then the upgrader decides to removes gconf2 because python is more importance and kept back. Nothing prevents from doing this because ubuntu-desktop is not installed since it is a kubuntu based system (kubuntu-desktop is installed and detected)

With the removal of gconf2, most of the gnome packages have been removed as well, and many others have been kept to the version in Maverick. You're currently running a version of Ubuntu somewhere between maverick and natty.

I'll attach a list of the packages removed and not upgraded to help you in recovering your system.

I'm marking this report as triaged/medium, but I think it is really a corner case.

Changed in update-manager (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I attached 2 files, the first is the list of packages that have been removed, the second is the list of files that have been kept to the same version.

To come back to a sane situation. First remove dontzap, from the command line
$ sudo apt-get remove dontzap
Then upgrade python and all the package being hold back to maverick
$ sudo apt-get update && sudo apt-get dist-upgrade
Before pressing 'Y' review the actions that the upgrader will do.

Then reinstall the packages removed, you can review the list attached and install them one by one or all in a row with:
$ sudo apt-get install $(cat removed.log)
Review any action that is to be taken before proceeding.

If some packages are not installable then remove them from the list and try again.

Sorry for the inconvenience and thanks for your help to make Ubuntu better.

summary: - upgrading from 10.10beta to 11.04b2 removes virt-manager and qemu-kvm
+ during kubuntu-desktop upgrade to Natty, gnome packages are removed if
+ python is hold back to <2.7
Revision history for this message
Sam Azer (samazer) wrote :

Thank you, Jean-Baptiste.

Please note that I don't directly use python and did not manually pin any python package to any special version.

I'm guessing that the python problem was solved when I re-installed virt-manager.

dist-upgrade did not make any changes (probably because I've already re-installed some packages over the past day or two.) I've reviewed your package lists and installed a few more packages. Hopefully everything is normal now.

Thanks again,
Take care,
Sam.

tags: added: maverick2natty
removed: natty
Michael Vogt (mvo)
Changed in update-manager (Ubuntu Natty):
status: Triaged → In Progress
Michael Vogt (mvo)
description: updated
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

I've rejected the proposed upload version 1:0.150.1 because of the additional update 1:0.150.2, which does not include this one.

@mvo: 1.0.150.2 needs to be built with dpkg-buildpackage -v1:0.150 to properly pick up the change sin 1:0.150.1

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks Clint and sorry for that. I uploaded a fixed version into the archive now.

Changed in update-manager (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted update-manager into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in update-manager (Ubuntu Natty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

SRU verification for Natty:
I have reproduced the problem with update-manager 1:0.150 in natty and have verified that the version of update-manager 1:0.150.2 in -proposed fixes the issue. I tried to upgrade with dontzap and kubuntu-desktop install and with or without ubuntu-desktop installed too, and in all cases I can proceed with the upgrade, dontzap is removed and no other conflicting package (e.g python) is hold back or removed.

Marking as verification-done

tags: added: verification-done
removed: verification-needed
Revision history for this message
Sam Azer (samazer) wrote :

You guys are all super-stars! Thanks, as always, for your service to the community! God bless, Take care, --Sam.

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

This bug was fixed in the package update-manager - 1:0.150.2

---------------
update-manager (1:0.150.2) natty-proposed; urgency=low

  * debian/control:
    - point to "natty" branch
  * DistUpgrade/DistUpgrade.cfg:
    - remove "kde-plasmoid-cwp" early as it will break upgrades
      later (LP: #773022)
  * DistUpgrade/DistUpgradeCache.py:
    - do not fail if not all meta-package can not be upgraded, packages
      like ubuntu-desktop and xubuntu-desktop have implicit conflicts
      LP: #775411

update-manager (1:0.150.1) natty-proposed; urgency=low

  [ Brian Murray ]
  * DistUpgrade/DistUpgradeApport.py:
    - do not report zero size attachments (LP: #772052)
  * DistUpgrade/DistUpgrade.cfg:
    - enable apport for distribution upgrades (LP: #772913)
  * DistUpgrade/DistUpgradeController.py:
    - use service to start apport

  [ Michael Vogt ]
  * DistUpgrade/DistUpgrade.cfg:
    - Remove 'dontzap' from kubuntu-desktops rules (LP: #769680).
      This fixes a upgrade issue when a old package is leftover
 -- Michael Vogt <email address hidden> Mon, 02 May 2011 09:52:35 +0200

Changed in update-manager (Ubuntu Natty):
status: Fix Committed → Fix Released
tags: added: testcase
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.