You are not logged in.

#1 2013-02-15 22:48:35

filk
Member
Registered: 2013-02-15
Posts: 15

pacman -Syu error: failed to prepare transaction

Currently, trying to update my packages results in a huge error message that I'm not sure how to fix. This is the output of pacman -Syu:

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
error: could not parse package description file 'gambas3-gb-ncurses-3.3.4-3/desc' from db 'community'
warning: haskell-mtl: local (2.1.2-25) is newer than extra (2.1.2-2)
warning: haskell-parsec: local (3.1.3-25) is newer than extra (3.1.3-2)
warning: haskell-text: local (0.11.2.3-25) is newer than extra (0.11.2.3-2)
warning: haskell-transformers: local (0.3.0.0-25) is newer than extra (0.3.0.0-3)
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: haskell-extensible-exceptions: requires ghc=7.6.1-1
:: haskell-mtl: requires ghc=7.6.1-1
:: haskell-parsec: requires ghc=7.6.1-1
:: haskell-regex-base: requires ghc=7.6.1-1
:: haskell-syb: requires ghc=7.6.1-1
:: haskell-text: requires ghc=7.6.1-1
:: haskell-transformers: requires ghc=7.6.1-1
:: haskell-utf8-string: requires ghc=7.6.1-1
:: haskell-x11: requires ghc=7.6.1-1
:: haskell-x11-xft: requires ghc=7.6.1-1
:: xmonad: requires ghc=7.6.1-1
:: xmonad-contrib: requires ghc=7.6.1
:: xmonad-contrib: requires haskell-random=1.0.1.1-3

At some point I think I had the haskell repository enabled on this machine, but I removed it because it was giving me too many headaches and conflicts. I'm not sure how to go about resetting things so that I can update packages comfortable again.

Offline

#2 2013-02-15 22:54:49

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,662

Re: pacman -Syu error: failed to prepare transaction

error: could not parse package description file 'gambas3-gb-ncurses-3.3.4-3/desc' from db 'community'

You should deal with this error - something is wrong. Does that file exist? Is the package installed? Is it missing files?

As for haskell, unless you want to reenable the repository, I guess you need to uninstall those packages. You can then update and reinstall the versions from the standard repositories if you need them.

I checked a couple of those packages, including xmonad, and the versions in the official repos require e.g. ghc 7.6.2-1 so those should work fine with upgrading.


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

Board footer

Powered by FluxBB