crash with macromedia repo

Panu Matilainen pmatilai at laiskiainen.org
Mon Apr 24 00:10:22 PDT 2006


On Sun, 23 Apr 2006, Ville Skyttä wrote:

> 0.5.15lorg3 on FC5 x86_64, crashes when doing apt-get update when the
> macromedia repo (repomd http://macromedia.rediris.es/ rpm) is enabled:
>
> # apt-get update
> [...]
> Get:3 http://macromedia.rediris.es rpm repomd.xml [951B]
> [...]
> Get:1 http://macromedia.rediris.es rpm/ primary.xml [1101B]
> [...]
> Get:2 http://macromedia.rediris.es rpm/ filelists.xml [432B]
> [...]
> Fetched 1533B in 0s (2559B/s)
> Segmentation fault (core dumped)
>
> gdb backtrace attached.

Hmm, the repository metadata is incorrect. If you look at 
http://macromedia.rediris.es/rpm/repodata/primary.xml.gz it says
<metadata packages="3"> yet there are only two packages listed.

Apparently some versions of createrepo have an off by one error wrt the 
overall package count :-/ Fixed in svn, it now complains and works around 
it by using the observed number of packages instead of reported num of 
packages in case of mismatch.

 	- Panu -



More information about the Apt-Rpm mailing list