lunedì 9 febbraio 2015

Cannot update : package-query requires pacman less than 4.2


I have got some problems updating archlinux

Error:  package-query: requires pacman<4.2

How to solve this issue:

1) uninstall package-query and its dependency ,  yaourt:

sudo pacman -R yaourt package-query


2) update:

sudo pacman -Syu


3) add archlinuxfr to your repository in order to install again yaourt e package-query:

sudo gedit /etc/pacman.conf


add the following text:

[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch


Save and close.


4) Update repository:

sudo pacman -Sy


5) Install yaourt (and automatically package-query):

sudo pacman -S yaourt


Done!

Nessun commento:

Posta un commento