trouble while upgrading form ubuntu 10.04 to 10.10.

Asked by ops

omshrestha@omshrestha-laptop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.2 LTS"
omshrestha@omshrestha-laptop:~$
omshrestha@omshrestha-laptop:~$ uname -a
Linux omshrestha-laptop 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 21:21:01 UTC 2011 i686 GNU/Linux
omshrestha@omshrestha-laptop:~$ sudo rm /var/lib/apt/lists/lock
[sudo] password for omshrestha:
omshrestha@omshrestha-laptop:~$ sudo rm /var/lib/apt/lists/lock
rm: cannot remove `/var/lib/apt/lists/lock': No such file or directory
omshrestha@omshrestha-laptop:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup

sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
omshrestha@omshrestha-laptop:~$
omshrestha@omshrestha-laptop:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
omshrestha@omshrestha-laptop:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
omshrestha@omshrestha-laptop:~$ sudo rm -rf /var/lib/dpkg/updates/*
omshrestha@omshrestha-laptop:~$ sudo rm -rf /var/lib/apt/lists
omshrestha@omshrestha-laptop:~$ sudo rm /var/cache/apt/*.bin
omshrestha@omshrestha-laptop:~$ sudo mkdir /var/lib/apt/lists
omshrestha@omshrestha-laptop:~$ sudo mkdir /var/lib/apt/lists/partial
omshrestha@omshrestha-laptop:~$ LANG=C;sudo apt-get clean
omshrestha@omshrestha-laptop:~$
omshrestha@omshrestha-laptop:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
omshrestha@omshrestha-laptop:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
omshrestha@omshrestha-laptop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Get:1 http://archive.ubuntu.com lucid Release.gpg [189B]
Get:2 http://archive.ubuntu.com lucid-updates Release.gpg [198B]
Get:3 http://archive.canonical.com lucid Release.gpg [198B]
Get:4 http://archive.ubuntu.com lucid-security Release.gpg [198B]
Get:5 http://archive.canonical.com lucid Release [8215B]
Get:6 http://archive.ubuntu.com lucid Release [57.2kB]
Get:7 http://archive.canonical.com lucid/partner Packages [12.0kB]
Get:8 http://archive.canonical.com lucid/partner Sources [5308B]
Get:9 http://archive.ubuntu.com lucid-updates Release [44.7kB]
Get:10 http://archive.ubuntu.com lucid-security Release [44.7kB]
Get:11 http://archive.ubuntu.com lucid/main Packages [1386kB]
Get:12 http://archive.ubuntu.com lucid/restricted Packages [6208B]
Get:13 http://archive.ubuntu.com lucid/main Sources [659kB]
Get:14 http://archive.ubuntu.com lucid/restricted Sources [3775B]
Get:15 http://archive.ubuntu.com lucid/universe Packages [5448kB]
Get:16 http://archive.ubuntu.com lucid/universe Sources [3165kB]
Get:17 http://archive.ubuntu.com lucid/multiverse Packages [180kB]
Get:18 http://archive.ubuntu.com lucid/multiverse Sources [119kB]
Get:19 http://archive.ubuntu.com lucid-updates/main Packages [443kB]
Get:20 http://archive.ubuntu.com lucid-updates/restricted Packages [3240B]
Get:21 http://archive.ubuntu.com lucid-updates/main Sources [178kB]
Get:22 http://archive.ubuntu.com lucid-updates/restricted Sources [1443B]
Get:23 http://archive.ubuntu.com lucid-updates/universe Packages [183kB]
Get:24 http://archive.ubuntu.com lucid-updates/universe Sources [65.2kB]
Get:25 http://archive.ubuntu.com lucid-updates/multiverse Packages [8436B]
Get:26 http://archive.ubuntu.com lucid-updates/multiverse Sources [4372B]
Get:27 http://archive.ubuntu.com lucid-security/main Packages [134kB]
Get:28 http://archive.ubuntu.com lucid-security/restricted Packages [14B]
Get:29 http://archive.ubuntu.com lucid-security/main Sources [43.7kB]
Get:30 http://archive.ubuntu.com lucid-security/restricted Sources [14B]
Get:31 http://archive.ubuntu.com lucid-security/universe Packages [61.1kB]
Get:32 http://archive.ubuntu.com lucid-security/universe Sources [17.6kB]
Get:33 http://archive.ubuntu.com lucid-security/multiverse Packages [2003B]
Get:34 http://archive.ubuntu.com lucid-security/multiverse Sources [660B]
Fetched 12.3MB in 6min 47s (30.2kB/s)
Reading package lists... Done
omshrestha@omshrestha-laptop:~$ sudo dpkg --clear-avail
omshrestha@omshrestha-laptop:~$ sudo dpkg --configure -a
omshrestha@omshrestha-laptop:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
omshrestha@omshrestha-laptop:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
omshrestha@omshrestha-laptop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Hit http://archive.ubuntu.com lucid Release.gpg
Hit http://archive.ubuntu.com lucid-updates Release.gpg
Hit http://archive.ubuntu.com lucid-security Release.gpg
Hit http://archive.ubuntu.com lucid Release
Hit http://archive.ubuntu.com lucid-updates Release
Hit http://archive.ubuntu.com lucid-security Release
Hit http://archive.ubuntu.com lucid/main Packages
Hit http://archive.ubuntu.com lucid/restricted Packages
Hit http://archive.ubuntu.com lucid/main Sources
Hit http://archive.ubuntu.com lucid/restricted Sources
Hit http://archive.ubuntu.com lucid/universe Packages
Hit http://archive.ubuntu.com lucid/universe Sources
Hit http://archive.ubuntu.com lucid/multiverse Packages
Hit http://archive.ubuntu.com lucid/multiverse Sources
Hit http://archive.ubuntu.com lucid-updates/main Packages
Hit http://archive.ubuntu.com lucid-updates/restricted Packages
Hit http://archive.ubuntu.com lucid-updates/main Sources
Hit http://archive.ubuntu.com lucid-updates/restricted Sources
Hit http://archive.ubuntu.com lucid-updates/universe Packages
Hit http://archive.ubuntu.com lucid-updates/universe Sources
Hit http://archive.ubuntu.com lucid-updates/multiverse Packages
Hit http://archive.ubuntu.com lucid-updates/multiverse Sources
Hit http://archive.ubuntu.com lucid-security/main Packages
Hit http://archive.canonical.com lucid Release.gpg
Hit http://archive.ubuntu.com lucid-security/restricted Packages
Hit http://archive.canonical.com lucid Release
Hit http://archive.ubuntu.com lucid-security/main Sources
Hit http://archive.canonical.com lucid/partner Packages
Hit http://archive.ubuntu.com lucid-security/restricted Sources
Hit http://archive.canonical.com lucid/partner Sources
Hit http://archive.ubuntu.com lucid-security/universe Packages
Hit http://archive.ubuntu.com lucid-security/universe Sources
Hit http://archive.ubuntu.com lucid-security/multiverse Packages
Hit http://archive.ubuntu.com lucid-security/multiverse Sources
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
omshrestha@omshrestha-laptop:~$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Eliah Kagan (degeneracypressure) said :
#1

You need to describe the problem you have been experiencing. I am assuming that it has something to do with installing, updating, or removing software, and that you have included the above information pursuant to https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure. The information you included does not contain any indication that anything is wrong on your system, and if something is wrong on your system, it doesn't tell what. It is good that you have included it, as it may prove useful once you have described the problem you've been experiencing...but it is necessary for you to describe your problem, too.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Ok, what is your issue?

Revision history for this message
ops (dr7oms) said :
#3

I got following message while upgrading form ubuntu 10.04 to 10.10. When i googled i found above link . i followed the instruction. I pasted the result of t that instruction. my question is how do i be able to upgrade from 10.04 to 10.10 ubuntud
The message:
An unresolvable problem occurred while calculating the upgrade:
E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held 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.

Revision history for this message
ops (dr7oms) said :
#4

I got following message while upgrading form ubuntu 10.04 to 10.10. When i googled i found above link . i followed the instruction. I pasted the result of t that instruction. my question is how do i be able to upgrade from 10.04 to 10.10 ubuntud
The message:
An unresolvable problem occurred while calculating the upgrade:
E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held 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.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#5

This can be a duplicate of bug 658458 (and a dozen similar ones)

If the package xserver-xorg-video-nouveau is installed, in several cases the 10.04 to 10.10 upgrade fails with the error message

"Could not determine the upgrade
An unresolvable problem occurred while calculating the upgrade:
E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held 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"

Several persons have reported that after removal of that package the upgrade was successful.

Try this workaround: Open a terminal and enter the command:

sudo apt-get remove xserver-xorg-video-nouveau

and try the upgrade again.

Revision history for this message
ops (dr7oms) said :
#6

Yes this helped. my upgrade is now continuing. Hopefully the upgrade will be completed