Just out of curiosity I wanted to find which package I have updated the most.
grep "upgraded" /var/log/pacman.log | cut -d ' ' -f 5 | sort | uniq -c | sort -n -r | less
Look for the word upgraded in pacman log
grep "upgraded" /var/log/pacman.log
Keep only the 5-th field (package name)
cut -d ' ' -f 5
Sort by name (needed by
keep only unique names while counting same occurrences
Sort by time upgraded in increasing order
sort -n -r
Make scrolling easier
you can find how many times you have upgraded any package since you installed Manjaro.
Here is my top-10.
117 mesa 106 wine 102 chromium 99 nodejs 98 python-setuptools 97 pamac 96 python2-setuptools 91 imagemagick 86 youtube-dl 84 linux44