You are not logged in.
Pages: 1
hi fellows,
with last 4.2 release, pacman loses the utility "pacsysclean" that lists installed but no dependence packages on the system. how can I replicate that utility?
PS: googling I found that "pacsize" does what I'm searching for but I can't find it...!
Last edited by nTia89 (2015-01-02 14:22:26)
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
Could script around expac. Start with:
expac '%m %n' | sort -g -k1
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
perhaps
expac "%w %m %n" | awk '/explicit/ { printf "%-12s %s\n", $2, $3; }' | sort -n
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
PS: googling I found that "pacsize" does what I'm searching for but I can't find it...!
As fsckd mentioned, expac could be the answer, see https://bbs.archlinux.org/viewtopic.php?id=45175 For me that was teh first thread listed when I googled for 'pacsize', not sure how you missed it or what's wrong with the expac solution.
Offline
What's wrong with `pacman -Qdt`?
Offline
and just out of curiosity, the aforementioned "pacsize" where is it?
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
It came up as one of the first search results for me: https://bbs.archlinux.org/viewtopic.php … 32#p962932
EDIT: oops, this is the same one Karol already provided. So what are you asking?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
expac -H M "%m:\t%n" | sort -n
Offline
ah ok, so "pacsize" isn't provided as pacman-contrib instead it's a script simply shared in our forum, ok!
@Trilby this is what I was meaning...
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
Isn't the same result?
# pacman -Qtdq
do it good first, it will be faster than do it twice the saint
Offline
Isn't the same result?
# pacman -Qtdq
No. nTia80 is looking for a size-sorted "pacman -Qe"
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Online
bigpkg had the same basic functionality, the main difference being that it gave a "real space used" estimate by factoring in dependencies for each package. It's currently flagged as out-of-date, possibly because it's broken. No surprise there, considering who created it...
Offline
ok, thank you everybody
I'm currently studying on expac (I didn't know it before...!)
because I want now to replicate the behaviour of
pacsysclean -o dt
command
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
I added replacement pacsysclean functionality to apacman v0.9 (AUR wrapper)
listpkgs() {
pacman -Qi${1//-} | grep -e "^Name " -e "^Installed Size " | \
awk '{if ($(NF-1) ~ /^[0-9]/) printf $(NF-1); print $NF}' | paste -s -d' \n' | \
sed -e 's/iB$//' -e 's/\.00K/K/' -e 's/\.00B/B/' | awk '{printf "%-10s %-40s\n",$2,$1}' | sort -h
}
Pass-through options:
$ apacman -Ldt
$ listpkgs -dt
Offline
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Pages: 1