Quantcast
Channel: Pacman: error: duplicated database entry - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 5

Answer by Kristian for Pacman: error: duplicated database entry

$
0
0

This command worked for me after changed directory to /var/lib/pacman/local:

ls | sort | awk -v re='(.*)-[^-]*-[^-]*$''match($0, re, a) { if (!(a[1] in p)){p[a[1]]} else {print} }' | xargs sudo rm -rf

Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>