You are not logged in.
Hi
this is the result of my upgrade attempt:
error: failed to commit transaction (conflicting files)
cmark-gfm: /usr/include/cmark.h exists in filesystem (owned by cmark)
cmark-gfm: /usr/include/cmark_export.h exists in filesystem (owned by cmark)
cmark-gfm: /usr/include/cmark_version.h exists in filesystem (owned by cmark)
haskell-cmark-gfm seems to have added a dependency on cmark-gfm, containing the conflicting files.
cmark is required by haskell-cmark, which however seems to be no longer available. Im don't know, why it was installed:
pacman -Qi haskell-cmark
Name : haskell-cmark
Version : 0.5.6-9
Description : Fast, accurate CommonMark (Markdown) parser and renderer
Architecture : x86_64
URL : https://github.com/jgm/commonmark-hs
Licenses : custom:BSD3
Groups : None
Provides : None
Depends On : ghc-libs cmark
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 952.00 KiB
Packager : Felix Yan <felixonmars@archlinux.org>
Build Date : Fri 01 Jun 2018 07:32:53 PM CEST
Install Date : Tue 05 Jun 2018 04:53:08 PM CEST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
I am not sure, what my options are at this point?
Thanks and cheers,
Max
Offline
cmark is required by haskell-cmark, which however seems to be no longer available. Im don't know, why it was installed:
Can't you find anything in your pacman.log?
Offline
pandoc depended on haskell-cmark in the past and now requires haskell-cmark-gfm instead.My guess is that cmark was either renamed or replaced by cmark-gfm.
Offline
Thanks for your hints.
Can't you find anything in your pacman.log?
[2016-04-22 13:58] [ALPM] installed cmark (0.25.2-1)
[2016-04-22 13:58] [ALPM] upgraded pandoc (1.16.0.1-1 -> 1.17.0.3-7)
I guess that means that is was installed as a dependency of pandoc. But pandoc no longer depends on it. Should pacman not remove it in this case?
pandoc depended on haskell-cmark in the past and now requires haskell-cmark-gfm instead.My guess is that cmark was either renamed or replaced by cmark-gfm.
It seems like you are right. I thought pacman would resolve this in its own though.
Again, what is the best option? Can I just savely remove the cmark package?
Offline
I ran
$ sudo pacman -Rns haskell-cmark
This removed haskell-cmark and cmark.
Then
$ sudo pacman -S haskell-cmark-gfm
Which re-installed the gfm versions.
This has sorted it for me.
Offline
There is also issue FS#58280. It was filed in April, so this should have been known already.
Offline
I ran
$ sudo pacman -Rns haskell-cmark
This removed haskell-cmark and cmark.
Then
$ sudo pacman -S haskell-cmark-gfm
Which re-installed the gfm versions.
This has sorted it for me.
This worked fine, thanks for the help.
There is also issue FS#58280. It was filed in April, so this should have been known already.
The upstream tickes is just a few hours old. So this will probably get fixed soon.
Offline
Upstream just released a new version fixing the conflict, so once that gets packaged the packages should be able to be installed together.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline