Problem getting love2d on (x)ubuntu.

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
MC_RIDE
Prole
Posts: 2
Joined: Wed Dec 18, 2013 4:56 pm

Problem getting love2d on (x)ubuntu.

Post by MC_RIDE »

I've read several threads about people having problems on ubuntu and then solving them by installing it from bartbes' PPA, but I can't get that to work for me. :(

So, after adding the PPA and updating apt, this is the result of 'sudo apt-get install love' :

Code: Select all

nico@Tostadora-HP:~$ sudo apt-get install love
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  liblove libsdl2
The following NEW packages will be installed:
  liblove libsdl2 love
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/1.451 kB of archives.
After this operation, 4.255 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 219688 files and directories currently installed.)
Unpacking libsdl2:i386 (from .../libsdl2_2.0.1ppa1quantal1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libsdl2_2.0.1ppa1quantal1_i386.deb (--unpack):
 trying to overwrite '/usr/lib/i386-linux-gnu/libSDL2-2.0.so.0', which is also in package libsdl2-2.0-0:i386 2.0.0+dfsg1-2
No apport report written because MaxReports is reached already
                                                              Selecting previously unselected package liblove:i386.
Unpacking liblove:i386 (from .../liblove_0.9.0_i386.deb) ...
Selecting previously unselected package love:i386.
Unpacking love:i386 (from .../archives/love_0.9.0_i386.deb) ...
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libsdl2_2.0.1ppa1quantal1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I seriously have no idea how to fix this. The fun thing is that love is actually installed after this process, so I can get to the "no game" screen; but all the games break it because liblove is not installed.

Seriously stumped.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Problem getting love2d on (x)ubuntu.

Post by bartbes »

It seems you've already got another sdl package installed, that's not following the correct naming scheme. Can you try removing that? (libsdl2-2.0-0)
By the way, liblove is also needed for the no game screen, so liblove is installed, and SDL2 is apparently installed too (though that package failed, you appear to have another, older one), I'm not sure why running games would fail.
User avatar
MC_RIDE
Prole
Posts: 2
Joined: Wed Dec 18, 2013 4:56 pm

Re: Problem getting love2d on (x)ubuntu.

Post by MC_RIDE »

bartbes wrote: I'm not sure why running games would fail.
Image

Uninstalling that older libsdl worked perfectly, though.

Thanks bart.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 4 guests