Package Details: ckan 1.30.0-1

Git Clone URL: https://aur.archlinux.org/ckan.git (read-only, click to copy)
Package Base: ckan
Description: All you need to find, install, and manage mods for Kerbal Space Program (ksp)
Upstream URL: https://github.com/KSP-CKAN/CKAN/
Keywords: game kerbal ksp manager mod
Licenses: MIT
Submitter: birdspider
Maintainer: Khorne (politas)
Last Packager: Khorne
Votes: 29
Popularity: 0.73
First Submitted: 2014-12-30 19:22
Last Updated: 2021-03-21 19:17

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

spacekookie commented on 2017-06-04 19:55

@birdspider

1) Why doesn't ckan enable systemd-binfmt if it's required
2) Why would ANYONE in their right mind enable a Linux to execute random windows binary files?
3) I can complain about the application not being launch-able from the terminal if that is the only way the package makes it possible to launch and at the same time want a desktop file

But I guess you're unwilling to change the package. I made my own locally and I guess I'll keep it up to date for myself as well.

If anyone else is interested: https://github.com/spacekookie/stuff/tree/mistress/ckan

birdspider commented on 2017-06-04 17:20

@spacekookie: it does not fail on my PC; do you have systemd-binfmt.service enabled ? Also as per https://wiki.archlinux.org/index.php/Arch_packaging_standards#Directories /opt is for 'Large self-contained packages'. Ckan is neither large nor self-contained (mono).

Why do you care for a .desktop file when your origninal issue was not beeing able to start it from terminal ?

spacekookie commented on 2017-06-04 16:02

@birdspider Well it means that when you run "ckan" from a terminal it fails with "The file '/usr/bin/ckan' is marked as an executable but could not be run by the operating system."

Placing a script at /usr/bin/ckan that calls "mono /opt/ckan/ckan.exe" makes that a lot nicer.

My PKGBUILD also creates a desktop file in /usr/share/applications/

birdspider commented on 2017-06-04 15:51

@spacekookie: what exactly does not work for you, why should I put a wrapper script /usr/bin/ ? What problem would wrapping ckan in an script and putting the binary elsewhere solve ?

spacekookie commented on 2017-06-04 14:50

Your package is pretty broken.

Shouldn't you put a script down as /usr/bin/ckan that runs the ckan binary with mono instead of this? Kinda ugly to just copy the exe into /usr/bin :S

---
EDIT: I already built a new PKGBUILD for myself. Would you be interested in merging it? And if so, how?

Anonymous comment on 2015-11-24 23:34

@birdspider: I tried what you suggested, making sure to enable systemd-binfmt and then trying `$ /usr/bin/mono /usr/bin/ckan`. I now get the same error I do when trying ckan.exe, which I posted at https://github.com/KSP-CKAN/CKAN/issues/1524#issuecomment-159317425 .

birdspider commented on 2015-11-24 13:56

@Zerkario,backleg: it took a while but it seem that to allow linux to exec mono on a file without explicitly saying that it is a mono binary, one has to enable

`systemd-binfmt.service - *Set Up Additional Binary Formats*` like so:

`sudo systemctl start systemd-binfmt`.

My main PC had it enabled by default - a fresh arch install I just testet didn't have it. I do not know if I can tweak the PKGBUILD to do it, probably a bash wrapper with direct `/usr/bin/mono /usr/bin/ckan` call would be the least hassle solution.

Anonymous comment on 2015-11-24 01:45

I'm having the same problem as backleg. `file /usr/bin/ckan` gives "/usr/bin/ckan: PE32 executable (console) Intel 80386 Mono/.Net assembly, for MS Windows"

The executable doesn't work either, it complains about SmallChange being under 0. I can post the whole error if needed.

Timendainum commented on 2015-10-25 09:42

What fonts are needed for this? I get a:

[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]

I got it, you need to set up a sym link to window fonts.

https://wiki.archlinux.org/index.php/Microsoft_fonts

birdspider commented on 2015-10-01 15:51

@backleg: also what does `file /usr/bin/ckan` give you ?