Skip to content

Error: cloning builder process: Operation not permitted installing Nix 2.2.1 in (Arch) Linux #2633

@x80486

Description

@x80486

I'm currently using Arch Linux 4.19.15-1-lts #1 SMP Sun Jan 13 13:53:52 CET 2019 x86_64 GNU/Linux. I'm trying to install Nix 2.2.1 and I'm getting some errors:

$ sh <(curl https://nixos.org/nix/install) --no-daemon 
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  2476  100  2476    0     0   5417      0 --:--:-- --:--:-- --:--:--  5406
    downloading Nix 2.2.1 binary tarball for x86_64-linux from 'https://nixos.org/releases/nix/nix-2.2.1/nix-2.2.1-x86_64-linux.tar.bz2' to '/tmp/nix-binary-tarball-unpack.n5vqvsi4Uq'...
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 22.5M  100 22.5M    0     0  4016k      0  0:00:05  0:00:05 --:--:-- 4377k
    Note: a multi-user installation is possible. See https://nixos.org/nix/manual/#sect-multi-user-installation
    performing a single-user installation of Nix...
    directory /nix does not exist; creating it by running 'mkdir -m 0755 /nix && chown x80486 /nix' using sudo
    [sudo] password for x80486: 
    copying Nix to /nix/store.................................
    initialising Nix database...
    Nix: creating /home/x80486/.nix-profile
    installing 'nix-2.2.1'
    error: cloning builder process: Operation not permitted
    error: unable to start build process
    /tmp/nix-binary-tarball-unpack.n5vqvsi4Uq/unpack/nix-2.2.1-x86_64-linux/install: unable to install Nix into your default profile

Truth is I've been using to have Nix for some years. This happened after a Linux/Nix upgrade, I can't really tell, all I can recap is that I started getting those errors after the Nix upgrade to version 2.2; more info in this StackExchange question.

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