Question

Initial Pacman Sync, Commit Errors

Posted September 16, 2013 3.9k 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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
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 :)
Submit an Answer