help-guix
[Top][All Lists]
Advanced

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

Re: cleaning interrupted build "leftovers" ?


From: Andreas Enge
Subject: Re: cleaning interrupted build "leftovers" ?
Date: Fri, 28 Aug 2020 13:03:42 +0200

On Fri, Aug 28, 2020 at 12:34:11PM +0200, Fulbert wrote:
>   Yesterday, I interrupted (CTRL+C) the installation of
> linux-libre@5.8.5 when it was in build phase (substitute not
> available yet). Today, a new `guix system reconfigure` has
> found a substitute. I am wondering if, in this situation, my system
> has "leftovers" from the aborted build, that I would need to
> clean… and if so, {where,how} to find it ?! 

packages are normally built in /tmp, each package in its own subdirctory
guix-build-<package>. When interrupting the build with Ctrl-C, this
directory survives (and on most systems is deleted during the next reboot).

>   Based on the [attached] result of the following command, I
> suppose, but I am unsure.
> ----
> $ sudo find -L /var/guix /gnu/store -name "*linux-libre-5.8.5*" 2> /dev/null
>   1228101      4 dr-xr-xr-x   6 root     root         4096 jan  1  1970 
> /var/guix/profiles/system/kernel/share/doc/linux-libre-5.8.5

This looks like it is part of your successful upgrade of the system with
a substitute.
$ ls -l /var/guix/profiles
shows links to profiles in /gnu/store (and if space runs out, these can
be removed by deleting profiles and "guix gc").

Andreas




reply via email to

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