Failing to upgrade Ubuntu SDK on Vivid system (15.04)
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
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:
libubuntugest
The following NEW packages will be installed:
libubuntugest
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 .../libubuntuge
Unpacking libubuntugestur
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/lib/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
=======
liuxg@liuxg:~$ dpkg-query -W ubuntu-sdk qtcreator qtcreator-
qtcreator
qtcreator-
qtcreator-
ubuntu-sdk 1.222~0ubuntu1~
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-
E: Unmet dependencies. Try using -f.
Command returned 100: schroot -u root -c source:
---Click exited with errors, please check the output---
Attached please find the captured picture.
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.