You are not logged in.

#1 2015-04-08 00:46:18

lucacerone
Member
From: Spain
Registered: 2012-05-04
Posts: 144
Website

pacman fails to prepare the transaction

Hi I recently am having issues upgrading my system.

When I run sudo pacman -Syu I get the following:

:: Starting full system upgrade...
:: Replace kfilemetadata with extra/kfilemetadata4? [Y/n] y
:: Replace libkscreen with extra/libkscreen4? [Y/n] y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: haskell-nats: requires ghc=7.8.4-1
:: haskell-nats: requires haskell-hashable=1.2.3.1-2
:: haskell-pandoc: requires ghc=7.8.4-1
:: haskell-pandoc: requires haskell-http=4000.2.19-4
:: haskell-pandoc: requires haskell-juicypixels=3.2.3-1
:: haskell-pandoc: requires haskell-sha=1.6.4.1-3
:: haskell-pandoc: requires haskell-aeson=0.8.0.2-12
#.....long list of haskell related packages...

Apparently kfilemetadata4 conflicts  with kfilemetadata and libkscreen4 conflicts with libkscreen.

When I am asked to replace one version with the other neither choosing to replace one version with the other,
nor removing the current version seems to work.

What can I do?

Thanks in advance for the help!

Offline

#2 2015-04-08 01:05:24

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,594

Re: pacman fails to prepare the transaction

Where did the haskell packages in question come from?

Online

#3 2015-04-08 01:15:18

lucacerone
Member
From: Spain
Registered: 2012-05-04
Posts: 144
Website

Re: pacman fails to prepare the transaction

I have some repost enabled as explained in the Arch wiki.
I think I had to enable them when I wanted to install pandoc.

Offline

#4 2015-04-08 01:20:38

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,594

Re: pacman fails to prepare the transaction

So that 3rd party repo needs to be updated.

Online

#5 2015-04-08 05:49:02

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: pacman fails to prepare the transaction

The arch-haskell repo needs to be above extra and then you need to use the ghc package they provide.

Offline

#6 2015-04-08 07:24:22

alvise
Member
Registered: 2015-04-08
Posts: 3

Re: pacman fails to prepare the transaction

I have also the same problem with the haskell repo above extra. It always worked well, except for the last three days.
I think the repo needs an update.

Offline

#7 2015-04-08 07:34:55

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: pacman fails to prepare the transaction

I don't use [haskell-core] myself, but I don't see haskell-{pandoc,nats} in there.

Offline

#8 2015-04-08 07:49:17

alvise
Member
Registered: 2015-04-08
Posts: 3

Re: pacman fails to prepare the transaction

Raynman wrote:

I don't use [haskell-core] myself, but I don't see haskell-{pandoc,nats} in there.

However, according to pacman -Q {haskell-nats,haskell-pandoc}, I have them installed.

Offline

#9 2015-04-08 07:53:49

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: pacman fails to prepare the transaction

So we're back to

Scimmia wrote:

Where did the haskell packages in question come from?

They are in the AUR, so just rebuild (reinstall after upgrading the rest) yourself?

Maybe they were dropped from ArchHaskell at some point?

Last edited by Raynman (2015-04-08 07:58:07)

Offline

#10 2015-04-08 08:11:58

alvise
Member
Registered: 2015-04-08
Posts: 3

Re: pacman fails to prepare the transaction

Raynman wrote:

So we're back to

Scimmia wrote:

Where did the haskell packages in question come from?

They are in the AUR, so just rebuild (reinstall after upgrading the rest) yourself?

Yeah, I thought they were in [haskell-core].
Thanks wink

Offline

#11 2015-04-14 16:13:01

sasvari
Member
Registered: 2012-11-08
Posts: 4

Re: pacman fails to prepare the transaction

The problem is that the archhaskell team started to port their packages to ghc 7.10.1:

https://mail.haskell.org/pipermail/arch … -April.txt

From magnus at therning.org  Thu Apr  2 17:13:58 2015
From: magnus at therning.org (Magnus Therning)
Date: Thu, 2 Apr 2015 19:13:58 +0200
Subject: [arch-haskell] Ghc 7.10.1 in testing repo
Message-ID: <20150402171358.GA8677@tatooine>

Hi all,

Ghc 7.10.1 has been released, and I've begun the big re-build.  I've
revived the testing repo for this, so if you're eager you can switch
over to it until I'm all done.

porting is apparently an ongoing process:

From magnus at therning.org  Sat Apr  4 20:12:13 2015
From: magnus at therning.org (Magnus Therning)
Date: Sat, 4 Apr 2015 22:12:13 +0200
Subject: [arch-haskell] Ghc 7.10.1 in repo [was: Re: Ghc 7.10.1 in testing
    repo]
In-Reply-To: <20150402171358.GA8677@tatooine>
References: <20150402171358.GA8677@tatooine>
Message-ID: <20150404201213.GA9821@tatooine>

I've just switched over haskell-core to include ghc 7.10.1.

There are a few packages that didn't make it over due to incompatibilities with
the new version of ghc:

    cabal-file-th
    cblrepo
    cmdlib
    edit-distance
    FileManipCompat
    ghc-mod
    graphviz
    hakyll
    http-attoparsec
    MonadCatchIO-mtl
    nats
    pandoc
    pandoc-citeproc
    shellish
    taffybar
    timezone-olson
    timezone-series
    xmonad
    xmonad-contrib

I'll try to get them re-added ASAP.

/M

so you have the update problem because some packages you have installed are
depending ghc 7.8, and i.e. pandoc has not been ported to ghc 7.10 and was
temporarily removed from the repository.

so either you follow the other advices, or you keep your feet still and wait
for the end of the porting.


sas

Offline

#12 2015-04-14 18:53:40

lucacerone
Member
From: Spain
Registered: 2012-05-04
Posts: 144
Website

Re: pacman fails to prepare the transaction

Thanks, I ended up removing the pandoc from the haskel repository (that gave me already a few issues in the past, probably because I can't manage it properly),
and use the one that ships with RStudio that I had installed anyway (simply linked the binary to /usr/bin).

I also removed a few packages that were giving issues and  now everything seem to  work fine.

Thanks a lot to you all for the help (and to all the developers who made the packages I wasn't able to manage, I'll try again in the future!)

Cheers,
Luca

Offline

#13 2015-05-13 14:38:27

xtian
Member
Registered: 2013-08-25
Posts: 179

Re: pacman fails to prepare the transaction

Bump.
I also installed Haskell for pandoc and have just arrived at this problem...

Offline

Board footer

Powered by FluxBB