Public bug reported:

sudo apt remove kodi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  fonts-noto-hinted fonts-roboto-hinted kodi-bin kodi-data 
kodi-visualization-spectrum libcec4 libcrossguid0 libjs-iscroll libmicrohttpd12 
libnfs8 python-imaging
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED
  kodi
0 to upgrade, 0 to newly install, 1 to remove and 0 not to upgrade.
After this operation, 60.4 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 205125 files and directories currently installed.)
Removing kodi (2:17.3+dfsg1-3) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Processing triggers for bamfdaemon (0.5.3+17.10.20170810-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
davidr@davidr-ASM100:~$ sudo apt install kodi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  kodi-repository-kodi
The following NEW packages will be installed
  kodi kodi-repository-kodi
0 to upgrade, 2 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/43.8 kB of archives.
After this operation, 152 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Selecting previously unselected package kodi.
(Reading database ... 205115 files and directories currently installed.)
Preparing to unpack .../kodi_2%3a17.3+dfsg1-3_amd64.deb ...
Unpacking kodi (2:17.3+dfsg1-3) ...
Preparing to unpack .../kodi-repository-kodi_2%3a17.3+dfsg1-3_all.deb ...
Unpacking kodi-repository-kodi (2:17.3+dfsg1-3) ...
dpkg: error processing archive 
/var/cache/apt/archives/kodi-repository-kodi_2%3a17.3+dfsg1-3_all.deb 
(--unpack):
 trying to overwrite '/usr/share/kodi/addons/repository.xbmc.org/addon.xml', 
which is also in package kodi-data 2:17.3+dfsg1-3
Errors were encountered while processing:
 /var/cache/apt/archives/kodi-repository-kodi_2%3a17.3+dfsg1-3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: kodi-repository-kodi (not installed)
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.7-0ubuntu3.1
Architecture: amd64
Date: Fri Oct 27 10:17:10 2017
ErrorMessage: trying to overwrite 
'/usr/share/kodi/addons/repository.xbmc.org/addon.xml', which is also in 
package kodi-data 2:17.3+dfsg1-3
InstallationDate: Installed on 2017-05-06 (173 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 
3.6.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 
2.7.14-2ubuntu1
RelatedPackageVersions:
 dpkg 1.18.24ubuntu1
 apt  1.5
SourcePackage: kodi
Title: package kodi-repository-kodi (not installed) failed to install/upgrade: 
trying to overwrite '/usr/share/kodi/addons/repository.xbmc.org/addon.xml', 
which is also in package kodi-data 2:17.3+dfsg1-3
UpgradeStatus: Upgraded to artful on 2017-10-23 (3 days ago)

** Affects: kodi (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package artful

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

Title:
  re-installing kodi failed due to permssions in writing to addon.xml

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kodi/+bug/1727940/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to