Public bug reported:

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.

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Workspace 1_999(007).png"
   
https://bugs.launchpad.net/bugs/1530756/+attachment/4543720/+files/Workspace%201_999%28007%29.png

** Description changed:

  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: 
+ [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
- 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.
+ 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
  qtcreator-plugin-ubuntu       3.1.1+15.10.20151018-0ubuntu1~0vivid1
- qtcreator-plugin-ubuntu-common        
+ 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 
+ 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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1530756

Title:
  Failing to upgrade Ubuntu SDK on Vivid system (15.04)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1530756/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to