[arch-general] pacman 4 and "empty" repos

Magnus Therning magnus at therning.org
Fri Jan 20 07:11:07 EST 2012


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

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus


More information about the arch-general mailing list