Unable to upgrade to artful with nvidia-libopencl1-304 and virt-viewer installed

Bug #1726180 reported by Chris Johnson
40
This bug affects 5 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-304 (Ubuntu)
Triaged
High
Alberto Milone
ubuntu-release-upgrader (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

 do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1,255 kB]
Fetched 1,256 kB in 0s (0 B/s)
authenticate 'artful.tar.gz' against 'artful.tar.gz.gpg'
extracting 'artful.tar.gz'

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://us.archive.ubuntu.com/ubuntu zesty InRelease
Get:1 http://us.archive.ubuntu.com/ubuntu zesty-updates InRelease [89.2 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu zesty-backports InRelease [89.2 kB]
Hit http://security.ubuntu.com/ubuntu zesty-security InRelease
Fetched 178 kB in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done

Updating repository information
Get:1 http://us.archive.ubuntu.com/ubuntu artful InRelease [237 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu artful-updates InRelease [65.4 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu artful-backports InRelease [65.5 kB]
Get:4 http://security.ubuntu.com/ubuntu artful-security InRelease [65.5 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu artful/universe Sources [8,721 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu artful/main Sources [849 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu artful/multiverse Sources [182 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu artful/restricted Sources [5,392 B]
Get:9 http://us.archive.ubuntu.com/ubuntu artful/main i386 Packages [1,067 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu artful/main amd64 Packages [1,071 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu artful/main Translation-en [542 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu artful/main amd64 DEP-11 Metadata [397 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu artful/main DEP-11 64x64 Icons [263 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu artful/restricted i386 Packages [8,876 B]
Get:15 http://us.archive.ubuntu.com/ubuntu artful/restricted amd64 Packages [8,852 B]
Get:16 http://us.archive.ubuntu.com/ubuntu artful/restricted Translation-en [2,788 B]
Get:17 http://us.archive.ubuntu.com/ubuntu artful/universe i386 Packages [8,066 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 Packages [8,103 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu artful/universe Translation-en [4,789 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 DEP-11 Metadata [2,845 kB]
Get:21 http://us.archive.ubuntu.com/ubuntu artful/universe DEP-11 64x64 Icons [7,915 kB]
Get:22 http://us.archive.ubuntu.com/ubuntu artful/multiverse amd64 Packages [150 kB]
Get:23 http://us.archive.ubuntu.com/ubuntu artful/multiverse i386 Packages [143 kB]
Get:24 http://us.archive.ubuntu.com/ubuntu artful/multiverse Translation-en [108 kB]
Get:25 http://us.archive.ubuntu.com/ubuntu artful/multiverse amd64 DEP-11 Metadata [43.8 kB]
Get:26 http://us.archive.ubuntu.com/ubuntu artful/multiverse DEP-11 64x64 Icons [207 kB]
Get:27 http://us.archive.ubuntu.com/ubuntu artful-updates/main Sources [808 B]
Get:28 http://us.archive.ubuntu.com/ubuntu artful-updates/main Translation-en [316 B]
Get:29 http://us.archive.ubuntu.com/ubuntu artful-updates/universe Translation-en [296 B]
Fetched 45.9 MB in 6s (7,449 kB/s)

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done

Calculating the changes

Calculating the changes

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-release-upgrader-core' in a terminal.

Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
---
:/var/log/dist-upgrade# more main.log
2017-10-22 19:59:16,432 INFO Using config files '['./DistUpgrade.cfg']'
2017-10-22 19:59:16,432 INFO uname information: 'Linux classroom 4.10.0-37-gener
ic #41-Ubuntu SMP Fri Oct 6 20:20:37 UTC 2017 x86_64'
2017-10-22 19:59:16,876 INFO apt version: '1.4.6~17.04.1'
2017-10-22 19:59:16,876 INFO python version: '3.5.3 (default, Sep 14 2017, 22:58
:41)
[GCC 6.3.0 20170406]'
2017-10-22 19:59:16,880 INFO release-upgrader version '17.10.7' started
2017-10-22 19:59:16,888 INFO locale: 'en_US' 'UTF-8'
2017-10-22 19:59:16,895 INFO screen could not be run
2017-10-22 19:59:17,120 DEBUG Using 'DistUpgradeViewText' view
2017-10-22 19:59:17,179 DEBUG enable dpkg --force-overwrite
2017-10-22 19:59:17,213 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clo
ne_system_state.tar.gz'
2017-10-22 19:59:22,813 DEBUG lsb-release: 'zesty'
2017-10-22 19:59:22,813 DEBUG _pythonSymlinkCheck run
2017-10-22 19:59:22,814 DEBUG openCache()
2017-10-22 19:59:22,814 DEBUG No such plugin directory: ./plugins
2017-10-22 19:59:22,814 DEBUG plugins for condition 'PreCacheOpen' are '[]'
2017-10-22 19:59:22,814 DEBUG plugins for condition 'artfulPreCacheOpen' are '[]
'
2017-10-22 19:59:22,814 DEBUG plugins for condition 'from_zestyPreCacheOpen' are
 '[]'
2017-10-22 19:59:22,814 DEBUG quirks: running PreCacheOpen
2017-10-22 19:59:22,814 DEBUG running Quirks.PreCacheOpen
2017-10-22 19:59:23,612 DEBUG /openCache(), new cache size 87618
2017-10-22 19:59:23,613 DEBUG need_server_mode(): run in 'desktop' mode, (becaus
e of pkg 'ubuntu-desktop')
2017-10-22 19:59:23,613 DEBUG checkViewDepends()
2017-10-22 19:59:23,613 DEBUG running doUpdate() (showErrors=False)
2017-10-22 19:59:24,500 DEBUG openCache()
2017-10-22 19:59:25,304 DEBUG /openCache(), new cache size 87618
2017-10-22 19:59:25,304 DEBUG doPostInitialUpdate
2017-10-22 19:59:25,304 DEBUG plugins for condition 'PostInitialUpdate' are '[]'
2017-10-22 19:59:25,305 DEBUG plugins for condition 'artfulPostInitialUpdate' ar
e '[]'
2017-10-22 19:59:25,305 DEBUG plugins for condition 'from_zestyPostInitialUpdate
' are '[]'
2017-10-22 19:59:28,492 DEBUG MetaPkgs: ubuntu-desktop
2017-10-22 19:59:34,072 DEBUG Foreign:
2017-10-22 19:59:34,072 DEBUG Obsolete: gir1.2-vte-2.90 google-chrome-stable gst
reamer0.10-fluendo-mp3 gstreamer0.10-plugins-bad gstreamer0.10-plugins-base gstr
eamer0.10-plugins-ugly landscape-client-ui-install libbind9-90 libcolamd2.8.0 li
bdns100 libdvdcss2 libelfg0 libgee2 libglew1.10 libglewmx1.10 libgnutls-deb0-28
libgstreamer-plugins-bad0.10-0 libgstreamer-plugins-base0.10-0 libgstreamer0.10-
0 libimobiledevice4 libisc95 libisccc90 libisccfg90 libjasper1 libllvm3.4 liblou
is2 liblwres90 libpng12-0 libpocketsphinx1 libprocps3 libschroedinger-1.0-0 libs
lv2-9 libsoundtouch0 libsphinxbase1 libunityvoice1 libusbmuxd2 libvpx2 libvte-2.
90-9 libvte-2.90-common libwildmidi1 libx264-146 libxtables10 linux-image-3.13.0
-53-generic linux-image-extra-3.13.0-53-generic skypeforlinux ttf-indic-fonts-co
re unity-scope-guayadeque unity-voice-service
2017-10-22 19:59:34,073 DEBUG updateSourcesList()
2017-10-22 19:59:43,295 DEBUG rewriteSourcesList() with mirror_check
2017-10-22 19:59:43,295 DEBUG ['ubuntu-minimal', 'ubuntu-standard']
2017-10-22 19:59:43,295 DEBUG Checking pkg: ubuntu-minimal
2017-10-22 19:59:43,297 DEBUG Checking pkg: ubuntu-standard
2017-10-22 19:59:43,299 DEBUG examining: 'deb http://us.archive.ubuntu.com/ubunt
u/ zesty main restricted'
2017-10-22 19:59:43,300 DEBUG entry 'deb http://us.archive.ubuntu.com/ubuntu/ ar
tful main restricted' updated to new dist
2017-10-22 19:59:43,300 DEBUG examining: 'deb-src http://us.archive.ubuntu.com/u
buntu/ zesty main restricted'
2017-10-22 19:59:43,300 DEBUG entry 'deb-src http://us.archive.ubuntu.com/ubuntu
/ artful main restricted' updated to new dist
2017-10-22 19:59:43,300 DEBUG examining: 'deb http://us.archive.ubuntu.com/ubunt
u/ zesty-updates main restricted'
2017-10-22 19:59:43,300 DEBUG entry 'deb http://us.archive.ubuntu.com/ubuntu/ ar
tful-updates main restricted' updated to new dist
2017-10-22 19:59:43,300 DEBUG examining: 'deb-src http://us.archive.ubuntu.com/u
buntu/ zesty-updates main restricted'
2017-10-22 19:59:43,300 DEBUG entry 'deb-src http://us.archive.ubuntu.com/ubuntu
/ artful-updates main restricted' updated to new dist
2017-10-22 19:59:43,300 DEBUG examining: 'deb http://us.archive.ubuntu.com/ubunt
u/ zesty universe'
2017-10-22 19:59:43,301 DEBUG entry 'deb http://us.archive.ubuntu.com/ubuntu/ ar
tful universe' updated to new dist
2017-10-22 19:59:43,301 DEBUG examining: 'deb-src http://us.archive.ubuntu.com/u
buntu/ zesty universe'
2017-10-22 19:59:43,301 DEBUG entry 'deb-src http://us.archive.ubuntu.com/ubuntu
/ artful universe' updated to new dist
2017-10-22 19:59:43,301 DEBUG examining: 'deb http://us.archive.ubuntu.com/ubunt
u/ zesty-updates universe'
2017-10-22 19:59:43,301 DEBUG entry 'deb http://us.archive.ubuntu.com/ubuntu/ ar
tful-updates universe' updated to new dist
2017-10-22 19:59:43,301 DEBUG examining: 'deb-src http://us.archive.ubuntu.com/u
buntu/ zesty-updates universe'
2017-10-22 19:59:43,301 DEBUG entry 'deb-src http://us.archive.ubuntu.com/ubuntu
/ artful-updates universe' updated to new dist
2017-10-22 19:59:43,301 DEBUG examining: 'deb http://us.archive.ubuntu.com/ubunt
u/ zesty multiverse'
2017-10-22 19:59:43,302 DEBUG entry 'deb http://us.archive.ubuntu.com/ubuntu/ ar
tful multiverse' updated to new dist
2017-10-22 19:59:43,302 DEBUG examining: 'deb-src http://us.archive.ubuntu.com/u
buntu/ zesty multiverse'
2017-10-22 19:59:43,302 DEBUG entry 'deb-src http://us.archive.ubuntu.com/ubuntu
/ artful multiverse' updated to new dist
2017-10-22 19:59:43,302 DEBUG examining: 'deb http://us.archive.ubuntu.com/ubunt
u/ zesty-updates multiverse'
2017-10-22 19:59:43,302 DEBUG entry 'deb http://us.archive.ubuntu.com/ubuntu/ ar
tful-updates multiverse' updated to new dist
2017-10-22 19:59:43,302 DEBUG examining: 'deb-src http://us.archive.ubuntu.com/u
buntu/ zesty-updates multiverse'
2017-10-22 19:59:43,302 DEBUG entry 'deb-src http://us.archive.ubuntu.com/ubuntu
/ artful-updates multiverse' updated to new dist
2017-10-22 19:59:43,302 DEBUG examining: 'deb http://us.archive.ubuntu.com/ubunt
u/ zesty-backports main restricted universe multiverse'
2017-10-22 19:59:43,302 DEBUG entry 'deb http://us.archive.ubuntu.com/ubuntu/ ar
tful-backports main restricted universe multiverse' updated to new dist
2017-10-22 19:59:43,303 DEBUG examining: 'deb-src http://us.archive.ubuntu.com/u
buntu/ zesty-backports main restricted universe multiverse'
2017-10-22 19:59:43,303 DEBUG entry 'deb-src http://us.archive.ubuntu.com/ubuntu
/ artful-backports main restricted universe multiverse' updated to new dist
2017-10-22 19:59:43,303 DEBUG examining: 'deb http://security.ubuntu.com/ubuntu
zesty-security main restricted'
2017-10-22 19:59:43,303 DEBUG entry 'deb http://security.ubuntu.com/ubuntu artfu
l-security main restricted' updated to new dist
2017-10-22 19:59:43,303 DEBUG examining: 'deb-src http://security.ubuntu.com/ubu
ntu zesty-security main restricted'
2017-10-22 19:59:43,303 DEBUG entry 'deb-src http://security.ubuntu.com/ubuntu a
rtful-security main restricted' updated to new dist
2017-10-22 19:59:43,303 DEBUG examining: 'deb http://security.ubuntu.com/ubuntu
zesty-security universe'
2017-10-22 19:59:43,303 DEBUG entry 'deb http://security.ubuntu.com/ubuntu artfu
l-security universe' updated to new dist
2017-10-22 19:59:43,303 DEBUG examining: 'deb-src http://security.ubuntu.com/ubu
ntu zesty-security universe'
2017-10-22 19:59:43,304 DEBUG entry 'deb-src http://security.ubuntu.com/ubuntu a
rtful-security universe' updated to new dist
2017-10-22 19:59:43,304 DEBUG examining: 'deb http://security.ubuntu.com/ubuntu
zesty-security multiverse'
2017-10-22 19:59:43,304 DEBUG entry 'deb http://security.ubuntu.com/ubuntu artfu
l-security multiverse' updated to new dist
2017-10-22 19:59:43,304 DEBUG examining: 'deb-src http://security.ubuntu.com/ubu
ntu zesty-security multiverse'
2017-10-22 19:59:43,304 DEBUG entry 'deb-src http://security.ubuntu.com/ubuntu a
rtful-security multiverse' updated to new dist
2017-10-22 19:59:43,307 DEBUG running doUpdate() (showErrors=True)
2017-10-22 20:00:00,058 DEBUG openCache()
2017-10-22 20:00:00,059 DEBUG failed to SystemUnLock() (E:Not locked)
2017-10-22 20:00:00,849 DEBUG /openCache(), new cache size 87655
2017-10-22 20:00:00,850 DEBUG need_server_mode(): run in 'desktop' mode, (becaus
e of pkg 'ubuntu-desktop')
2017-10-22 20:00:01,362 ERROR Dist-upgrade failed: 'E:Error, pkgProblemResolver:
:Resolve generated breaks, this may be caused by held packages.'
2017-10-22 20:00:01,367 DEBUG abort called
2017-10-22 20:00:01,368 DEBUG openCache()
2017-10-22 20:00:01,368 DEBUG failed to SystemUnLock() (E:Not locked)
2017-10-22 20:00:03,735 DEBUG /openCache(), new cache size 87618

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: ubuntu-release-upgrader-core 1:17.04.9
ProcVersionSignature: Ubuntu 4.10.0-37.41-generic 4.10.17
Uname: Linux 4.10.0-37-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
CrashDB: ubuntu
Date: Sun Oct 22 20:00:28 2017
InstallationDate: Installed on 2014-04-17 (1284 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to zesty on 2017-10-23 (0 days ago)

Revision history for this message
Chris Johnson (ctjctj) wrote :
tags: added: zesty2artful
Revision history for this message
Chris Johnson (ctjctj) wrote :

I used `apt purge gstreamer*` after which the `do-release-upgrade` seems to be working.

Revision history for this message
Brian Murray (brian-murray) wrote :

I've managed to boil this down to a simple test case by installing virt-viewer and nvidia-libopencl1-304 on an Ubuntu 17.04 desktop system the upgrade will fail to be calculable.

Revision history for this message
Brian Murray (brian-murray) wrote :

This is the /var/log/dist-upgrade/apt.log file which contains information about the failure to upgrade.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
summary: - Unable to run do-release-upgrade
+ Unable to upgrade to artful with nvidia-libopencl1-304 and virt-viewer
+ installed
Changed in nvidia-graphics-drivers-304 (Ubuntu):
importance: Undecided → High
status: New → Triaged
assignee: nobody → Alberto Milone (albertomilone)
Revision history for this message
Chris Johnson (ctjctj) wrote : Re: [Bug 1726180] Re: Unable to upgrade to artful with nvidia-libopencl1-304 and virt-viewer installed
Download full text (15.7 KiB)

The summary to this is incorrect or incomplete.

The issue for me was that gstreamer was failing the upgrade. Once I purged
that from the system it was able to do-release-upgrade. Nvidia might have
been an issue but it was the attempt after apt purge gstreamer* that worked

On Wed, Oct 25, 2017 at 12:02 PM, Brian Murray <email address hidden> wrote:

> ** Summary changed:
>
> - Unable to run do-release-upgrade
> + Unable to upgrade to artful with nvidia-libopencl1-304 and virt-viewer
> installed
>
> ** Also affects: nvidia-graphics-drivers-304 (Ubuntu)
> Importance: Undecided
> Status: New
>
> ** Changed in: nvidia-graphics-drivers-304 (Ubuntu)
> Importance: Undecided => High
>
> ** Changed in: nvidia-graphics-drivers-304 (Ubuntu)
> Status: New => Triaged
>
> ** Changed in: nvidia-graphics-drivers-304 (Ubuntu)
> Assignee: (unassigned) => Alberto Milone (albertomilone)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1726180
>
> Title:
> Unable to upgrade to artful with nvidia-libopencl1-304 and virt-viewer
> installed
>
> Status in nvidia-graphics-drivers-304 package in Ubuntu:
> Triaged
> Status in ubuntu-release-upgrader package in Ubuntu:
> Confirmed
>
> Bug description:
> do-release-upgrade
> Checking for a new Ubuntu release
> Get:1 Upgrade tool signature [819 B]
> Get:2 Upgrade tool [1,255 kB]
> Fetched 1,256 kB in 0s (0 B/s)
> authenticate 'artful.tar.gz' against 'artful.tar.gz.gpg'
> extracting 'artful.tar.gz'
>
> Reading cache
>
> Checking package manager
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Hit http://us.archive.ubuntu.com/ubuntu zesty InRelease
> Get:1 http://us.archive.ubuntu.com/ubuntu zesty-updates InRelease [89.2
> kB]
> Get:2 http://us.archive.ubuntu.com/ubuntu zesty-backports InRelease
> [89.2 kB]
> Hit http://security.ubuntu.com/ubuntu zesty-security InRelease
> Fetched 178 kB in 0s (0 B/s)
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
>
> Updating repository information
> Get:1 http://us.archive.ubuntu.com/ubuntu artful InRelease [237 kB]
> Get:2 http://us.archive.ubuntu.com/ubuntu artful-updates InRelease
> [65.4 kB]
> Get:3 http://us.archive.ubuntu.com/ubuntu artful-backports InRelease
> [65.5 kB]
> Get:4 http://security.ubuntu.com/ubuntu artful-security InRelease [65.5
> kB]
> Get:5 http://us.archive.ubuntu.com/ubuntu artful/universe Sources
> [8,721 kB]
> Get:6 http://us.archive.ubuntu.com/ubuntu artful/main Sources [849 kB]
> Get:7 http://us.archive.ubuntu.com/ubuntu artful/multiverse Sources
> [182 kB]
> Get:8 http://us.archive.ubuntu.com/ubuntu artful/restricted Sources
> [5,392 B]
> Get:9 http://us.archive.ubuntu.com/ubuntu artful/main i386 Packages
> [1,067 kB]
> Get:10 http://us.archive.ubuntu.com/ubuntu artful/main amd64 Packages
> [1,071 kB]
> Get:11 http://us.archive.ubuntu.com/ubuntu artful/main Translation-en
> [542 kB]
> Get:12 http://us.archive.ubuntu.com/ubuntu artful/main amd64 DEP-11
> Metadata [397 kB]
> Get:13 http://us.a...

Revision history for this message
Simon Lambourn (simon-lambourn-o) wrote :

Is there a workaround for this by uninstalling virt-viewer? Will I be able to reinstall it after the upgrade? I am not sure what the dependency issue is...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.