You are not logged in.

#1 2014-12-17 19:02:18

donuon
Member
Registered: 2013-08-28
Posts: 42

Best practices for installing and maintaining Haskell packages

Hey all, so 2014 has been a year of headaches with handling haskell packages on Arch (see previously). Everytime I do a system upgrade I seem to get dependency issues related to haskell packages. I've solved it many times by forcing removal of packages and reinstalling until things work without errors. There was a period where I didn't upgrade for almost 3 months because I didn't have the time to troubleshoot. Now that I have some free time I'd like to sort out the issue. I feel this might be an issue with how I'm handling the installation of haskell packages, maybe the repo order in my pacman config or something? I'm hoping to get some input on how others are handling haskell packages so its not always an issue whenever I try to keep the system up to date. My day to day requirements include xmonad, xmobar and pandoc, I also use aura as my AUR package manager.

Here is the repo section of my pacman.conf

[core]
Include = /etc/pacman.d/mirrorlist

[haskell-core]
Server = http://xsounds.org/~haskell/core/$arch

[haskell-happstack]
Server = http://noaxiom.org/$repo/$arch

[extra]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# infinality-bundle repository
[infinality-bundle]
Server = http://bohoomil.com/repo/$arch

[infinality-bundle-multilib]
Server = http://bohoomil.com/repo/multilib/$arch

[infinality-bundle-fonts]
Server = http://bohoomil.com/repo/fonts

Here is the latest issue if trying pacman -Syu

error: failed to prepare transaction (could not satisfy dependencies)
:: haskell-lens-aeson: requires haskell-lens<4.5

And here is the lastest output from trying to upgrade Aura

error: failed to prepare transaction (could not satisfy dependencies)
:: haskell-aeson: requires haskell-hashable=1.2.2.0-3
:: haskell-aeson: requires haskell-unordered-containers=0.2.5.1-1
:: haskell-aeson: requires haskell-vector=0.10.12.1-1
:: haskell-aeson-pretty: requires haskell-unordered-containers=0.2.5.1-1
:: haskell-aeson-pretty: requires haskell-vector=0.10.12.1-1
:: haskell-conduit: requires haskell-void=0.6.1-73
:: haskell-crypto-numbers: requires haskell-vector=0.10.12.1-1
:: haskell-crypto-random: requires haskell-vector=0.10.12.1-1
:: haskell-http-client-tls: requires haskell-http-client=0.4.5-1
:: haskell-http-conduit: requires haskell-http-client=0.4.5-1
:: haskell-http-conduit: requires haskell-http-types=0.8.5-5
:: haskell-juicypixels: requires haskell-vector=0.10.12.1-1
:: haskell-lens-aeson: requires haskell-lens<4.5
:: haskell-pandoc: requires haskell-http-client=0.4.5-1
:: haskell-pandoc: requires haskell-http-types=0.8.5-5
:: haskell-pandoc: requires haskell-unordered-containers=0.2.5.1-1
:: haskell-pandoc: requires haskell-vector=0.10.12.1-1
:: haskell-scientific: requires haskell-hashable=1.2.2.0-3
:: haskell-yaml: requires haskell-unordered-containers=0.2.5.1-1
:: haskell-yaml: requires haskell-vector=0.10.12.1-1

I could always brute force this by trying to force out some of the packages but I'd like to try and find a better solution than having to go through the this time-consuming process everytime I try to do a system upgrade. Any input would be greatly appreciated, thanks!

Offline

#2 2014-12-17 19:30:25

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

Re: Best practices for installing and maintaining Haskell packages

Did you contact the haskell-* repo maintainers?
https://wiki.archlinux.org/index.php/ArchHaskell

Offline

#3 2014-12-17 19:34:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Best practices for installing and maintaining Haskell packages

Not a Pacman issue, moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2014-12-17 20:23:55

donuon
Member
Registered: 2013-08-28
Posts: 42

Re: Best practices for installing and maintaining Haskell packages

I apologize for posting in the wrong section.

Just did a quick scan of the mailling list and found an easy work around with

pacman -Syu --ignore 'haskell-*'

I'll try sending a message to the repo maintainers to get a better understanding of what's occuring here.

Thanks guys, sorry for not doing a thorough search of where to address the issue.

Offline

Board footer

Powered by FluxBB