bug-guix
[Top][All Lists]
Advanced

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

bug#28664: Old narinfos of tarballs purged on berlin


From: Ludovic Courtès
Subject: bug#28664: Old narinfos of tarballs purged on berlin
Date: Mon, 06 Nov 2017 09:40:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hi,

address@hidden (Ludovic Courtès) skribis:

> As a followup to <https://bugs.gnu.org/28664>, Ricardo upgraded to the
> latest Guix on berlin, and I’ve now removed old .narinfos corresponding
> to tarballs for which we potentially lacked the corresponding nar:
>
>   sudo find /var/cache/guix/publish/none -mtime +7 -exec rm -v {} \;

This missed ~100 of them, so I’ve run the following command, which is
more accurate:

  address@hidden /var/cache/guix/publish/none# rm -v $(for i in *.narinfo ; do 
[ -f `echo $i | sed -es/narinfo/nar/g` ] || echo $i ; done)

Ludo’.





reply via email to

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