E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade:
E:Error, pkgProblemResol
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/
Restoring original system state
I have this problem at upgrade from version 10.10 to 11.04.
Can you help me resolve this problem?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Eliah Kagan
- Solved:
- Last query:
- Last reply:
Revision history for this message
![]() |
#1 |
Please open a Terminal window (Ctrl+Alt+T or Applications > Accessories > Terminal) and run these commands, one after the other. To run a command, paste it into the Terminal and press enter. When running them, you may be prompted for your password. As you enter it, you won't see any placeholder characters (like *). That's OK--just type it in and press enter. If any of these commands reports and error, stop (i.e., don't attempt to run the rest of the commands).
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y dist-upgrade
At this point, select all the text in the Terminal window (Edit > Select All), copy it to the clipboard (Edit > Copy), and paste it here. If those commands succeeded, then close that Terminal window (one way to do this is to type "exit" without the quotes and press enter), open up a new one, and run this command:
sudo do-release-upgrade
Whether or not that command appears to have succeeded, select all the text in the Terminal, copy it to the clipboard, and paste it here. Unless it's more than a few hundred lines, in which case, you should instead paste it at http://
If that command appeared to have succeeded, then the upgrade probably worked--reboot your computer and see.
If at any point there were errors, then please open a (new) Terminal window and run these commands:
lsb_release -a
cat /etc/update-
cat /etc/apt/
ls -l /etc/apt/
(Those commands will not fix the problem, or change anything at all--they'll just provide information that will be useful in figuring out what's wrong.)
Then, as before, select all that text in the Terminal, copy it to the clipboard, and paste it here.
Revision history for this message
![]() |
#2 |
root@levik:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
root@levik:~# cat /etc/update-
# Default behavior for the release upgrader.
[DEFAULT]
# Default prompting behavior, valid options:
#
# never - Never check for a new release.
# normal - Check to see if a new release is available. If more than one new
# release is found, the release upgrader will attempt to upgrade to
# the release that immediately succeeds the currently-running
# release.
# lts - Check to see if a new LTS release is available. The upgrader
# will attempt to upgrade to the first LTS release available after
# the currently-running one. Note that this option should not be
# used if the currently-running release is not itself an LTS
# release, since in that case the upgrader won't be able to
# determine if a newer release is available.
Prompt=normal
root@levik:~# cat /etc/apt/
# deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://
deb-src http://
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
deb-src http://
deb http://
deb-src http://
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://
# deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://
# deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
# deb http://
# deb-src http://
root@levik:~# ls -l /etc/apt/
total 36
-rw-r--r-- 1 root root 176 2011-04-29 13:02 karmic-partner.list
-rw-r--r-- 1 root root 176 2011-04-29 12:56 karmic-
-rw-r--r-- 1 root root 176 2011-03-09 11:57 karmic-
-rw-r--r-- 1 root root 386 2011-04-29 13:02 opera.list
-rw-r--r-- 1 root root 386 2011-04-29 12:56 opera.list.
-rw-r--r-- 1 root root 386 2011-03-09 11:57 opera.list.save
-rw-r--r-- 1 root root 136 2011-04-29 13:02 ubuntu-
-rw-r--r-- 1 root root 136 2011-04-29 12:56 ubuntu-
-rw-r--r-- 1 root root 136 2011-03-09 11:57 ubuntu-
root@levik:~#
Revision history for this message
![]() |
#3 |
I had asked for the output of *all* the commands you've ran (even if they didn't give error messages), but I'm guessing you didn't save all that, so we'll work with this for now.
The problem is almost certainly that you need to remove software installed by PPA's (these were listed when you ran "ls -l /etc/apt/
If you are unclear about how to perform the above actions or they don't work successfully, please post another reply.
Revision history for this message
![]() |
#4 |
I suggest you run:
sudo rm /etc/apt/
You are running Maverick so you don't need those files messing things up
Revision history for this message
![]() |
#5 |
> sudo rm /etc/apt/
dont help
> wine and opera removed...
dont help me too
Revision history for this message
![]() |
#7 |
Jean-Baptiste Lallement has posted a solution in your bug report. If you need help implementing it, please feel free to post a reply here.
Revision history for this message
![]() |
#8 |
Solution posted in bug report dont solve my problem, I post new logs
Revision history for this message
![]() |
#9 |
I was about to reply, but I saw that Jean-Baptiste Lallement has posted again in the bug to further address your situation. If you need help following his instructions (for example, if you need help with ppa-purge), please feel free to post again here. Otherwise, it seems that the situation is under control due to assistance being provided/received in the bug.
Revision history for this message
![]() |
#10 |
Thanks Eliah Kagan, that solved my question.
Revision history for this message
![]() |
#11 |
Hi,
I have the same problem, but I guess there are different ppa packages messing up the update.
I will follow the steps given by Jean-Baptiste. Here is the output of my console after running sudo apt-get update, sudo apt-get -y upgrade and sudo apt-get -y upgrade
tisch@tisch-
[sudo] password for tisch:
Hit http://
Ign http://
Ign http://
Hit http://
Ign http://
Ign http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Ign http://
Ign http://
Hit http://
Hit http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Reading package lists... Done
tisch@tisch-
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
tisch@tisch-
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.
tisch@tisch-
The output of sudo do-release-upgrade is given below.Ign http://
Ign http://
Get:2 http://
Ign http://
Ign http://
Get:3 http://
Get:4 http://
Ign http://
Ign http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Fetched 14.1MB in 6s (217kB/s)
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:
E:Error, pkgProblemResol
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/
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
=== Command detached from window (Tue Jun 7 17:55:04 2011) ===
=== Command terminated with exit status 1 (Tue Jun 7 17:55:04 2011) ===
The output of:
lsb_release -a
cat /etc/update-
cat /etc/apt/
ls -l /etc/apt/
is given below:
tisch@tisch-
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
tisch@tisch-
# Default behavior for the release upgrader.
[DEFAULT]
# Default prompting behavior, valid options:
#
# never - Never check for a new release.
# normal - Check to see if a new release is available. If more than one new
# release is found, the release upgrader will attempt to upgrade to
# the release that immediately succeeds the currently-running
# release.
# lts - Check to see if a new LTS release is available. The upgrader
# will attempt to upgrade to the first LTS release available after
# the currently-running one. Note that this option should not be
# used if the currently-running release is not itself an LTS
# release, since in that case the upgrader won't be able to
# determine if a newer release is available.
Prompt=normal
tisch@tisch-
# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release amd64 (20101007)]/ maverick main restricted
deb-src http://
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://
# deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://
# deb-src http://
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://
# deb-src http://
deb http://
deb-src http://
tisch@tisch-
total 60
-rw-r--r-- 1 root root 52 2011-06-07 17:39 dropbox.list
-rw-r--r-- 1 root root 52 2011-06-07 17:33 dropbox.
-rw-r--r-- 1 root root 52 2011-06-07 17:24 dropbox.list.save
-rw-r--r-- 1 root root 144 2011-06-07 17:39 fkrull-
-rw-r--r-- 1 root root 144 2011-06-07 17:33 fkrull-
-rw-r--r-- 1 root root 144 2011-06-07 17:24 fkrull-
-rw-r--r-- 1 root root 178 2011-06-07 17:39 google-chrome.list
-rw-r--r-- 1 root root 178 2011-06-07 17:33 google-
-rw-r--r-- 1 root root 178 2011-06-07 17:24 google-
-rw-r--r-- 1 root root 182 2011-06-07 17:39 google-
-rw-r--r-- 1 root root 182 2011-06-07 17:33 google-
-rw-r--r-- 1 root root 182 2011-06-07 17:24 google-
-rw-r--r-- 1 root root 181 2011-06-07 17:39 maverick-
-rw-r--r-- 1 root root 181 2011-06-07 17:33 maverick-
-rw-r--r-- 1 root root 181 2011-06-07 17:24 maverick-
tisch@tisch-
Note the I have removed the packages and sources for dropbox, deadsnakes, chrome and talk-plugin in the package manager. Am I missing something?
Thanks for your help in advance,
Stefan
Revision history for this message
![]() |
#12 |
"Note the I have removed the packages and sources for dropbox, deadsnakes, chrome and talk-plugin in the package manager. Am I missing something?"
Did you remove them before or after the results you showed, from "ls -l /etc/apt/
If you removed them before that, then it looks like they were not really removed. If you removed them after, then perhaps they really were removed.
In either case, you should actually not have them removed yet (so if they were removed, put them back). You should use ppa-purge, so that they are removed, but where the all the software installed from them is also removed. (You can probably reinstall this software, or later versions of it, after completing the upgrade to Natty.) See https:/
(Normally, it is best to start your own question when you experience problems similar to those described in an already-Solved question. In this case, however, I'm subscribed to the question and I happened to see your post, and the topic is very similar, so we can roll with it here for a while.)
Revision history for this message
![]() |
#13 |
@Mark Jones
I see you have just unlinked bug 775370 from this question. I am putting it back, since they are definitely related, and someone who searches the web and finds bug 775370 may benefit from the information in this question (and vice versa). If you believe this question and that bug should not be linked, please explain.