On Fri, 26 Apr 2013 10:27:00 +0200 Alexandre Ferrando <alferpal@xxxxxxxxx> wrote: > Total newbie on haskell packages here. > > While upgrading to the last version of ghc and related haskell > packages from testing, I've seen the following errors in the pacman > log > > [2013-04-26 09:54] [PACMAN] upgraded ghc (7.6.2-1 -> 7.6.3-1) > [2013-04-26 09:54] [ALPM-SCRIPTLET] ghc-pkg: cannot find package > text-0.11.2.3 [2013-04-26 09:54] [ALPM-SCRIPTLET] Reading package > info from stdin ... done. [2013-04-26 09:54] [PACMAN] upgraded > haskell-text (0.11.2.3-2 -> 0.11.2.3-3) [2013-04-26 09:54] > [ALPM-SCRIPTLET] ghc-pkg: cannot find package transformers-0.3.0.0 > [2013-04-26 09:54] [ALPM-SCRIPTLET] Reading package info from > stdin ... done. [2013-04-26 09:54] [PACMAN] upgraded > haskell-transformers (0.3.0.0-3 -> 0.3.0.0-4) > [2013-04-26 09:54] [ALPM-SCRIPTLET] ghc-pkg: cannot find package > mtl-2.1.2 [2013-04-26 09:54] [ALPM-SCRIPTLET] Reading package info > from stdin ... done. [2013-04-26 09:54] [PACMAN] upgraded haskell-mtl > (2.1.2-2 -> 2.1.2-3) [2013-04-26 09:54] [ALPM-SCRIPTLET] ghc-pkg: > cannot find package syb-0.4.0 [2013-04-26 09:54] [ALPM-SCRIPTLET] > Reading package info from stdin ... done. [2013-04-26 09:54] [PACMAN] > upgraded haskell-syb (0.4.0-1 -> 0.4.0-2) [2013-04-26 09:54] > [ALPM-SCRIPTLET] ghc-pkg: cannot find package json-0.7 [2013-04-26 > 09:54] [ALPM-SCRIPTLET] Reading package info from stdin ... done. > [2013-04-26 09:54] [PACMAN] upgraded haskell-json (0.7-4 -> 0.7-5) > [2013-04-26 09:54] [ALPM-SCRIPTLET] ghc-pkg: cannot find package > parsec-3.1.3 [2013-04-26 09:54] [ALPM-SCRIPTLET] Reading package info > from stdin ... done. [2013-04-26 09:54] [PACMAN] upgraded > haskell-parsec (3.1.3-2 -> 3.1.3-3) [2013-04-26 09:54] > [ALPM-SCRIPTLET] ghc-pkg: cannot find package regex-base-0.93.2 > [2013-04-26 09:54] [ALPM-SCRIPTLET] Reading package info from > stdin ... done. [2013-04-26 09:54] [PACMAN] upgraded > haskell-regex-base (0.93.2-12 -> 0.93.2-13) > > Is it safe to ignore those "cannot find package X" or is there > something that must be done? It is probably the unregister scriptlet that fails, because ghc got updated before those packages, so they are no longer in the db. If you are paranoid just go trough ghc-pkg list and check that all the pages are listed after the update.