Skip to content

Instantly share code, notes, and snippets.

@andir

andir/out.log Secret

Created September 13, 2018 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andir/6e9a902b076834cd0cc639e1418f6bcd to your computer and use it in GitHub Desktop.
Save andir/6e9a902b076834cd0cc639e1418f6bcd to your computer and use it in GitHub Desktop.
nix-collect-garbage directory not empty
$ nix-collect-garbage
finding garbage collector roots...
0 store paths deleted, 0.00 MiB freed
error: cannot unlink '/nix/store/trash/m8alhii308pvfgb1phz5l12qmkcb1m8d-ModemManager-1.6.8': Directory not empty
$ stat /nix/store/trash/m8alhii308pvfgb1phz5l12qmkcb1m8d-ModemManager-1.6.8
File: /nix/store/trash/m8alhii308pvfgb1phz5l12qmkcb1m8d-ModemManager-1.6.8
Size: 8 Blocks: 0 IO Block: 4096 directory
Device: 1ah/26d Inode: 7322688 Links: 1
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2018-09-13 03:15:14.460867150 +0200
Modify: 2018-07-29 03:15:41.320356676 +0200
Change: 2018-07-29 03:15:41.320356676 +0200
$ ls -la '/nix/store/trash/m8alhii308pvfgb1phz5l12qmkcb1m8d-ModemManager-1.6.8'
<empty>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment