[pacman-dev] Empty repo databases

Xavier shiningxc at gmail.com
Thu Sep 24 02:58:50 EDT 2009


On Thu, Sep 24, 2009 at 8:52 AM, Pierre Schmitz <pierre at archlinux.de> wrote:
> Am Mittwoch 23 September 2009 11:45:53 schrieb Xavier:
>> Anyway this seems to work for all combination (4) of gnutar/bsdtar, so
>> it is still my preferred solution :
>> tar cvzf test.tar.gz -T /dev/null
>> tar xf test.tar.gz
>
> Looks fine to me; and I think we should implement this. The point is that its
> not easy to determine if there is a server/mirror error or if the repo is just
> empty.
>

Looks like Dan implemented it already :)
http://code.toofishes.net/cgit/dan/pacman.git/commit/?h=maint&id=7f14f185a2d05650e1f99f4ec40d60b597e8b0c7

Would a server/mirror error still produce a valid tar.gz file ?


More information about the pacman-dev mailing list