You are not logged in.

#1 2012-10-09 10:13:02

i42n
Member
Registered: 2012-02-28
Posts: 22

[Solved] Error on updating ghc

Hey,

I get the following error when trying to do an update:

error: failed to commit transaction (conflicting files)
ghc: /usr/share/doc/ghc/html/libraries/hslogo-16.png exists in filesystem
ghc: /usr/share/doc/ghc/html/libraries/synopsis.png exists in filesystem
Errors occurred, no packages were upgraded.

How can I solve that? I did not do pacman force, as this may damage my system.

Last edited by i42n (2012-10-09 11:15:23)

Offline

#2 2012-10-09 10:47:37

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 4,211

Re: [Solved] Error on updating ghc

pacman -Qo /path/to/file  will show you which package owns a file, please post the output for those 2 conflicting files.


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#3 2012-10-09 10:53:05

i42n
Member
Registered: 2012-02-28
Posts: 22

Re: [Solved] Error on updating ghc

Sure...

error: No package owns /usr/share/doc/ghc/html/libraries/hslogo-16.png
error: No package owns /usr/share/doc/ghc/html/libraries/synopsis.png

That's odd.

Offline

#4 2012-10-09 10:58:21

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 4,211

Re: [Solved] Error on updating ghc

Well, solution is straightforward since the conflicting files do not belong to any package :

move those files to a backup location incase you do need them later, then update .


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#5 2012-10-09 11:08:06

wildebeestje
Member
Registered: 2010-06-05
Posts: 5

Re: [Solved] Error on updating ghc

I had the same problem.
I just removed those files and upgrade went fine.

EDIT backup would be better ofcourse, but I didn't do that because I'm pretty sure I don't need these png's tongue

Last edited by wildebeestje (2012-10-09 11:10:45)

Offline

#6 2012-10-09 11:15:06

i42n
Member
Registered: 2012-02-28
Posts: 22

Re: [Solved] Error on updating ghc

Worked for me too. Thanks!

Offline

#7 2012-10-09 14:20:40

scri
Member
Registered: 2012-08-18
Posts: 3

Re: [Solved] Error on updating ghc

Also for me, but it's annoying. Does this count as a bug? It shouldn't be hard to fix. It deserves either an email to the maintainer or a bug report.

Offline

#8 2012-10-09 16:18:29

myle
Member
Registered: 2011-08-11
Posts: 35

Re: [Solved] Error on updating ghc

Same problem, same solution.

Offline

#9 2012-10-09 21:37:42

pyarch
Member
Registered: 2011-09-30
Posts: 146

Re: [Solved] Error on updating ghc

thanks  !!! smile

Offline

#10 2012-10-09 23:04:42

tommytomatoe
Member
Registered: 2012-09-11
Posts: 13

Re: [Solved] Error on updating ghc

This was pretty weird. First time I've ran into issues with pacman. I moved the two pngs and it worked fine. Interesting that multiple people are gettng same error.

Offline

#11 2012-10-09 23:14:15

flying sheep
Member
Registered: 2012-02-29
Posts: 79

Re: [Solved] Error on updating ghc

me too. strange that ghc owns them now, but nothing did before, yet they still existed.

were they possible generated on the fly and not registered as belonging to ghc or what?

Offline

#12 2012-10-10 20:37:06

theodore
Member
From: Aalborg / Denmark
Registered: 2008-09-09
Posts: 68

Re: [Solved] Error on updating ghc

same problem here, same solution as well.....;-)

Offline

#13 2012-10-10 22:46:40

0wl
Member
Registered: 2012-03-23
Posts: 4

Re: [Solved] Error on updating ghc

I had the same issue, moving it to a backup location fixed it. Anyone know what caused it?

Offline

#14 2012-10-13 18:37:54

felixculpa
Member
From: Alberta, Canada
Registered: 2012-06-12
Posts: 185

Re: [Solved] Error on updating ghc

I also removed the files, then updated. Seems to have went fine.

Offline

Board footer

Powered by FluxBB