filesystem: /etc/mtab exists in filesystem & initscripts: /etc/profile.d/locale.sh exists in filesystem

2012.03.17 | Linux | ,

Using Arch Linux and getting the following error in pacman?

error: failed to commit transaction (conflicting files)
filesystem: /etc/mtab exists in filesystem
initscripts: /etc/profile.d/locale.sh exists in filesystem
Errors occurred, no packages were upgraded.

There’s actually two problems here.

First, delete /etc/profile.d/local.sh.  See here.

The second issue can be resolved by passing ‘–force’ into pacman. ┬áSee here.