$ ghc-pkg --package-db ~/.cabal/store/ghc-9.2.8/package.db find-module PyF ghc-pkg-9.10.1: /home/hellwolf/.cabal/store/ghc-9.2.8/package.db/package.cache: GHC.Unit.Database.readPackageDb: inappropriate type (not enough bytes) But somehow ghc-pkg from 9.10.1 fails to do so foar ghc-9.2.8's store :)