[Nix-dev] (sudo (-H)) nix-collect-garbage
Florian Friesdorf
flo at chaoflow.net
Mon Jul 2 16:09:53 CEST 2012
Hi,
can somebody explain me what is going on here? Summary:
- garbage collect as user
- rerun garbage collect as user -> nothing to do
- sudo garbage collect -> more work to do including scary
'invalidating' actions
Why is root garbage collecting more than user?
Also in a brave moment I waited for the sudo garbage collect to finish
and then tried sudo -H, which gave invalidating messages again.
Currently I don't a have current backup close by, so I lack the courage
to let it continue.
regards
florian
% nix-collect-garbage
finding garbage collector roots...
deleting garbage...
deleting `/nix/store/k520rpfs4fqbwrj0kxp3l9n64a2j55q6-X11-fonts-gc-9464'
deleting `/nix/store/55w46ham8psha13sfwwv9klin6k5svxy-kernel-modules-shrunk-gc-9464'
deleting `/nix/store/fmngqigpqvr66bgsns5qzj56rmk00crs-docbook-xsl-ns-1.75.2-gc-9464'
deleting `/nix/store/0qwrh5m5vz9gjpkjj2f4fdqxr3j31k7w-bzip2-1.0.5-gc-9464'
deleting `/nix/store/m7cyflwvr7kfq22gj7pi51f050ni7bz0-bison-2.4.3-gc-9464'
deleting `/nix/store/w2mqa7jc92g874v38hakr8q8k4anyhqf-kernel-modules-shrunk-gc-9464'
deleting `/nix/store/jjng0pzp7237gy0gxyz2xqprh509bfzq-dejagnu-1.5-gc-9464'
deleting `/nix/store/svzdx25x7ph54pbfzyaz5j39ddlafcb0-kernel-modules-shrunk-gc-9464'
deleting `/nix/store/1f7bvi71didjhndd6dp0vw4wx2f7dlqb-xbitmaps-1.1.1-gc-9464'
deleting `/nix/store/ak3vkfsdcvj03nlxrdv1278l2ibjxz1w-asciidoc-8.6.6-gc-9464'
deleting `/nix/store/yrwnrn0ia4bqqm46gh2s7lrhawl9mil8-extra-utils-gc-9464'
deleting `/nix/store/3lxm7z0mmydsdkk9lihl1jdl8w9sdqp2-setuptools-0.6c11-gc-9464'
deleting `/nix/store/3x01iz2cpaj9llzl6wbr5376rmghi0da-kernel-modules-shrunk-gc-9464'
deleting `/nix/store/g9123y9k2lxdkq3wb983jxifwscwfkfk-docbook5-5.0-gc-9464'
deleting `/nix/store/3vv2npcyaylb9ca9zcxwb3x5gs9wk1r5-gnome-mime-data-2.18.0-gc-9464'
deleting `/nix/store/hq1r2h2i22x9ibpqn3kpa4l2j6bqdc47-dmxproto-2.3.1-gc-9464'
deleting `/nix/store/qc7838m1dlmy7s7r6k4hrdhip0yb3ha6-libXmu-1.1.0-gc-9464'
deleting `/nix/store/7i1b32m675xa8snm97z7x8knm8biw967-kernel-modules-shrunk-gc-9464'
deleting `/nix/store/81rkil40ajk9261dh908dshz8c7w1jf1-libXres-1.0.5-gc-9464'
deleting `/nix/store/aqp5p6mlxqk76h4zkd9x2ar6vrzawn2d-docbook-xml-4.3-gc-9464'
deleting `/nix/store/vicb9zp72i1dm672mbb9c2pnb6s8c5p0-mkfontdir-1.0.6-gc-9464'
deleting `/nix/store/xxgksa9f7mc3khs61li780qirblyihv3-python-Pygments-1.5-gc-9464'
deleting `/nix/store/sgcaf18f0jparv5k7c0vdzld86jgkrpy-libXext-1.2.0-gc-9464'
deleting `/nix/store/p4gnk4z44k5ln58di14fz2x9cwpmv7h3-expect-5.44.1-gc-9464'
deleting `/nix/store/racriv4hyprgy21lsjdg2d4czd0aib84-xf86driproto-2.1.1-gc-9464'
deleting `/nix/store/z02nmscm4zh2a0i6z4w461j6pw78jb99-mktemp-1.6-gc-9464'
deleting `/nix/store/x3mdnpf7ndkldbzw6mg428772fwfpwyl-asciidoc-8.6.6-gc-9464'
deleting `/nix/store/vjnp9is11mp1hkvfjfbk85hsz5z28zlp-chrome-gc-9464'
deleting `/nix/store/ps71khqlk299813kpv5h6lzmlf1hvmva-linux-3.0.9.tar.bz2.drv'
deleting `/nix/store/m056ynias775nyhxbwl8bn5f82k2k1cg-gcc-g++-4.5.1.tar.bz2.drv'
30 store paths deleted, 63608918 bytes (60.66 MiB, 148600 blocks) freed
% nix-collect-garbage
finding garbage collector roots...
deleting garbage...
0 store paths deleted, 0 bytes (0.00 MiB, 0 blocks) freed
% sudo nix-collect-garbage
finding garbage collector roots...
deleting garbage...
deleting `/nix/store/j7442asqjsdvbx5ji03bg21iy47jgdpc-xmonad-0.10.tar.gz'
deleting `/nix/store/crkqqaayrql6qpky7zia0mnr8fa2m0cn-duplicity-0.6.16.tar.gz'
deleting `/nix/store/kqxy61ps0nnixx806xklmi8cmhs6ma76-ghostscript-9.05.tar.bz2'
deleting `/nix/store/3wl27l3axcia2s4p4afaqha22gvh21ss-bzrtools-2.2.0.tar.gz'
deleting `/nix/store/xa5k1c2mckfz2h7schsl2gjni5ba48qv-libXvMC-1.0.6.tar.bz2'
invalidating `/nix/store/arb345a450fq38h49krlz1ii83zhpcar-glproto-1.4.12'
deleting `/nix/store/13diwa47xjsr8knfhh1ca5kpx41i8zl2-mkfontdir-1.0.6.tar.bz2'
deleting `/nix/store/j12h84rak5kpxiyz1z2s2j7nnvc9hsff-rtorrent-0.8.9.tar.gz'
deleting `/nix/store/dg3qwyqs1m9vg9mx9vbw765qz0p66677-keen4.zip'
invalidating `/nix/store/lca3kysy8iycx3vyi28r4xsd2p1slvhs-libdmx-1.1.1'
deleting `/nix/store/ax1f8j813m01xy4r43fhj4hnr9rf705y-nix-1.0pre2636_f2467eb.tar.bz2'
deleting `/nix/store/k60miqsdyfr8gskbhlxzzmiir4q7nc0b-libdbusmenu-qt-0.9.0.tar.bz2'
invalidating `/nix/store/9l2isziax07drwbyflcvmwm0zs34xn6y-git-1.7.10.4'
deleting `/nix/store/ics0cri221a5lnym4a92xsyv02qis003-patch-2.6.1.tar.gz'
...
--
Florian Friesdorf <flo at chaoflow.net>
GPG FPR: 7A13 5EEE 1421 9FC2 108D BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: flo at chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120702/44ed5dd3/attachment.bin
More information about the nix-dev
mailing list