*** This bug is a duplicate of bug 1451728 ***
    https://bugs.launchpad.net/bugs/1451728

This has been broken for at least two releases now. The solution seems
to be to wipe the whole installation and hope you don't install the
wrong package next time.

Preparing to unpack 
.../account-plugin-google_0.12+16.04.20160126-0ubuntu1_all.deb ...
Unpacking account-plugin-google (0.12+16.04.20160126-0ubuntu1) ...
dpkg: error processing archive 
/var/cache/apt/archives/account-plugin-google_0.12+16.04.20160126-0ubuntu1_all.deb
 (--unpack):
 trying to overwrite '/usr/share/accounts/providers/google.provider', which is 
also in package kaccounts-providers 4:15.12.3-0ubuntu1
Errors were encountered while processing:
 
/var/cache/apt/archives/account-plugin-google_0.12+16.04.20160126-0ubuntu1_all.deb

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to account-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1574045

Title:
  Can't install  account-plugin-google;  kaccounts-providers already
  provides /usr/share/accounts/providers/google.provider

Status in Online Accounts: Account plugins:
  New
Status in kaccounts-providers:
  Fix Released
Status in account-plugins package in Ubuntu:
  Confirmed
Status in kaccounts-providers package in Ubuntu:
  Fix Released

Bug description:
  I installed Kubuntu 16.04, later tried to install unity with `sudo
  apt-get install unity` which has a dependency (unity-scope-gdrive)
  requiring account-plugin-google and that wouldn't install since
  '/usr/share/accounts/providers/google.provider' is already provided by
  kaccounts-providers:

  $ sudo apt-get install unity
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  unity is already the newest version (7.4.0+16.04.20160415-0ubuntu1).
  You might want to run 'apt-get -f install' to correct these:
  The following packages have unmet dependencies:
   unity-scope-gdrive : Depends: account-plugin-google but it is not going to 
be installed

  $ sudo apt-get -f install
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Correcting dependencies... Done
  The following additional packages will be installed:
    account-plugin-google
  The following NEW packages will be installed:
    account-plugin-google
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  250 not fully installed or removed.
  Need to get 0 B/3,368 B of archives.
  After this operation, 29.7 kB of additional disk space will be used.
  Do you want to continue? [Y/n] y
  (Reading database ... 214947 files and directories currently installed.)
  Preparing to unpack 
.../account-plugin-google_0.12+16.04.20160126-0ubuntu1_all.deb ...
  Unpacking account-plugin-google (0.12+16.04.20160126-0ubuntu1) ...
  dpkg: error processing archive 
/var/cache/apt/archives/account-plugin-google_0.12+16.04.20160126-0ubuntu1_all.deb
 (--unpack):
   trying to overwrite '/usr/share/accounts/providers/google.provider', which 
is also in package kaccounts-providers 4:15.12.3-0ubuntu1
  Errors were encountered while processing:
   
/var/cache/apt/archives/account-plugin-google_0.12+16.04.20160126-0ubuntu1_all.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1Preparing to unpack 
.../account-plugin-google_0.12+16.04.20160126-0ubuntu1_all.deb ...
  Unpacking account-plugin-google (0.12+16.04.20160126-0ubuntu1) ...
  dpkg: error processing archive 
/var/cache/apt/archives/account-plugin-google_0.12+16.04.20160126-0ubuntu1_all.deb
 (--unpack):
   trying to overwrite '/usr/share/accounts/providers/google.provider', which 
is also in package kaccounts-providers 4:15.12.3-0ubuntu1
  Errors were encountered while processing:
   
/var/cache/apt/archives/account-plugin-google_0.12+16.04.20160126-0ubuntu1_all.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: account-plugin-google (not installed)
  ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
  Uname: Linux 4.4.0-21-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Sat Apr 23 11:09:16 2016
  InstallationDate: Installed on 2016-04-23 (0 days ago)
  InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 
(20160417.1)
  SourcePackage: account-plugins
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/account-plugins/+bug/1574045/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to