could not calculate the update while updating from Ubuntu 13.10 to Ubuntu 14
While Setting new softwares channels, problem came as showns:
Could not calculate the upgrade
An unresolvable problem occurred while calculating the 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 using the command 'ubuntu-bug ubuntu-
What should I do with it?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Please provide the output of the following diagnostic commands:
uname -a
lsb_release -crid
sudo dpkg --audit
ls -l /var/log/
tail -n 30 /var/log/
Revision history for this message
|
#2 |
uname -a :
Linux vernacular 3.11.0-26-generic #45-Ubuntu SMP Tue Jul 15 04:02:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -crid:
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
ls -s /var/log/
total 688
4 20140510-1752 4 20160121-1036 100 apt.log
4 20160119-1330 4 20160121-1519 8 lspci.txt
4 20160119-1613 4 20160125-1402 12 main.log
4 20160121-1019 540 apt-clone_
tail -n 30 /var/log/
(empty)
Revision history for this message
|
#3 |
Please try again:
sudo apt-get update
sudo do-release-upgrade
I assume that this will fail as before.
Then execute
ls -l /var/log/
and finally copy/paste the full output into this question document again.
Revision history for this message
|
#4 |
Shown as below:
total 692
drwxr-xr-x 2 root root 4096 May 10 2014 20140510-1752
drwxr-xr-x 2 root root 4096 Jan 19 13:30 20160119-1330
drwxr-xr-x 2 root root 4096 Jan 19 16:13 20160119-1613
drwxr-xr-x 2 root root 4096 Jan 21 10:19 20160121-1019
drwxr-xr-x 2 root root 4096 Jan 21 10:36 20160121-1036
drwxr-xr-x 2 root root 4096 Jan 21 15:19 20160121-1519
drwxr-xr-x 2 root root 4096 Jan 25 14:02 20160125-1402
drwxr-xr-x 2 root root 4096 Jan 27 13:12 20160127-1312
-rw------- 1 root root 549837 Jan 27 13:12 apt-clone_
-rw-r--r-- 1 root root 100026 Jan 27 13:12 apt.log
-rw-r--r-- 1 root root 4660 Jan 27 13:12 lspci.txt
-rw-r--r-- 1 root root 10058 Jan 27 13:12 main.log
Revision history for this message
|
#5 |
Ok, now please provide the output of
cat /var/log/
tail -n 30 /var/log/
Revision history for this message
|
#6 |
cat /var/log/
2016-01-27 13:12:06,007 INFO Using config files '['./DistUpgrad
2016-01-27 13:12:06,007 INFO uname information: 'Linux vernacular 3.11.0-26-generic #45-Ubuntu SMP Tue Jul 15 04:02:06 UTC 2014 x86_64'
2016-01-27 13:12:06,007 INFO apt version: '0.9.9.1~ubuntu1'
2016-01-27 13:12:06,007 INFO python version: '2.7.5+ (default, Feb 27 2014, 19:37:08)
[GCC 4.8.1]'
2016-01-27 13:12:06,007 INFO release-upgrader version '0.220.3' started
2016-01-27 13:12:06,019 INFO locale: 'en_US' 'UTF-8'
2016-01-27 13:12:06,084 INFO screen could not be run
2016-01-27 13:12:06,150 DEBUG Using 'DistUpgradeVie
2016-01-27 13:12:06,190 DEBUG aufsOptionsAndE
2016-01-27 13:12:06,190 DEBUG using '/tmp/upgrade-
2016-01-27 13:12:06,191 DEBUG using '/tmp/upgrade-
2016-01-27 13:12:06,191 DEBUG enable dpkg --force-overwrite
2016-01-27 13:12:06,217 DEBUG creating statefile: '/var/log/
2016-01-27 13:12:07,375 DEBUG lsb-release: 'saucy'
2016-01-27 13:12:07,376 DEBUG _pythonSymlinkCheck run
2016-01-27 13:12:07,414 DEBUG openCache()
2016-01-27 13:12:07,414 DEBUG No such plugin directory: ./plugins
2016-01-27 13:12:07,414 DEBUG plugins for condition 'PreCacheOpen' are '[]'
2016-01-27 13:12:07,414 DEBUG plugins for condition 'trustyPreCache
2016-01-27 13:12:07,414 DEBUG plugins for condition 'from_saucyPreC
2016-01-27 13:12:07,414 DEBUG quirks: running PreCacheOpen
2016-01-27 13:12:07,414 DEBUG running Quirks.PreCacheOpen
2016-01-27 13:12:07,842 DEBUG /openCache(), new cache size 67346
2016-01-27 13:12:07,842 DEBUG need_server_mode(): run in 'desktop' mode, (because of pkg 'ubuntu-desktop')
2016-01-27 13:12:07,842 DEBUG checkViewDepends()
2016-01-27 13:12:07,842 DEBUG running doUpdate() (showErrors=False)
2016-01-27 13:12:17,994 DEBUG openCache()
2016-01-27 13:12:18,424 DEBUG /openCache(), new cache size 67346
2016-01-27 13:12:18,424 DEBUG doPostInitialUpdate
2016-01-27 13:12:18,424 DEBUG plugins for condition 'PostInitialUpdate' are '[]'
2016-01-27 13:12:18,424 DEBUG plugins for condition 'trustyPostInit
2016-01-27 13:12:18,424 DEBUG plugins for condition 'from_saucyPost
2016-01-27 13:12:22,242 DEBUG Foreign: google-
2016-01-27 13:12:22,242 DEBUG Obsolete: nvidia-331 libreoffice-
2016-01-27 13:12:22,242 DEBUG updateSourcesList()
2016-01-27 13:12:22,319 DEBUG rewriteSourcesL
2016-01-27 13:12:22,325 DEBUG examining: 'deb http://
2016-01-27 13:12:22,325 DEBUG entry 'deb http://
2016-01-27 13:12:22,325 DEBUG examining: 'deb-src http://
2016-01-27 13:12:22,325 DEBUG entry 'deb-src http://
2016-01-27 13:12:22,325 DEBUG examining: 'deb http://
2016-01-27 13:12:22,326 DEBUG entry 'deb http://
2016-01-27 13:12:22,326 DEBUG examining: 'deb-src http://
2016-01-27 13:12:22,326 DEBUG entry 'deb-src http://
2016-01-27 13:12:22,326 DEBUG examining: 'deb http://
2016-01-27 13:12:22,326 DEBUG entry 'deb http://
2016-01-27 13:12:22,326 DEBUG examining: 'deb-src http://
2016-01-27 13:12:22,326 DEBUG entry 'deb-src http://
2016-01-27 13:12:22,326 DEBUG examining: 'deb http://
2016-01-27 13:12:22,326 DEBUG entry 'deb http://
2016-01-27 13:12:22,326 DEBUG examining: 'deb-src http://
2016-01-27 13:12:22,326 DEBUG entry 'deb-src http://
2016-01-27 13:12:22,326 DEBUG examining: 'deb http://
2016-01-27 13:12:22,327 DEBUG entry 'deb http://
2016-01-27 13:12:22,327 DEBUG examining: 'deb-src http://
2016-01-27 13:12:22,327 DEBUG entry 'deb-src http://
2016-01-27 13:12:22,327 DEBUG examining: 'deb http://
2016-01-27 13:12:22,327 DEBUG entry 'deb http://
2016-01-27 13:12:22,327 DEBUG examining: 'deb-src http://
2016-01-27 13:12:22,327 DEBUG entry 'deb-src http://
2016-01-27 13:12:22,327 DEBUG examining: 'deb http://
2016-01-27 13:12:22,327 DEBUG entry 'deb http://
2016-01-27 13:12:22,327 DEBUG examining: 'deb-src http://
2016-01-27 13:12:22,327 DEBUG entry 'deb-src http://
2016-01-27 13:12:22,327 DEBUG examining: 'deb http://
2016-01-27 13:12:22,328 DEBUG entry 'deb http://
2016-01-27 13:12:22,328 DEBUG examining: 'deb-src http://
2016-01-27 13:12:22,328 DEBUG entry 'deb-src http://
2016-01-27 13:12:22,328 DEBUG examining: 'deb http://
2016-01-27 13:12:22,328 DEBUG entry 'deb http://
2016-01-27 13:12:22,328 DEBUG examining: 'deb-src http://
2016-01-27 13:12:22,328 DEBUG entry 'deb-src http://
2016-01-27 13:12:22,328 DEBUG examining: 'deb http://
2016-01-27 13:12:22,328 DEBUG entry 'deb http://
2016-01-27 13:12:22,328 DEBUG examining: 'deb-src http://
2016-01-27 13:12:22,328 DEBUG entry 'deb-src http://
2016-01-27 13:12:22,329 DEBUG examining: 'deb http://
2016-01-27 13:12:22,329 DEBUG entry 'deb http://
2016-01-27 13:12:22,329 DEBUG examining: 'deb-src http://
2016-01-27 13:12:22,329 DEBUG entry 'deb-src http://
2016-01-27 13:12:22,329 DEBUG examining: 'deb http://
2016-01-27 13:12:22,331 DEBUG entry '# deb http://
2016-01-27 13:12:22,331 DEBUG examining: 'deb http://
2016-01-27 13:12:22,333 DEBUG entry '# deb http://
2016-01-27 13:12:22,333 DEBUG examining: 'deb https:/
2016-01-27 13:12:22,335 DEBUG entry '# deb https:/
2016-01-27 13:12:22,335 DEBUG examining: 'deb http://
2016-01-27 13:12:22,336 DEBUG entry '# deb http://
2016-01-27 13:12:24,743 DEBUG running doUpdate() (showErrors=True)
2016-01-27 13:12:26,597 DEBUG openCache()
2016-01-27 13:12:26,597 DEBUG failed to SystemUnLock() (E:Not locked)
2016-01-27 13:12:30,726 DEBUG /openCache(), new cache size 73584
2016-01-27 13:12:30,726 DEBUG need_server_mode(): run in 'desktop' mode, (because of pkg 'ubuntu-desktop')
2016-01-27 13:12:33,306 DEBUG Installing 'xserver-
2016-01-27 13:12:33,739 ERROR Dist-upgrade failed: 'E:Unable to correct problems, you have held broken packages.'
2016-01-27 13:12:33,779 DEBUG abort called
2016-01-27 13:12:33,780 DEBUG openCache()
2016-01-27 13:12:37,205 DEBUG /openCache(), new cache size 67346
2016-01-27 13:12:37,205 DEBUG enabling apt cron job
tail -n 30 /var/log/
Investigating (8) libgbm1-lts-utopic [ amd64 ] < none -> 10.3.2-
Broken libgbm1-
Considering libgl1-
MarkKeep libgbm1-lts-utopic [ amd64 ] < none -> 10.3.2-
Holding Back libgbm1-
Investigating (8) xserver-
Broken xserver-
Considering xserver-
MarkKeep xserver-
Holding Back xserver-
Investigating (9) xserver-
Broken xserver-
Considering xserver-
Considering xserver-
Considering xserver-
Considering xserver-
Considering xserver-
Broken xserver-
Considering xserver-
Considering xserver-
Considering xserver-
Considering xserver-
Considering xserver-
Broken xserver-
Considering xserver-
Considering xserver-
Considering xserver-
Considering xserver-
Done
Log time: 2016-01-27 13:12:37.205322
Revision history for this message
|
#7 |
This is perhaps another occurrence of Bug #721306
Try the following
sudo apt-get remove xserver-
(This will probably tell that the packages xserver-
Then re-try the release upgrade and report the results.
Can you help with this problem?
Provide an answer of your own, or ask yokey.yang for more information if necessary.