Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Installation fails when haskell platform is installed #36

@brson

Description

@brson

@flip111 reported this bizarre problem.

» curl -sSf https://static.rust-lang.org/rustup.sh | sh                                              [18:54:40]

Welcome to Rust.

This script will download the Rust compiler and its package manager, Cargo, and
install them to /usr/local. You may install elsewhere by running this script
with the --prefix=<path> option.

The installer will run under 'sudo' and may ask you for your password. If you do
not want the script to run 'sudo' then pass it the --disable-sudo flag.

You may uninstall later by running /usr/local/lib/rustlib/uninstall.sh,
or by running this script again with the --uninstall flag.

Continue? (y/N) y

rustup: gpg available. signatures will be verified
rustup: downloading manifest for 'stable'
rustup: downloading toolchain for 'stable'
######################################################################## 100.0%
gpg: assuming signed data in `/home/ph88/.rustup/dl/e9ae934beb64de1168b5/rust-1.0.0-x86_64-unknown-linux-gnu.tar.gz'
gpg: Signature made Thu 14 May 2015 12:26:24 PM CEST using RSA key ID 7B3B09DC
gpg: Good signature from "Rust Language (Tag and Release Signing Key) <[email protected]>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 108F 6620 5EAE B0AA A8DD  5E1C 85AB 96E6 FA1B E5FE
     Subkey fingerprint: C134 66B7 E169 A085 1886  3216 5CB4 A934 7B3B 09DC
rustup: extracting installer
rustup: installing toolchain for 'stable'
install: creating uninstall script at /usr/local/lib/rustlib/uninstall.sh
install: installing component 'rustc'
mkdir: cannot create directory ‘/usr/local/share/man/man1’: File exists
install: error: directory creation failed. see logs at '/usr/local/lib/rustlib/install.log'
rustup: command failed: sudo sh /home/ph88/.rustup/tmp/tmp-30767-10/rust-1.0.0-x86_64-unknown-linux-gnu/install.sh --prefix=/usr/local
rustup: failed to install toolchain

The problem is that /usr/local/share/man/man1 is a symlink to a file:

13:11 <ph88> lrwxrwxrwx 1 root root 56 Jan 24 02:14 /usr/local/share/man/man1 -> /usr/local/haskell/ghc-7.8.3-x86_64/share/man/man1/ghc.1

Apparently the haskell platform did this. I'm a little confused why.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions