GNU bug report logs -
#36466
guix pull --delete-generations
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36466 in the body.
You can then email your comments to 36466 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#36466
; Package
guix
.
(Mon, 01 Jul 2019 21:58:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Raghav Gururajan <rvgn <at> disroot.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 01 Jul 2019 21:58:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello Guix!
I would like to report that "guix pull --delete-generations" is missing
and its absence can be considered as a bug.
Due to this, users cannot straight-forwardly delete guix pull
generations and garbage collect them via guix gc. This causes too much
accumulation of generations and its files in the storage.
I request the admin to set the severity and priority of this bug to
"high".
Thank you!
Regards,
RG.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36466
; Package
guix
.
(Tue, 02 Jul 2019 07:04:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 36466 <at> debbugs.gnu.org (full text, mbox):
Hi Raghav,
> I would like to report that "guix pull --delete-generations" is missing
> and its absence can be considered as a bug.
“guix pull” uses a regular profile at ~/.config/guix/current, so you can
do “guix package -p ~/.config/guix/current --delete-generations”
--
Ricardo
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36466
; Package
guix
.
(Tue, 02 Jul 2019 18:26:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 36466 <at> debbugs.gnu.org (full text, mbox):
> “guix pull” uses a regular profile at ~/.config/guix/current, so you
> can
> do “guix package -p ~/.config/guix/current --delete-generations”
Thanks Ricardo! I am aware of this as someone suggested this on IRC. ☺.
My concern is that there is "guix system delete-generations" and "guix
package --delete-generations"; but not "guix pull --delete-
generations".
Bringing "guix pull --delete-generations" will be straight-forward and
any user does not have to type profile path everytime they delete
generations. Will also be intutive for new guix users. ☺
Regards,
RG.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36466
; Package
guix
.
(Sun, 07 Jul 2019 14:30:03 GMT)
Full text and
rfc822 format available.
Message #14 received at 36466 <at> debbugs.gnu.org (full text, mbox):
Hi,
Raghav Gururajan <rvgn <at> disroot.org> skribis:
>> “guix pull” uses a regular profile at ~/.config/guix/current, so you
>> can
>> do “guix package -p ~/.config/guix/current --delete-generations”
>
> Thanks Ricardo! I am aware of this as someone suggested this on IRC. ☺.
> My concern is that there is "guix system delete-generations" and "guix
> package --delete-generations"; but not "guix pull --delete-
> generations".
>
> Bringing "guix pull --delete-generations" will be straight-forward and
> any user does not have to type profile path everytime they delete
> generations. Will also be intutive for new guix users. ☺
Note that there’s also ‘guix gc --delete-generations’, which is really
what newcomers should be using IMO because it operates on all the user’s
profiles.
That said, I think a patch that adds ‘--delete-generations’ to ‘guix
pull’ would also be welcome.
Thanks,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36466
; Package
guix
.
(Sun, 07 Jul 2019 20:07:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 36466 <at> debbugs.gnu.org (full text, mbox):
> Note that there’s also ‘guix gc --delete-generations’, which is really
> what newcomers should be using IMO because it operates on all the user’s
> profiles.
Thanks! Does `guix gc --delete-generations` delete guix pull generations as well?
> That said, I think a patch that adds ‘--delete-generations’ to ‘guix
> pull’ would also be welcome.
True :)
Regards,
RG.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36466
; Package
guix
.
(Sun, 07 Jul 2019 20:07:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 36466 <at> debbugs.gnu.org (full text, mbox):
> Note that there’s also ‘guix gc --delete-generations’, which is really
> what newcomers should be using IMO because it operates on all the user’s
> profiles.
Thanks! Does `guix gc --delete-generations` delete guix pull generations as well?
> That said, I think a patch that adds ‘--delete-generations’ to ‘guix
> pull’ would also be welcome.
True :)
Regards,
RG.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36466
; Package
guix
.
(Mon, 08 Jul 2019 09:43:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 36466 <at> debbugs.gnu.org (full text, mbox):
"Raghav Gururajan" <rvgn <at> disroot.org> skribis:
>> Note that there’s also ‘guix gc --delete-generations’, which is really
>> what newcomers should be using IMO because it operates on all the user’s
>> profiles.
>
> Thanks! Does `guix gc --delete-generations` delete guix pull generations as well?
Yes.
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36466
; Package
guix
.
(Mon, 08 Jul 2019 18:19:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 36466 <at> debbugs.gnu.org (full text, mbox):
> Yes.
Thanks!
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36466
; Package
guix
.
(Mon, 08 Jul 2019 21:34:01 GMT)
Full text and
rfc822 format available.
Message #29 received at 36466 <at> debbugs.gnu.org (full text, mbox):
> Yes.
Unfortunately, it did not work.
***START***
rg <at> secondary ~$ guix gc --delete-generations
Backtrace:
7 (primitive-load "/home/rg/.config/guix/current/bin/guix")
In guix/ui.scm:
1655:12 6 (run-guix-command _ . _)
In ice-9/boot-9.scm:
829:9 5 (catch _ _ #<procedure 7fc0b58caca0 at guix/ui.scm:590…>
…)
829:9 4 (catch _ _ #<procedure 7fc0b58cacb8 at guix/ui.scm:713…>
…)
In guix/scripts/gc.scm:
253:6 3 (_)
In srfi/srfi-1.scm:
640:9 2 (for-each #<procedure d37ba0 at guix/scripts/gc.scm:25…>
…)
In guix/scripts/gc.scm:
114:38 1 (delete-old-generations #<store-connection 256.99 798b…>
…)
In unknown file:
0 (delv 11 #f)
ERROR: In procedure delv:
In procedure list-copy: Wrong type argument in position 1: #f
***END***
Regards,
RG.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36466
; Package
guix
.
(Thu, 11 Jul 2019 21:35:03 GMT)
Full text and
rfc822 format available.
Message #32 received at 36466 <at> debbugs.gnu.org (full text, mbox):
Hi,
Raghav Gururajan <rvgn <at> disroot.org> skribis:
> rg <at> secondary ~$ guix gc --delete-generations
> Backtrace:
> 7 (primitive-load "/home/rg/.config/guix/current/bin/guix")
> In guix/ui.scm:
> 1655:12 6 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
> 829:9 5 (catch _ _ #<procedure 7fc0b58caca0 at guix/ui.scm:590…>
> …)
> 829:9 4 (catch _ _ #<procedure 7fc0b58cacb8 at guix/ui.scm:713…>
> …)
> In guix/scripts/gc.scm:
> 253:6 3 (_)
> In srfi/srfi-1.scm:
> 640:9 2 (for-each #<procedure d37ba0 at guix/scripts/gc.scm:25…>
> …)
> In guix/scripts/gc.scm:
> 114:38 1 (delete-old-generations #<store-connection 256.99 798b…>
> …)
> In unknown file:
> 0 (delv 11 #f)
>
> ERROR: In procedure delv:
> In procedure list-copy: Wrong type argument in position 1: #f
Good catch! This bug should now be fixed by
5c3d44303e1bb75d45334af5cf86cde723da0371.
Could you check if it works for you?
Thanks,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36466
; Package
guix
.
(Fri, 12 Jul 2019 05:18:01 GMT)
Full text and
rfc822 format available.
Message #35 received at 36466 <at> debbugs.gnu.org (full text, mbox):
> Good catch! This bug should now be fixed by
> 5c3d44303e1bb75d45334af5cf86cde723da0371.
>
> Could you check if it works for you?
Thank you very much. It worked. Phew! 5GB of data in user and 3GB of
data in root; was removed by `guix gc --delete-generations`. ☺
Regards,
RG.
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Fri, 12 Jul 2019 17:08:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Raghav Gururajan <rvgn <at> disroot.org>
:
bug acknowledged by developer.
(Fri, 12 Jul 2019 17:08:02 GMT)
Full text and
rfc822 format available.
Message #40 received at 36466-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Raghav Gururajan <rvgn <at> disroot.org> skribis:
>> Good catch! This bug should now be fixed by
>> 5c3d44303e1bb75d45334af5cf86cde723da0371.
>>
>> Could you check if it works for you?
>
> Thank you very much. It worked. Phew! 5GB of data in user and 3GB of
> data in root; was removed by `guix gc --delete-generations`. ☺
Good! I’m closing this bug now, but do reopen it if you think there are
other things we should do.
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 10 Aug 2019 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 258 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.