You are not logged in.

#1 2012-04-12 17:07:32

bobman321123
Member
Registered: 2012-04-12
Posts: 21

Pacman won't upgrade

When I run any installer, it tells me packman should be updated first.
But when I try to run the installer, it just says

error, failed to commit transaction (conflicting files)
*list of files*

How do I fix this?


TELL me how to fix it and I'll be back in a week, same problem.
TEACH me how to fix it, and I'll be good from then on.
Oh, and WHY the fix works would also be appreciated.

Offline

#2 2012-04-12 17:11:05

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: Pacman won't upgrade

There are 10+ other topics on here dealing with the same issue. Try searching first.

Offline

#3 2012-04-12 17:17:06

bobman321123
Member
Registered: 2012-04-12
Posts: 21

Re: Pacman won't upgrade

That doesn't help if none of the other ones seem to even touch on my specific problem....


TELL me how to fix it and I'll be back in a week, same problem.
TEACH me how to fix it, and I'll be good from then on.
Oh, and WHY the fix works would also be appreciated.

Offline

#4 2012-04-12 17:29:12

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: Pacman won't upgrade

Have you even attempted? I see one on the front page that's relevent, assuming you have the same files conflicting.

A simple search of the wiki turns up this which is also relevent:
https://wiki.archlinux.org/index.php/Pa … stem.22.21

Offline

#5 2012-04-12 17:36:51

bobman321123
Member
Registered: 2012-04-12
Posts: 21

Re: Pacman won't upgrade

Ah yes, the wiki. I should have thought of that.

My apologies, I'll check there first next time.
And yes, I did try searching before I posted.


TELL me how to fix it and I'll be back in a week, same problem.
TEACH me how to fix it, and I'll be good from then on.
Oh, and WHY the fix works would also be appreciated.

Offline

#6 2012-04-12 18:39:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pacman won't upgrade

Have you tried to say 'no' when it asks you if you want to update pacman first?
What pacman version have you currently installed?

Offline

#7 2012-04-12 19:32:47

bobman321123
Member
Registered: 2012-04-12
Posts: 21

Re: Pacman won't upgrade

Yes I tried saying no. But it was bugging me.
So, as I found on the wiki, running

pacman -Qo path/to/file

to see if it was owned by another package, then renaming it, rebooting and if all went well, deleting the file fixed the conflicts for me.


TELL me how to fix it and I'll be back in a week, same problem.
TEACH me how to fix it, and I'll be good from then on.
Oh, and WHY the fix works would also be appreciated.

Offline

#8 2012-04-12 21:47:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pacman won't upgrade

The forum has that info too, in the 'Newbie Corner' (i.e. this) section in a stickied topic titled Common Problems and Issues.
Glad you solved it, but I still have no idea what was wrong. Including more info and the exact output (unless it's hundreds of lines) instead of writing '*list of files*' would help.

Offline

Board footer

Powered by FluxBB