fedora-haskell / ghc

Out of date: see https://src.fedoraproject.org/rpms/ghc for the latest packaging
4 stars 2 forks source link

Failed to synchronize cache for repo #2

Open damien-mattei opened 5 years ago

damien-mattei commented 5 years ago

Hi,

i have this error:[

root@localhost Downloads]# dnf install ghc cabal-install Copr repo for ghc-8.4.3 owned by petersen 209 B/s | 341 B 00:01
Failed to synchronize cache for repo 'petersen-ghc-8.4.3' Ignoring repositories: petersen-ghc-8.4.3

the only solution i found was to wget all the repo directory and install manually the rpm and get dependcies with dnf:

wget --recursive --no-parent https://copr-be.cloud.fedoraproject.org/results/petersen/ghc-8.4.3/fedora-29-i386/

cd fedora-29-i386/

cd 00760928-ghc/

rpm -ivh .rpm dnf install gmp-devel dnf install libffi-devel dnf install ncurses-devel rpm -ivh .rpm cd .. cd 00760980-cabal-install/ rpm -ivh *.rpm

juhp commented 5 years ago

In Fedora you are much better off using the official ghc modules now:

# dnf module install ghc:8.4
# dnf install cabal-install

should basically do what you want. There is also a newer ghc:8.6 stream.

juhp commented 5 years ago

(Well not sure what is wrong with the copr... you are running 32bit?)

damien-mattei commented 5 years ago

yes (sorry for the late answer) Damien

On Fri, Mar 22, 2019 at 7:33 AM Jens Petersen notifications@github.com wrote:

(Well not sure what is wrong with the copr... you are running 32bit?)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fedora-haskell/ghc/issues/2#issuecomment-475509558, or mute the thread https://github.com/notifications/unsubscribe-auth/AP20aE19YBzsY3jxnOw2ZYHZ2aRE5Zmzks5vZHlNgaJpZM4b5lqI .