← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1530756] Re: Failing to upgrade Ubuntu SDK on Vivid system (15.04)

 

** Also affects: canonical-developer-experience
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtcreator-plugin-ubuntu in
Ubuntu.
https://bugs.launchpad.net/bugs/1530756

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

Status in Client Developer Experience:
  New
Status in qtcreator-plugin-ubuntu package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-developer-experience/+bug/1530756/+subscriptions


References