Thursday, May 20, 2010

Upgrade Issue (Especially for someone using edgers ppa), Broken upgrade

OS: Ubuntu 10.04 Lucid Lynx
Kernel: 2.6.31.22 - generic
Date: May 29th, 2010

Hey guys,
I was pretty excited about 10.04 and new social networking support. I wanted to get it as soon as possible but alas I couldn't here is an error which I received:

An unresolvable problem occurred while calculating the upgrade:
E:Unable to correct problems, you have held broken packages.

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

Looking around a little I came to know its an issue with third party softwares. 
So there was option of clean upgrade where I was supposed to remove all third party softwares which included edgers driver for x server (if you have followed previous post about installing drivers for 3D games) and in term UI and all. Which is really scary :s.

 Luckily I found a roundabout way to do it, Here are steps:
 
Deactivate all third party repositories:
  •  System --> Administration --> Software Sources --> Other Software
Untick all repositories --> Close.

If you have already executed update to new distribution:
cd to /var/log/dist-update then cd to latest directory (for each upgraded try there will be a directory created with date as its name)
  • cat main.log 
Around the end of this file - main.log you will see conflicting repository (mostly xorg repository)
Look for packages related to this repository in synaptic
  • Select package --> Package (tab) --> Force Version and force it to downgrade to package available in Ubuntu repository

Now you are set to go retry upgrade and it should work without any issue at all :) 

Have fun hope that works for you as well.
This solution was posted at : http://ubuntuforums.org/showthread.php?t=1488156 last checked May 20th, 2010

Saturday, May 8, 2010

Upgrade to 10.04

Hi Everyone,
 This one is not much of a work around but a stumbling stone.
 So I explained adding edgers-ppa for Video driver in one of previous posts, however it turns out that third party installations are preventing me to upgrade to 10.04 Lucid. My speculation is edgers-ppa as other third party softwares shouldn't really cause any issue for upgrade. I will still try one method mentioned at (https://help.ubuntu.com/community/CleanUpgrade) but it can wait till I finish up with my finals.
 I don't really think anyone is following here to get the solution but if you are then put a comment if you are upto trying the link mentioned.
Regards :)