You are not logged in.
I installed some packages (~60). Is there any possibility to remove them in the way they have been installed?
Last edited by examon (2011-11-12 22:28:50)
Offline
You can clean you cache or remove some particular packages the usual was with 'pacman -R' If all those packages were installed as a dependency of one or two packages, removing those two packages + their dependencies should do the trick.
You can use pacman's log to get the names of the packages.
Last edited by karol (2011-11-10 21:13:36)
Offline
Thx karol, I know I can do it like that, but I wanted to know that if is there any pacman's function like "remove last N installed packages" or so
Offline
If you're using [testing], you can install pacman-contrib 4.
If you only installed packages, try
paclog-pkglist /var/log/pacman.log | cut -d ' ' -f 1to get the list, cut it where needed and feed to pacman.
Offline
Offline
Please remember to mark as solved.
Offline
paclog-pkglist has no regard for install order -- its output is in lexical order.
Oh yes, I should probably say cut (pacman's log) first, run paclog-pkglist later, like so:
paclog-pkglist <(tail -100 /var/log/pacman.log | grep installed)Edit: https://bbs.archlinux.org/viewtopic.php … 87#p626487 is 'pacman -Syu'-focused but may be of some help.
Last edited by karol (2011-11-12 22:06:46)
Offline