Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

Support Debian Jessie #78

Closed
pharpend opened this issue May 2, 2015 · 3 comments
Closed

Support Debian Jessie #78

pharpend opened this issue May 2, 2015 · 3 comments

Comments

@pharpend
Copy link

pharpend commented May 2, 2015

Hey, there! I tried to install Halcyon on my server just now. My server is running Debian 8 (Jessie), which is the newest Debian-Stable as of now. I got this message:

% curl -sL https://github.com/mietek/halcyon/raw/master/setup.sh | sudo bash
-----> Welcome to Halcyon

-----> Creating base directory: /app
-----> Installing OS packages
         *** ERROR: Unsupported platform: linux-debian-8-x86_64
   *** ERROR: Failed to install OS packages
   *** ERROR: Failed to install Halcyon

(By the way, the command you have in the tutorial doesn't work in zsh). Piping the script to sudo sh also failed with:

sh: 1: set: Illegal option -o pipefail

FreeBSD, for instance, doesn't ship with bash, so you should make the script work with /bin/sh.

@pharpend
Copy link
Author

pharpend commented May 2, 2015

I edited the script manually. Here's the diff, if you want to use it:

1c1
< set -o pipefail
---
> #!/bin/bash
2a3
> set -o pipefail
52a54,64
>       fi
>       ;;
>   'linux-debian-8'*)
>       # NOTE: When run as root, sudo asks for password
>       # on Debian 7.
>       if [ "${uid}" -eq 0 ]; then
>           aptitude update || return 1
>           aptitude install -y build-essential git pigz zlib1g-dev || return 1
>       else
>           sudo bash -c 'aptitude update &&
>               aptitude install -y build-essential git pigz zlib1g-dev' || return 1

@pharpend
Copy link
Author

pharpend commented May 2, 2015

That unfortunately still doesn't work:

# halcyon install keter
-----> Self-updating bashmenot... done, 08977d6
-----> Self-updating Halcyon... done, 7210a8a
-----> Installing GHC and Cabal
       External storage:                         public
       GHC version:                              7.8.4
       Cabal version:                            1.20.0.3
       Cabal remote-repo:                        hackage:http://hackage.haskell.org/packages/archive

-----> Restoring GHC directory
       Downloading https://halcyon.global.ssl.fastly.net/linux-debian-8-x86_64/halcyon-ghc-7.8.4.tar.gz... 404 (not found)
-----> Building GHC directory
   *** ERROR: Unsupported platform: unknown

@mietek
Copy link
Owner

mietek commented May 5, 2015

Thanks. This is already tracked as #64, and will be resolved soon.

@mietek mietek closed this as completed May 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants