Hi,

l...@gnu.org (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:

  root@berlin /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