GNU bug report logs -
#71332
guix gc delete order
Previous Next
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Mon, 3 Jun 2024 09:14:02 UTC
Severity: normal
Done: Nicolas Graves <ngraves <at> ngraves.fr>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71332 in the body.
You can then email your comments to 71332 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#71332
; Package
guix
.
(Mon, 03 Jun 2024 09:14:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nicolas Graves <ngraves <at> ngraves.fr>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 03 Jun 2024 09:14:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi Guix,
I feel the way `guix gc` choose its files to delete quite
inconvenient. For instance, when developping big programs locally, I
often find myself missing space, but when I will `guix gc -C30G`,
instead of the expected unused items (not present in any profile, just
built but discarded as the package I'm building is updated for
instance), I will instead loose most of the native-inputs that are
needed to build my `guix home` and `guix system`.
This make me stuck in an endless loop of removing / redownloading over
and over the same native-inputs, while my intention is first to remove
files that aren't these native-inputs.
I haven't delved into `guix gc` yet, how hard is that issue to solve?
--
Best regards,
Nicolas Graves
Information forwarded
to
bug-guix <at> gnu.org
:
bug#71332
; Package
guix
.
(Mon, 03 Jun 2024 09:31:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 71332 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Nicolas Graves via Bug reports for GNU Guix <bug-guix <at> gnu.org> skribis:
> Hi Guix,
>
> I feel the way `guix gc` choose its files to delete quite
> inconvenient. For instance, when developping big programs locally, I
> often find myself missing space, but when I will `guix gc -C30G`,
> instead of the expected unused items (not present in any profile, just
> built but discarded as the package I'm building is updated for
> instance), I will instead loose most of the native-inputs that are
> needed to build my `guix home` and `guix system`.
>
> This make me stuck in an endless loop of removing / redownloading over
> and over the same native-inputs, while my intention is first to remove
> files that aren't these native-inputs.
>
> I haven't delved into `guix gc` yet, how hard is that issue to solve?
Hi.
Is the guix-daemon of your system started with the
"--gc-keep-derivations=yes" and "--gc-keep-outputs=yes" options?
It should prevent "guix gc" from deleting the build dependencies of live
profiles.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#71332
; Package
guix
.
(Mon, 03 Jun 2024 13:32:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 71332 <at> debbugs.gnu.org (full text, mbox):
On 2024-06-03 09:30, Guillaume Le Vaillant wrote:
> Hi.
> Is the guix-daemon of your system started with the
> "--gc-keep-derivations=yes" and "--gc-keep-outputs=yes" options?
> It should prevent "guix gc" from deleting the build dependencies of live
> profiles.
Probably not if they have to be added through the extra-options field of
<guix-configuration> record. I'll try that, thanks!
--
Best regards,
Nicolas Graves
Information forwarded
to
bug-guix <at> gnu.org
:
bug#71332
; Package
guix
.
(Mon, 03 Jun 2024 15:47:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 71332 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 2024-06-03 15:26, Nicolas Graves via Bug reports for GNU Guix wrote:
> On 2024-06-03 09:30, Guillaume Le Vaillant wrote:
>
>> Hi.
>> Is the guix-daemon of your system started with the
>> "--gc-keep-derivations=yes" and "--gc-keep-outputs=yes" options?
>> It should prevent "guix gc" from deleting the build dependencies of live
>> profiles.
Didn't know about those options, thank you for sharing!
>
> Probably not if they have to be added through the extra-options field of
> <guix-configuration> record. I'll try that, thanks!
I was suffering from the issue you have. After I updated SSD I just
don't do gc, but it would be a good fix for the problem, if it works.
--
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]
bug closed, send any further explanations to
71332 <at> debbugs.gnu.org and Nicolas Graves <ngraves <at> ngraves.fr>
Request was from
Nicolas Graves <ngraves <at> ngraves.fr>
to
control <at> debbugs.gnu.org
.
(Thu, 15 Aug 2024 23:10:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 13 Sep 2024 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 302 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.