You are not logged in.

#1 2015-08-01 17:14:51

royallthefourth
Member
From: North Carolina
Registered: 2011-02-26
Posts: 18
Website

Pacman complains that Haskell libraries require ghc=7.10.2-1

Pacman complains that Haskell libraries require ghc=7.10.2-1
The first thing I did is check what's currently installed:

$sudo pacman -Qi ghc
Name           : ghc
Version        : 7.10.2-1
Packager       : ArchHaskell <arch-haskell@haskell.org>

Looks like I have the right version installed. When I try to install some related packages, however:

$sudo pacman -Sy haskell-ghc-paths haskell-haddock-api haskell-haddock-library haddock
:: Synchronizing package databases...
 xorg116 is up to date
 core is up to date
 haskell-core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 archlinuxfr is up to date
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: haskell-ghc-paths: requires ghc=7.10.2-1
:: haskell-haddock-library: requires ghc=7.10.2-1

This seems completely nonsensical to me. Any ideas?

Offline

#2 2015-08-01 17:20:01

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,555
Website

Re: Pacman complains that Haskell libraries require ghc=7.10.2-1

It's likely that one of your many official repos has updated ghc, but the new version cannot be installed because packages that depend on it have not been updated.  As the main repos only have ghc 7.10.1, clearly that is the source of the problem.

Checking that haskell repo reveals that they have two different versions of haskell-ghc-paths in the repo at the same time, that is likely related.  Report the error to them.  Actually, it looks like they have multiple versions of most packages.

EDIT: scratch that, the biggest problem is that you are doing partial upgrades.  This is not supported.

Last edited by Trilby (2015-08-01 17:25:37)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2015-08-01 17:24:17

royallthefourth
Member
From: North Carolina
Registered: 2011-02-26
Posts: 18
Website

Re: Pacman complains that Haskell libraries require ghc=7.10.2-1

I don't understand. I already have ghc 7.10.2-1 installed, which is exactly the dependency noted by the error message.

Last edited by royallthefourth (2015-08-01 17:25:03)

Offline

#4 2015-08-01 17:36:22

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

Re: Pacman complains that Haskell libraries require ghc=7.10.2-1

ghc 7.10.1 is in the repos https://www.archlinux.org/packages/?name=ghc so probably some packages want to use this version, thus you get an error.

Offline

#5 2015-08-02 11:52:19

кто-то
Member
Registered: 2015-07-31
Posts: 8

Re: Pacman complains that Haskell libraries require ghc=7.10.2-1

The same happens to me.

:: haddock: requires ghc=7.10.1
:: haskell-haddock-api: requires ghc=7.10.1

Last edited by кто-то (2015-08-02 13:28:17)

Offline

#6 2015-08-02 11:58:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,555
Website

Re: Pacman complains that Haskell libraries require ghc=7.10.2-1

This is not a programming & scripting issue.  Moving to N.C.

If anyone with this problem wants to post something useful, the un-trimmed output of the following would help:

pacman -Qi ghc

"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2015-08-02 12:51:07

кто-то
Member
Registered: 2015-07-31
Posts: 8

Re: Pacman complains that Haskell libraries require ghc=7.10.2-1

Name           : ghc
Version        : 7.10.1-1
Description    : The Glasgow Haskell Compiler
Architecture   : x86_64
URL            : http://www.haskell.org/ghc/
Licenses       : custom
Groups         : None
Provides       : haskell-array=0.5.1.0  haskell-base=4.8.0.0  haskell-binary=0.7.3.0
                 haskell-bin-package-db=0.0.0.0  haskell-bytestring=0.10.6.0
                 haskell-containers=0.5.6.2  haskell-deepseq=1.4.1.1
                 haskell-directory=1.2.2.0  haskell-filepath=1.4.0.0
                 haskell-ghc-prim=0.4.0.0  haskell-haskeline=0.7.2.1  haskell-hoopl=3.10.0.2
                 haskell-hpc=0.6.0.2  haskell-integer-gmp=1.0.0.0  haskell-pretty=1.1.2.0
                 haskell-process=1.2.3.0  haskell-template-haskell=2.10.0.0
                 haskell-terminfo=0.4.0.1  haskell-time=1.5.0.1
                 haskell-transformers=0.4.2.0  haskell-unix=2.7.1.0  haskell-xhtml=3000.2.1
                 haskell-cabal=1.22.2.0
Depends On     : perl  gmp  gcc  libffi
Optional Deps  : None
Required By    : haddock  haskell-ghc-paths  haskell-haddock-api  haskell-haddock-library
Optional For   : None
Conflicts With : None
Replaces       : haskell-array  haskell-base  haskell-binary  haskell-bin-package-db
                 haskell-bytestring  haskell-containers  haskell-deepseq  haskell-directory
                 haskell-filepath  haskell-ghc-prim  haskell-haskeline  haskell-hoopl
                 haskell-hpc  haskell-integer-gmp  haskell-pretty  haskell-process
                 haskell-template-haskell  haskell-terminfo  haskell-time
                 haskell-transformers  haskell-unix  haskell-xhtml  haskell-cabal
Installed Size : 899.94 MiB
Packager       : Thomas Dziedzic <gostrc@gmail.com>
Build Date     : Sun 29 Mar 2015 04:30:48 AM BRT
Install Date   : Fri 05 Jun 2015 08:33:55 PM BRT
Install Reason : Explicitly installed
Install Script : Yes
Validated By   : Signature

Offline

#8 2015-08-02 12:58:28

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,555
Website

Re: Pacman complains that Haskell libraries require ghc=7.10.2-1

There's the problem:

$ pacman -Si haddock
...
Depends On     : ghc=7.10.1  haskell-ghc-paths  haskell-haddock-api
...

"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2015-08-02 13:27:40

кто-то
Member
Registered: 2015-07-31
Posts: 8

Re: Pacman complains that Haskell libraries require ghc=7.10.2-1

Trilby wrote:

There's the problem:

$ pacman -Si haddock
...
Depends On     : ghc=7.10.1  haskell-ghc-paths  haskell-haddock-api
...

Is there a solution other than waiting for new versions?

Offline

#10 2015-08-02 13:35:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,555
Website

Re: Pacman complains that Haskell libraries require ghc=7.10.2-1

Remove haddon, Build your own haddock, request that the unofficial repo add haddock, or stop using the onofficial repo.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB