Tips: Arch Linux: How to resolve “error: duplicated database entry ” ” error message


Follow the below steps to resolve the issue,

check for versions in local folder

ls /var/lib/pacman/local/ | grep <pkgname>

You should see more then one version mentioned as below

bashank@mayapc1 pkg]$ ls /var/lib/pacman/local/ | grep
bash-4.3.024-1
bash-4.3.027-0.1

now delete (or move them out of local folder) all the older versions from local folder

rm -rf /var/lib/pacman/local/<old_package>

example:

rm -rf /var/lib/pacman/local/bash-4.3.024-1

Advertisements

2 thoughts on “Tips: Arch Linux: How to resolve “error: duplicated database entry ” ” error message

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s