[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guix pull: error: symlink: File exists

From: Jimmy Thrasibule
Subject: guix pull: error: symlink: File exists
Date: Sat, 18 Jan 2020 22:11:36 +0100


I'm working on an Alpine Docker image with the Guix package manager [1].
The container is building and can run Guix without the ``--privileged``

The installation process is based on the documentation and the installation
script [2]. Everything is working fine however, when I run ``guix pull`` in
the generated image, I got the following error:

    Migrating profile generations to '/var/guix/profiles/per-user/root'...
    guix pull: error: symlink: File exists: "

This issue has already been discussed at [3] but the workaround to delete
all the links in the directory ``/var/guix/profiles/per-user/root`` is
causing some troubles:

1. If I want to ship a ready to use image and delete the links upfront,
``guix daemon`` will fail to start since ``/root/.config/guix/current`` is
2. Users of the image can delete the links themselves but this is not
really friendly.

So what is exactly causing this error and what would be a good option to
fix it?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]