miles
By:
miles

Initial Pacman Sync, Commit Errors

September 16, 2013 2.7k views
Hello, I am a complete newbie to Linux and VPS, I am using a new Arch Linux Droplet. I am attempting to sync pacman for the first time, and this is the error I get with the following command. Any ideas? [mil3s@nomad ~]$ sudo pacman -Syu :: Proceed with installation? [Y/n] Y (90/90) checking keys in keyring [######################] 100% (90/90) checking package integrity [######################] 100% (90/90) loading package files [######################] 100% (90/90) checking for file conflicts [######################] 100% error: failed to commit transaction (conflicting files) filesystem: /bin exists in filesystem filesystem: /sbin exists in filesystem filesystem: /usr/sbin exists in filesystem Errors occurred, no packages were upgraded.
4 Answers
Good morning, thanks for the reply.

I read the post and attempted the three instructions to locate the culprit,

$ pacman -Qqo /bin /sbin /usr/sbin | pacman -Qm -
Got no output

$ paclist | awk ' { print $1 } ' | pacman -Ql - | grep ' /s\?bin/\| /usr/sbin/'
Got the following output -bash: syntax error near unexpected token `|'

$ find /bin /sbin /usr/sbin -exec pacman -Qo -- {} + >/dev/null
Got no output

Since this is a completely fresh droplet, can it be reinstalled without having to deal with this issue, or does this have to be resolved with a ArchLinux droplet?

Thanks
@milesmoyers: It's not a problem if these commands do not output anything. You can now just update your system:

pacman -Syu --ignore filesystem,bash

pacman -S bash
pacman -Su
Following this guide will kill your droplet :)
Have another answer? Share your knowledge.