libsdl2-2.0-0 package error on update
#1
Having a package issue that seems to be related to Kodi.
Recently upgraded to Kodi.

Tried the following with no success, any idea's on a fix?

sudo apt-get install kodi kodi-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
kodi-bin is already the newest version.
kodi-bin set to manually installed.
kodi is already the newest version.
kodi set to manually installed.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
kodi-bin : Depends: libsdl2-2.0-0 (>= 2.0.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

SO I RAN:
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libglew1.6 libmicrohttpd5 libsdl2 libtiff4 libyajl1 linux-headers-3.13.0-39
linux-headers-3.13.0-39-generic linux-image-3.13.0-39-generic
linux-image-extra-3.13.0-39-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libsdl2-2.0-0
The following NEW packages will be installed:
libsdl2-2.0-0
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
3 not fully installed or removed.
Need to get 0 B/317 kB of archives.
After this operation, 1,114 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 434442 files and directories currently installed.)
Preparing to unpack .../libsdl2-2.0-0_2.0.2+dfsg1-3ubuntu1.1_amd64.deb ...
Unpacking libsdl2-2.0-0:amd64 (2.0.2+dfsg1-3ubuntu1.1) ...
dpkg: error processing archive /var/cache/apt/archives/libsdl2-2.0-0_2.0.2+dfsg1-3ubuntu1.1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0', which is also in package libsdl2:amd64 2.0.3+z4~20140315-8621-1ppa1precise1
Errors were encountered while processing:
/var/cache/apt/archives/libsdl2-2.0-0_2.0.2+dfsg1-3ubuntu1.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

THEN
apt-cache policy libsdl2-dev
libsdl2-dev:
Installed: (none)
Candidate: 2.0.2+dfsg1-3ubuntu1.1
Version table:
2.0.2+dfsg1-3ubuntu1.1 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages
2.0.2+dfsg1-3ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
Reply
#2
you somehow seem to have another sdl2 package installed.

apt-cache policy libsdl2
dpkg -S /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
Reply

Logout Mark Read Team Forum Stats Members Help
libsdl2-2.0-0 package error on update0