Skip to content

Instantly share code, notes, and snippets.

@nongiach
Created January 27, 2019 10:00
Show Gist options
  • Save nongiach/48ccf19d154b40824a49d4908424d1ce to your computer and use it in GitHub Desktop.
Save nongiach/48ccf19d154b40824a49d4908424d1ce to your computer and use it in GitHub Desktop.
archlinux $ cat help_pacman.txt
critic update:
sudo pacman -Sy bash gnupg readline
downgrade: // normaly the cache is not cleared
# cd /var/cache/pacman/pkg/
# pacman -U <file_name_of_the_package>
# key problems ?
sudo pacman -Sy archlinux-keyring
sudo pacman-key --refresh-keys
# ncurses key problems ?
yaourt --m-arg "--skippgpcheck" -S ncurses5-compat-libs
# or ncurses shit:
gpg --keyserver pgp.mit.edu --recv-keys 702353E0F7E48EDB
# pacman already in use
rm /var/lib/pacman/db.lck -f
# install yaourt
# add this to /etc/pacman.conf
# $ pacman -Sy yaourt
[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment