LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Weird error on pacman (https://www.linuxquestions.org/questions/linux-software-2/weird-error-on-pacman-4175466528/)

TKH 06-18-2013 02:46 PM

Weird error on pacman
 
Hi, everyone!

I encountered a curious exit status with pacman when I was trying to upgrade my packages. I am running Arch, and what I ran was this "pacman -Syu" command.

This is what I got:
Quote:

(251/251) 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.
This is weird, considering the fact that bin and sbin dirs are always there. Does anybody here has encounter this kind of problem?

szboardstretcher 06-18-2013 02:52 PM

Your pacman meta-data might have gotten corrupted. Clear that out and try again.

I find this ridiculous, but if it actually is a conflict in packages, you can:

Code:

pacman -Qo /bin
To see which package is taking ownership

Lennie 06-18-2013 03:21 PM

Read the news.

TKH 06-18-2013 09:14 PM

So I read the news, it has the answer that I'm looking for.
I followed the instruction and it fixed my problem.
Problem solved! Thank you all!


All times are GMT -5. The time now is 10:21 PM.