Upgrade fails "Can not mark 'kubuntu-desktop' for upgrade "

Bug #680088 reported by Steveire
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Invalid
Undecided
Unassigned
Maverick
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

I can not upgrade from 10.04 to 10.10.

$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04
tephen@chimera:~$ sudo do-release-upgrade
[sudo] password for stephen:
Checking for a new ubuntu release
Done Upgrade tool signature
Done Upgrade tool
Done downloading
extracting 'maverick.tar.gz'
authenticate 'maverick.tar.gz' against 'maverick.tar.gz.gpg'
tar: Removing leading `/' from member names

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done

Updating repository information
WARNING: Failed to read mirror file

Third party sources disabled

Some third party entries in your sources.list were disabled. You can
re-enable them after the upgrade with the 'software-properties' tool
or your package manager.

98% [Working]
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done

Calculating the changes

Calculating the changes

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade:
Can not mark 'kubuntu-desktop' for upgrade

This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu

If none of this applies, then please report this bug against the
'update-manager' package and include the files in
/var/log/dist-upgrade/ in the bug report.

Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done

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

main.log:
2010-11-22 16:12:14,065 DEBUG Marking 'kubuntu-desktop' for upgrade
2010-11-22 16:12:16,481 DEBUG Can't mark 'kubuntu-desktop' for upgrade (E:Unable to correct problems, you have held broken packages.)
2010-11-22 16:12:16,535 ERROR Dist-upgrade failed: 'Can not mark 'kubuntu-desktop' for upgrade'

apt.log says:
Investigating plasma-netbook
Package plasma-netbook has broken Depends on libkephal4
  Considering libkephal4 13 as a solution to plasma-netbook 2
  Holding Back plasma-netbook rather than change libkephal4
Investigating kubuntu-desktop
Package kubuntu-desktop has broken Depends on plasma-netbook
  Considering plasma-netbook 2 as a solution to kubuntu-desktop 10000
    Reinst Failed early because of libkephal4
Done

Revision history for this message
Jonathan Riddell (jr) wrote :

This is caused by having 4.5.3 for 10.04 installed which is newer than the KDE Platform version in 10.10

Changed in update-manager (Ubuntu):
status: New → Invalid
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks Jonathan,

if its a common issue I can add a quirks handler for it - is it comming from a PPA?

Revision history for this message
Samuel Suther (s-suther) wrote :

Have excatly the same Problem, any idea how to fix it?

Revision history for this message
Jörg Stettner (joerg-stettner) wrote :

I have the same problem. Upgraded to KDE 4.5.3 using KpackageKit and backports repository.
Will I ever be able to proceed to a newer Kubuntu release??
Hey, come on, there must be a way foreward!
Any comments appreciated, thx.

Revision history for this message
Steveire (steveire) wrote :

We will be able to upgrade if ubuntu 10.10 gets kde 4.5.3 in the -updates repository.

Revision history for this message
Jonathan Riddell (jr) wrote :

Yes it comes from the Kubuntu Backports ~kubuntu-ppa/backports PPA

Revision history for this message
Jonathan Riddell (jr) wrote :

Quirk would be that when Kubuntu's backports PPA is being used on Lucid it should be replaced with Kubuntu's updates PPA on Maverick.

ppa:kubuntu-ppa/backports replaced with ppa:kubuntu-ppa/ppa

Changed in update-manager (Ubuntu):
status: Invalid → Triaged
Revision history for this message
Michael Vogt (mvo) wrote :

To disable commenting out of PPAs you can either set:
export RELEASE_UPRADER_ALLOW_THIRD_PARTY=1
or edit the file:
/etc/update-manager/release-upgrades.d/uprades.cfg
and add
[Sources]
AllowThirdParty=true

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

A alternative (and prefered way) to test is:
$ bzr get lp:~ubuntu-core-dev/update-manager/maverick
$ cd maverick/DistUpgrade
$ sudo ./dist-upgrade

and see if that works as excepted. If so, I can push this into a stable release update.

Revision history for this message
Steveire (steveire) wrote :

Thanks for that.

I'll try it when I'm back in the office next week.

Revision history for this message
Steveire (steveire) wrote :

I ran the tool and got a dialog with this content:

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade:
Trying to install blacklisted version 'blcr-dkms_0.8.2-13'

 This can be caused by:
 * Upgrading to a pre-release version of Ubuntu
 * Running the current pre-release version of Ubuntu
 * Unofficial software packages not provided by Ubuntu

If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bug report.

Revision history for this message
Rob Royan (trroyan) wrote :

I had the same problem, unable to upgrade from 10.04 to 10.10 that resulted from having previously upgraded KDE. I preformed the suggested steps:

      A alternative (and prefered way) to test is:
      $ bzr get lp:~ubuntu-core-dev/update-manager/maverick
      $ cd maverick/DistUpgrade
      $ sudo ./dist-upgrade

Upgrade completed with no issues. Thanks.

Revision history for this message
Martin Pitt (pitti) wrote :

Please fix this in natty ASAP so that this can progress to maverick-updates soon.

Changed in update-manager (Ubuntu Maverick):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted update-manager into maverick-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!

rbowers28 (rbowers28)
Changed in update-manager (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Jonathan Riddell (jr) wrote :

This only affects maverick

Changed in update-manager (Ubuntu):
status: Fix Committed → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
update-manager (1:0.142.23) maverick-proposed; urgency=low

  * DistUpgrade/DistUpgradeController.py:
    - add quirks handler for upgrade form the kubuntu ppa
      (LP: #680088)
  * UpdateManager/Core/DistUpgradeFetcherCore.py, do-release-upgrade:
    - fix deprecation warnings (LP: #744990)
 -- Michael Vogt <email address hidden> Wed, 30 Mar 2011 10:01:59 +0200

Changed in update-manager (Ubuntu Maverick):
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.