You are not logged in.

#1 2014-05-05 09:01:36

Gasp0de
Member
Registered: 2012-12-24
Posts: 47

[SOLVED] Problems upgrading some haskell packages

Hi Folks.
I am getting this error message when trying to upgrade my System:

[gasp0de@Gasp0de ~]$ yaourt -Syua
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
error: failed to prepare transaction (could not satisfy dependencies)
:: Starting full system upgrade...
:: haskell-transformers: requires ghc=7.6.3-1

I searched the forums and found  a similar question, but the given solution doesn't work for me, as i don't have the unofficial haskell repository enabled.
I don't understand exactly what the problem is here, as i seem to have the wanted version of ghc on my System:

[gasp0de@Gasp0de ~]$ yaourt -Qs ghc
extra/ghc 7.6.3-1
    The Glasgow Haskell Compiler

Thank you in advance for any help you can give me.

Gasp0de

Edit: Marked as solved

Last edited by Gasp0de (2014-05-06 21:28:31)

Offline

#2 2014-05-05 10:54:50

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] Problems upgrading some haskell packages

haskell-transformers was recently removed from extra. It depends on a specific version of ghc. There is a newer version of ghc in the repos. Since haskell-transformers was removed there's no upgrade path to resolve the issue. You'll have to do it manually.

Edit: Removed from the repos entirely. Not moved from extra to community like the other haskell packages.

Last edited by fsckd (2014-05-05 11:09:12)


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2014-05-05 11:21:06

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Problems upgrading some haskell packages

Have you read the associated news article on the Arch home page?

There's also a couple of threads on the mailing list...
https://mailman.archlinux.org/pipermail … 26135.html
https://mailman.archlinux.org/pipermail … 26265.html

Last edited by Slithery (2014-05-05 11:23:17)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#4 2014-05-05 16:53:27

TrevorBramble
Member
From: Seattle, WA, USA
Registered: 2009-11-12
Posts: 21
Website

Re: [SOLVED] Problems upgrading some haskell packages

$ sudo pacman -Rcs haskell-transformers
checking dependencies...

Packages (17): ghc-7.6.3-1  haskell-data-default-0.5.3-1  haskell-data-default-class-0.0.1-1  haskell-data-default-instances-base-0.0.1-4  haskell-data-default-instances-containers-0.0.1-1
               haskell-data-default-instances-dlist-0.0.1-1  haskell-data-default-instances-old-locale-0.0.1-1  haskell-dlist-0.5-24  haskell-extensible-exceptions-0.1.1.4-5  haskell-mtl-2.1.2-3  haskell-random-1.0.1.1-5
               haskell-utf8-string-0.3.7-5  haskell-x11-1.6.1.1-3  haskell-x11-xft-0.3.1-9  xmonad-0.11-7  xmonad-contrib-0.11.2-2  haskell-transformers-0.3.0.0-4

Total Removed Size:   852.67 MiB

:: Do you want to remove these packages? [Y/n] 

Seems bad.

Is this really the intended path? Uninstall everything Haskell, then reinstall?

Offline

#5 2014-05-06 19:25:04

aloiscochard
Member
Registered: 2014-05-06
Posts: 1

Re: [SOLVED] Problems upgrading some haskell packages

If we are in this current (less than ideal) situation today it's because of the way haskell packages where integrated before in arch.

I think the way thing are done now is an improvement, it's unfortunate if we have to do this manipulation but that sounds right to me that those packages are no longer there.

I must say I was a bit scarred as I'm running Xmonad, which mean I depend on haskell to run my system... but I just reinstall right after and everything works perfectly.

FYI, I had to run 'sudo pacman -Rcs haskell-syb' as well

Offline

#6 2014-05-06 21:27:57

Gasp0de
Member
Registered: 2012-12-24
Posts: 47

Re: [SOLVED] Problems upgrading some haskell packages

Removing haskell-transformers and its dependencies with

pacman -Rcs haskell-transformers

was what i was looking for. I just couldn't conclude that from the other posts, maybe i wasn't looking hard enough. Thank you!

Gasp0de

Offline

Board footer

Powered by FluxBB