Manjaro error: failed to commit transaction (conflicting files)

Just a few months ago I continued my linux distro discovery tour (and I may never leave this distro). The next stop was Manjaro linux. I knew Manjaro was going to be a difficult change due to having a very different approach to their package management system. And it was that same system that leads me to write this simple blog post today. I ran into a tedious error that I spend way too long trying to figure out.

I enjoy having the ability to install kali linux tools or the like on a computer. So it was a pleasant surprise to learn about the guys over at black arch and the ability to easily integrate into manjaro.

Once integrated I had read about a tool that sounded interesting. The tool wifiphisher was now at my disposable, or so I thought.

I ran into a bit of a dependency hell with getting about 100 of these


error: failed to commit transaction (conflicting files)
python2-pyasn1: /usr/lib/python2.7/site-packages/pyasn1/__init__.py exists in filesystem
python2-pyasn1: /usr/lib/python2.7/site-packages/pyasn1/__init__.pyc exists in filesystem
python2-pyasn1: /usr/lib/python2.7/site-packages/pyasn1/codec/__init__.py exists in filesystem

After several links of google I ended up trying to use pacman -Sf but it appears this was an old article and the -f flag has now been deprecated. I found myself a bit defeated but I did manage to find the answer after a good hard look at the man page.

–force

This seemed to be the flag I was looking for, and after I added that to the end of my string I was well on my way to practicing some wifi phishing.

sudo pacman -S wifiphisher --force

I wanted to write this article because I did not find anything directly related to what I was looking for.

Leave a Reply

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