FS#28434 - [pacman-contrib] Suggest better (real life?) option(s) in help message
Attached to Project:
Pacman
Opened by Karol Błażewicz (karol) - Tuesday, 14 February 2012, 23:06 GMT
Last edited by Allan McRae (Allan) - Sunday, 22 April 2012, 10:11 GMT
Opened by Karol Błażewicz (karol) - Tuesday, 14 February 2012, 23:06 GMT
Last edited by Allan McRae (Allan) - Sunday, 22 April 2012, 10:11 GMT
|
Details
pacman-contrib 4.0.2-2
[karol@black ~]$ pacsysclean -h ... -o <options> Specify custom pacman query options (e.g., dt) ... [karol@black ~]$ pacsysclean -o dt error: package 'dt' was not found [karol@black ~]$ pacsysclean -o zlib 344.00 KiB zlib Can you actually specify multiple options? [karol@black ~]$ pacsysclean -o zlib pacman 344.00 KiB zlib [karol@black ~]$ pacsysclean -o zlib -o pacman 344.00 KiB zlib |
This task depends upon
Closed by Allan McRae (Allan)
Sunday, 22 April 2012, 10:11 GMT
Reason for closing: Fixed
Additional comments about closing: Help output is now clearer. The rest is bikeshedding.
Sunday, 22 April 2012, 10:11 GMT
Reason for closing: Fixed
Additional comments about closing: Help output is now clearer. The rest is bikeshedding.
If I run 'pacman -Qdt' and I want to keep some of these packages, I change the install reason to 'explicitly installed'. All the others get removed, doesn't matter if big or small. Removing them with 'pacman -Rns' may free even more space if they have large dependencies (which won't be shown by 'pacman -Qdt').
1. 'expac "%m %n" $(pacman -Qdt) | sort -g | column -t' (and similar queries) is much faster but doesn't do KiB - MiB - GiB conversion. Yes, expac is an extra package.
2. 'pacsysclean -o pkgname' is IMHO actually useful, but you would have to change the "man page" a bit.
3. What are "custom pacman query options"? I guess you mean "that's the way you can alter the default 'pacsysclean' behaviour", but 'custom' feels out of place + as you said, there are few options that make sense.
4. "pacsysclean - Sort installed packages by decreasing installed size." - I would say it sorts by _increasing_size.