Failing to upgrade Ubuntu SDK on Vivid system (15.04)

Bug #1530756 reported by XiaoGuo, Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Client Developer Experience
Invalid
Undecided
Unassigned
qtcreator-plugin-ubuntu (Ubuntu)
New
Undecided
Unassigned

Bug Description

Recently, I tried to upgrade my Ubuntu SDK on vivid (15.04) system. However, I got the following error:

liuxg@liuxg:~$ sudo apt-get upgrade
[sudo] password for liuxg:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: libubuntugestures5 (= 1.3.1793+201512231902-staging-0+1.3.1778+16.04.20151217.1~ubuntu15.04.1) but it is not installed
E: Unmet dependencies. Try using -f.

When I tried to use "sudo apt-get -f install", and it gave the following error:

==========================================================================
liuxg@liuxg:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  libubuntugestures
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  libubuntugestures5
The following NEW packages will be installed:
  libubuntugestures5
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0 B/51.2 kB of archives.
After this operation, 243 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 412850 files and directories currently installed.)
Preparing to unpack .../libubuntugestures5_1.3.1793+201512231902-staging-0+1.3.1778+16.04.20151217.1~ubuntu15.04.1_amd64.deb ...
Unpacking libubuntugestures5:amd64 (1.3.1793+201512231902-staging-0+1.3.1778+16.04.20151217.1~ubuntu15.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libubuntugestures5_1.3.1793+201512231902-staging-0+1.3.1778+16.04.20151217.1~ubuntu15.04.1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libUbuntuGestures.so.5.5.0', which is also in package libubuntugestures:amd64 1.3.1773+201512160901-staging-0+1.3.1742+16.04.20151209~ubuntu15.04.1
Errors were encountered while processing:
 /var/cache/apt/archives/libubuntugestures5_1.3.1793+201512231902-staging-0+1.3.1778+16.04.20151217.1~ubuntu15.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

==========================================================================

liuxg@liuxg:~$ dpkg-query -W ubuntu-sdk qtcreator qtcreator-plugin-ubuntu qtcreator-plugin-ubuntu-common
qtcreator
qtcreator-plugin-ubuntu 3.1.1+15.10.20151018-0ubuntu1~0vivid1
qtcreator-plugin-ubuntu-common
ubuntu-sdk 1.222~0ubuntu1~0vivid2

I have checked that libubuntugestures5 only exists on the xenial, and it does not exist on vivid and Wily. It is a problem for upgrading to the latest SDK. Also, I found the same problem for upgrading my armhf chroot inside the Ubuntu SDK.

Reading package lists...

Building dependency tree...
Reading state information...

You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies:
qtdeclarative5-ubuntu-ui-toolkit-plugin:armhf : Depends: libubuntugestures5:armhf (= 1.3.1778+15.04.20151217.1-0ubuntu1) but it is not installed qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: libubuntugestures5 (= 1.3.1778+15.04.20151217.1-0ubuntu1)
E: Unmet dependencies. Try using -f.
Command returned 100: schroot -u root -c source:click-ubuntu-sdk-15.04-armhf -- apt-get dist-upgrade --yes
---Click exited with errors, please check the output---

Attached please find the captured picture.

Revision history for this message
XiaoGuo, Liu (liu-xiao-guo) wrote :
description: updated
Revision history for this message
Zoltan Balogh (bzoltan) wrote :

the qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: libubuntugestures5 (= 1.3.1793+201512231902-staging-0+1.3.1778+16.04.20151217.1~ubuntu15.04.1) indictes that you have the SDK Staging and/or the Tools Development PPAs enabled on your system.

Please remove all packages from all other sources than the SDK PPA.

Changed in canonical-developer-experience:
status: New → Invalid
Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: New → Invalid
Revision history for this message
Michi Henning (michihenning) wrote :

I'm getting this too. apt-get upgrade says:

You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 qtdeclarative5-ubuntu-ui-toolkit-plugin-gles : Depends: libubuntugestures5-gles (= 1.3.1795+15.04.20160106-0ubuntu1) but it is not installed

And apt-get -f install says:

dpkg: error processing archive /var/cache/apt/archives/libubuntugestures5-gles_1.3.1795+15.04.20160106-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libUbuntuGestures.so.5.5.0', which is also in package libubuntugestures:amd64 1.3.1742+15.04.20151209-0ubuntu1
Errors were encountered while processing:
 /var/cache/apt/archives/libubuntugestures5-gles_1.3.1795+15.04.20160106-0ubuntu1_amd64.deb

The only PPA I have is the stable phone overlay.

Any suggestions for getting out of this situation?

Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: Invalid → New
Changed in canonical-developer-experience:
status: Invalid → New
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Marking invalid based on the comments, the only relevant ppa is https://launchpad.net/~ubuntu-sdk-team/+archive/ubuntu/ppa

Changed in canonical-developer-experience:
status: New → Invalid
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.