View Single Post
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#1
I have a strange problem with libsdl-ttf2.0 and libsdl-ttf2.0-0 after I tried to install the new PyGame 1.9.1 build. I think both packages do the same and you can only install one of them at the same time. The problem is that every package seems to use libsdl-ttf2.0-0 but PyGame 1.9.1 libsdl-ttf2.0 and now I am stuck and I don't know how to solve the problem:

Code:
Nokia-N900:~# apt-get install python-pygame
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-pygame is already the newest version.
python-pygame set to manually installed.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  python-pygame: Depends: libsdl-ttf2.0 (>= 2.0.9) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Nokia-N900:~# apt-get install libsdl-ttf2.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libsdl-ttf2.0
0 upgraded, 1 newly installed, 0 to remove and 16 not upgraded.
2 not fully installed or removed.
Need to get 0B/13,5kB of archives.
After this operation, 77,8kB of additional disk space will be used.
(Reading database ... 48590 files and directories currently installed.)
Unpacking libsdl-ttf2.0 (from .../libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb) ...
dpkg: error processing /var/cache/apt/archives/libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb (--unpack):
 trying to overwrite `/usr/lib/libSDL_ttf-2.0.so.0.6.3', which is also in package libsdl-ttf2.0-0
Errors were encountered while processing:
 /var/cache/apt/archives/libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I cannot even install/upgrade other packages because of this.
How can I solve that problem?
Thanks