Pacman
Wednesday 28 December 2022

#archlinux

List packages installed from AUR

1pacman -Qm

Delete any AUR (foreign) packages that includes python2 in the name

1sudo pacman -Rs `pacman -Qm | awk '/python2/{ print $1 }'`

Update keyring

1sudo pacman -Sy archlinux-keyring

See Also