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

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.

One thought on “filesystem: /etc/mtab exists in filesystem & initscripts: /etc/profile.d/locale.sh exists in filesystem”

Leave a Reply

Your email address will not be published. Required fields are marked *