On 20/01/12 22:11, Magnus Therning wrote:
In ArchHaskell we are heavy users of mkarchroot/makechrootpkg for building packages. When setting up the root chroot pacman is configured with a local db located at `/repo`, this makes already built packages available as dependencies later on in a multi-package build, and by using makechrootpkg's '-d' argument it all happens automatically.
With pacman 3 this didn't cause troubles besides a few warning messages about [repo] not being available (the db isn't created until the first package is built). Pacman 4 doesn't seem as forgiving though--it fails completely unless the db exists (though it may be completely empty).
Is there some way to coerce pacman 4 into being as forgiving as pacman 3 was?
/M
touch /repo/repo.db