There is an issue that appears to be more common than others when it comes to upgrading Ubuntu Dapper 6.06 up to Ubuntu Edgy 6.10. This error arises when the Upgrade Manager tries to calculate the packages and dependencies. The error displays this:
The error title is: “Could not calculate the upgrade”
The message is: “An unresolvable problem occured while calculating the upgrade. Please report this bug against the ‘update manager’ package and include the files in /var/log/dist-upgrade/ in the bugreport.”
In my case the last few lines of the /var/log/dist-upgrade/apt.log file showed the following issue:
Starting
Starting 2
Investigating libgl1-mesa-dri
Package libgl1-mesa-dri has broken dep on libgl1-mesa
Considering libgl1-mesa 8 as a solution to libgl1-mesa-dri 0
Removing libgl1-mesa-dri rather than change libgl1-mesa
Investigating xorg
Package xorg has broken dep on libgl1-mesa-dri
Considering libgl1-mesa-dri 0 as a solution to xorg 0
Holding Back xorg rather than change libgl1-mesa-dri
Investigating ubuntu-desktop
Package ubuntu-desktop has broken dep on xorg
Considering xorg 0 as a solution to ubuntu-desktop 10000
Reinst Failed because of libgl1-mesa-dri
Done
The problem is being cased by a dependency issue with libgl1-mesa-dri. I found that libgl1-mesa-dri indicates that the package ubuntu-deskop is dependant on it, yet ubuntu-desktop does not indicate it has this dependency. The other package that is dependant on this one is x-window-system-core.
The solution that I and many other people have found works for this is the following:
1) Run “sudo dpkg -r –force-depends libgl1-mesa libgl1-dev libgl1-dri libglu1-mesa libglu1-mesa-dev mesa-common-dev mesa-utils” from the command prompt
2) Then run “sudo apt-get install -f” from the command prompt.
Also, if you have an entry in your /etc/apt/sources.list file with “compiz” in it then comment out that entry (or entries) by putting # in front of them. One way to do this is by running “sudo gedit /etc/apt/sources.list” from the command prompt.
You may need to manually uninstall libgl1-dri in the Synaptic Package Manager. At least check that it is not installed before proceeding.
You should now be able to install the upgrade. The fastest way to do this is by downloading the Alternative Install ISO file, burning it to a CD-R and then running the command: gksu “sh /cdrom/cdromupgrade”
Of course if you have a really fast internet connection, and it is well past the release date of Edgy (October 26th) then you may wish to just upgrade online with the command: gksu “update-manager -c”
The upgrade procedure is outlined here: http://help.ubuntu.com/community/EdgyUpgrades
Some information on the above fix is available at Launchpad.net Bug # 58424
Please let me know how you get on if the above information helps your upgrade issue.
Latest Comments