Install failure: trying to overwrite '/usr/share/dbus-1/services/org.freedesktop.PackageKit.service', which is also in package gnome-packagekit-session 3.14.2-0ubuntu2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-software (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
laney@raleigh> sudo apt install gnome-software
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
gnome-
The following NEW packages will be installed
gnome-software gnome-software-
The following packages will be upgraded:
libappstream-
1 to upgrade, 2 to newly install, 0 to remove and 264 not to upgrade.
Need to get 2,782 kB of archives.
After this operation, 5,337 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://
Get:2 http://
Get:3 http://
Fetched 2,782 kB in 41s (66.5 kB/s)
Selecting previously unselected package gnome-software-
(Reading database ... 745898 files and directories currently installed.)
Preparing to unpack .../gnome-
Unpacking gnome-software-
Preparing to unpack .../libappstrea
Unpacking libappstream-
Selecting previously unselected package gnome-software.
Preparing to unpack .../gnome-
Unpacking gnome-software (3.19.5+
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/share/
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for libc-bin (2.21-0ubuntu5) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for bamfdaemon (0.5.2~
Rebuilding /usr/share/
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
The easiest way to fix this would be upgrading your PackageKit and GNOME-PackageKit packages ;-) t-session (<< 3.16.0-2~)
I wonder why this issue happens at all though, since GS has a Breaks/Replaces relation: gnome-packageki