can't install 0.16 from debian repos


Problems running or configuring the software, commands & options, compiling, different platforms, using the interface, documentation, etc.

Dungeon Dilettante

Posts: 4

Joined: Saturday, 14th March 2015, 12:19

Post Saturday, 14th March 2015, 12:25

can't install 0.16 from debian repos

  Code:
The following packages have unmet dependencies:
 crawl : Depends: libstdc++6 (>= 4.9) but 4.8.2-19ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.


I get this problem after trying to install crawl 0.16 on my xubuntu 14.04. Any suggestions?

Dungeon Dilettante

Posts: 1

Joined: Saturday, 14th March 2015, 16:10

Post Saturday, 14th March 2015, 16:12

Re: can't install 0.16 from debian repos

I'm having issues too. Packages held back error after I change /etc/apt/sources.list to 0.16.

Any help appreciated.
User avatar

Halls Hopper

Posts: 86

Joined: Saturday, 18th January 2014, 09:40

Post Sunday, 22nd March 2015, 00:16

Re: can't install 0.16 from debian repos

I'm having the same problem (Linux Mint 17.1 Cinnamon). Depending on libstdc++ 4.9 would seem to make it unusable for the majority of Linux systems. If it can easily be made compatible with a more widely used version of the library that would probably be a good idea.

ly

Dungeon Dilettante

Posts: 1

Joined: Sunday, 22nd March 2015, 18:50

Post Sunday, 22nd March 2015, 19:01

Re: can't install 0.16 from debian repos

hermitwo wrote:I get this problem after trying to install crawl 0.16 on my xubuntu 14.04. Any suggestions?


add the 14.10 utopic repo to sources.list and update necessary packages manually. Or do full update to 14.10 utopic. Either works.

Dungeon Dilettante

Posts: 1

Joined: Monday, 23rd March 2015, 00:51

Post Monday, 23rd March 2015, 00:53

Re: can't install 0.16 from debian repos

i'm having the same problem, with Linux Mint 17.1 Mate. Any solution?

Dungeon Master

Posts: 585

Joined: Sunday, 9th June 2013, 17:13

Post Monday, 23rd March 2015, 23:30

Re: can't install 0.16 from debian repos

We did a 0.16.1 bugfix release, and for this version I build against ubuntu trusty instead of utopic, so the library dependencies should be less restrictive than they were for 0.16.0. Anyone who had trouble installing the 0.16.0 debs is encouraged to update their repository (the apt url is the same) and try to install crawl. Hopefully the library dependencies will be easier for e.g. Mint users. The packages should work fine on ubuntu trusty or utopic, or debian jessie or sid. Debian stable doesn't have libsdl2-image even as a backport,and we'd not want to maintain our own SDL library debs, so it may be difficult to support debian systems much older than ubuntu trusty.

If anyone has lots of experience with making debian packages and can suggest improvements, please take a look at the debian directory in the source tree.

For this message the author gammafunk has received thanks: 3
cosmo, hermitwo, Senban

Dungeon Dilettante

Posts: 1

Joined: Friday, 14th August 2015, 02:52

Post Friday, 14th August 2015, 02:54

Re: can't install 0.16 from debian repos

It's back. The new 0.16.2-1 release depends on an unavailable version of libstdc++6 (>= 4.9). This is on Linux Mint 17.2 which is otherwise current and up-to-date.

For this message the author RegorA has received thanks:
gammafunk

Dungeon Dilettante

Posts: 2

Joined: Saturday, 22nd August 2015, 12:20

Post Saturday, 22nd August 2015, 12:22

Re: can't install 0.16 from debian repos

RegorA wrote:It's back. The new 0.16.2-1 release depends on an unavailable version of libstdc++6 (>= 4.9). This is on Linux Mint 17.2 which is otherwise current and up-to-date.


Any news on addressing this problem?

Is there any workaround to install it anyway?

Dungeon Dilettante

Posts: 1

Joined: Saturday, 22nd August 2015, 18:31

Post Saturday, 22nd August 2015, 18:39

Re: can't install 0.16 from debian repos

How to install Dungeon Crawl 16.2 in Ubuntu 14.04 or Linux Mint 17.x:

I use Linux Mint 17.2 Xfce. Software Manager won't cut it with Crawl. The default version is old (15, I think) and when you add Crawl's debian source, the install just doesn't work, despite the best intentions. I spent a couple hours this morning trying to fix my Linux Mint, thinking something was broken.

To find out what is really happening behind the scenes, drop to a terminal and execute the following command:
sudo apt-get install crawl-tiles

You can see that apt-get is upset with you, because crawl-tiles requires version 4.9 or greater of stdlibc++, and here you are trying to install crawl-tiles with only 4.8.4.

So to fix things, in the Ubuntu world, you can rectify matters and get version 4.9 or greater of the C library:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install libstdc++6

After that, smooth sailing. You can and should install crawl-tiles 16.2 from the usual crawl PPA or deb or whatever.

Had to log in and create an account and all just to share that with my fellow Linux brothers and sisters. The old Crawl development trunk has not been updated since 2014 and seems to also have version 15.
btw., the trunk version 17.x looks marvelous in Windows, but I'm not really keen on compiling it so I will probably wait on getting it in Linux.

Enjoy...

Dungeon Master

Posts: 585

Joined: Sunday, 9th June 2013, 17:13

Post Saturday, 22nd August 2015, 23:47

Re: can't install 0.16 from debian repos

RegorA wrote:It's back. The new 0.16.2-1 release depends on an unavailable version of libstdc++6 (>= 4.9). This is on Linux Mint 17.2 which is otherwise current and up-to-date.


Sorry about that! I built the packages relative to utopic instead of trusty (apparently forgot the lesson learned when releasing 0.16.0). The 0.16.2 packages have been rebuilt relative to trusty and reuploaded to the repository, so they should work on trusty and above as well as current debian.

For libstdc++6, the dependency is >= 4.8 instead of >=4.9, so hopefully it's ok on your Mint system as well. Here's the full set of dependencies for tiles:

  Code:
 Depends: libc6 (>= 2.14), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:4.1.1), libgl1-
mesa-glx | libgl1, libglu1-mesa | libglu1, liblua5.1-0, libpcre3, libsdl2-2.0-0 (
>= 2.0.0), libsdl2-image-2.0-0 (>= 2.0.0), libsqlite3-0 (>= 3.5.9), libstdc++6 (>
= 4.8), zlib1g (>= 1:1.1.4), crawl-common (= 2:0.16.2-1), crawl-tiles-data (= 2:0
.16.2-1), fonts-dejavu-core                                                     


Next release we'll be building relative to debian stable, since a new version has been released.

Dungeon Dilettante

Posts: 2

Joined: Saturday, 22nd August 2015, 12:20

Post Monday, 24th August 2015, 16:47

Re: can't install 0.16 from debian repos

Thank you gammafunk, all is ok now :)

Dungeon Dilettante

Posts: 1

Joined: Monday, 14th November 2016, 13:21

Post Monday, 14th November 2016, 13:22

Re: can't install 0.16 from debian repos

I notice that this is back again (Ubuntu 14.04). The minimum requirement is once again 4.9 or higher. Any plans to fix this, or is Ubuntu 14.04 just not supported any more? I note that it works fine on Ubuntu 16.04, but I have one machine that I'm not upgrading for the moment.

Dungeon Master

Posts: 585

Joined: Sunday, 9th June 2013, 17:13

Post Tuesday, 15th November 2016, 10:46

Re: can't install 0.16 from debian repos

Yes, I used the current debian stable for this release, since that has been out for quite some time now, and I think most debian-based distros have moved to this. It's possible that with a better debian package and package making process, the version requirement could be relaxed, but I'm not sure. I'm far from a debian package expert, and have just been able to cobble together a setup from what info I could find.

Of course you can still compile and run dcss on ubuntu 14.04, and you could even make packages yourself using that OS as a basis. It's more complicated to make debian packages than it is to simply compile the source, so you might want to simply do that using the Linux instructions in the install guide. It's pretty simple to install the necessary debian dev packages (listed in the guide) and run the make command. If you do want to try making packages for 14.04, I put together a guide based on the setup that I use, which you can find in repo here.

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 12 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.