ftp mirrors: amd64/packages-[89]-stable: INDEX not being built

Russell A. Jackson raj at csub.edu
Wed Feb 19 07:01:24 UTC 2014

I asked about this issue in brief last week when I was short on time and still
grumpy from debugging my broken deployment process. Nobody answered. I don't
know if it's because nobody cares, nobody knew what I was talking about or I'm
just a dumb ass; but, I'll explain in any case.

I'm using an in-house puppet package provider to manage installing binary
packages. One of the things that it does is download the INDEX.bz2 file from the
relevant package archive in order to resolve a port origin (e.g. shells/bash) to
a definitive package name and version in a deterministic fashion. This is
necessary because the pkg_add -r logic is lacking in one regard. Often times,
what is installed based on the argument to -r does not match what is actually
installed. The described algorithm works around that issue and has been working
more or less flawlessly for years now; however, as recently as last week, the
INDEX.bz2 files it depends on stopped being built.

The amd64 stable archives all are missing the INDEX.bz2. They do have an
INDEX-[89].bz2; however, that file is only 14 bytes which is quite obviously not
right and at the very least the name is not consistent with past behaviour. The
release archives, on the other hand, seem fine.

ftp> ls amd64/packages-9.2-release/INDEX*
227 Entering Passive Mode (204,152,184,73,203,10).
150 Here comes the directory listing.
-rw-r--r--    1 100      982      25504627 Sep 02 12:41 INDEX
-rw-r--r--    1 100      982       1593672 Sep 02 12:41 INDEX.bz2
-rw-r--r--    1 100      982           113 Sep 02 12:41 INDEX.bz2.md5
-rw-r--r--    1 100      982           148 Sep 02 12:41 INDEX.bz2.sha256
226 Directory send OK.
ftp> ls amd64/packages-9-stable/INDEX*
227 Entering Passive Mode (204,152,184,73,180,118).
150 Here comes the directory listing.
-rw-r--r--    1 100      100            14 Feb 08 18:08 INDEX-9.bz2
226 Directory send OK.

Russell A. Jackson <raj at csub.edu>
Network/Datacenter Operations
California State University, Bakersfield

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140218/5d4f9424/attachment.sig>

More information about the freebsd-ports mailing list