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

Answer by Kristian for Pacman: error: duplicated database entry

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

View Article


Answer by Theodore R. Smith for Pacman: error: duplicated database entry

I tried @Schooled and @maulinglawns answers but both basically bricked my system.The reason is that source was running linux-5.4.71 and dest was running linux-5.4.72, released just a day apart.When...

View Article


Answer by Schooled for Pacman: error: duplicated database entry

I just went through this. You need to us the rsync --delete option. The Arch wiki is wrong about the --delete option altering anything in the source system. It will only delete files in destination if...

View Article

Answer by anon for Pacman: error: duplicated database entry

I suggest that you read the information in the links here and here.Basically, you need to remove the duplicates (manually or using a script) from /var/lib/pacman/local/.

View Article

Pacman: error: duplicated database entry

On Arch Linux, I've backed up my system with rsync and restoredit again, but it seems that my way of doing it (which I did get from the ArchWiki but must be wrong?) has kept old files deletedby Pacman....

View Article

Browsing all 5 articles
Browse latest View live


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