#741012 archive.debian.org: missing Debian 2.2 'potato' source packages (due to missing symlinks to pool/)

#741012#5
Date:
2014-03-07 12:21:21 UTC
From:
To:
I've recently injected in http://sources.debian.net all source packages coming
from hitorical releases stored at http://archive.debian.org --- so thank a
bunch for the service!

While doing so, I've discovered that 67 source packages mentioned in Debian 2.2
'potato' Sources.gz aren't available at their expected location. Here is an
example:

http://archive.debian.org/debian/dists/Debian-2.2/main/source/Sources.gz
contains the following paragraph about makepasswd/1.10-1:

  Package: makepasswd
  Binary: makepasswd
  Version: 1.10-1
  Priority: optional
  Section: admin
  Maintainer: Johnie Ingram <johnie@debian.org>
  Architecture: all
  Standards-Version: 3.0.1.0
  Directory: dists/potato/main/source/admin
  Files:
   a778640306e45f1166f28631486eb43e 628 makepasswd_1.10-1.dsc
   55842bb4c064ebcdedffb4afd5f0945a 12382 makepasswd_1.10.orig.tar.gz
   1112703e7f1e0462a10ff22e29195330 2294 makepasswd_1.10-1.diff.gz

however, at
http://archive.debian.org/debian/dists/Debian-2.2/main/source/admin/ none of
the 3 components of the source package (.dsc, .orig.tar.gz, .diff.gz) is
present. Direct link to them return 404,
e.g. http://archive.debian.org/debian/dists/Debian-2.2/main/source/admin/makepasswd_1.10-1.dsc
A list of 404 links from archive.d.o can be found in the attached file
dangling-archive.d.o-links.txt .

OTOH, the files *are* present on archive.d.o under the pool/ structure; they
are simply not linked from the places referenced by Sources.gz. It looks like
some attempt to migrate potato ex-post to the pool/ structure (maybe at
archival time?) has gone badly.

Using the attached deb-dangling-sources script (live version at
http://anonscm.debian.org/gitweb/?p=qa/debsources.git;a=blob;f=contrib/deb-dangling-sources;hb=HEAD)
you can produce a report whose 4th column is a list of "ln -s ..." commands
that should fix the issue. Or, at least, that did fix the issue on my local
archive.d.o mirror :-)

Just run the script as "deb-dangling-sources /path/to/archive.d.o/root"

Note: I've only checked Sources.gz and not Packages.gz, so it is possible that
a similar problem affects binary packages. Adapting the above script to that
end should be easy.

HTH,
Cheers.

#741012#12
Date:
2015-12-11 00:45:37 UTC
From:
To:
* Stefano Zacchiroli <zack@debian.org> [2014-03-07 13:21]:

I noticed the same "missing symlink" problem elsewhere on archive.d.o, too.

ftp://ftp.us.debian.org/debian/dists/squeeze/main/installer-armel/current/images/orion5x/network-console/qnap/
has a symlink from ts-109 to ts-209.  This is missing at
http://archive.debian.org/debian/dists/squeeze/main/installer-armel/current/images/orion5x/network-console/qnap/

Same for http://archive.debian.org/debian/dists/squeeze/main/installer-armel/current/images/kirkwood/network-console/qnap/
ts-119 -> ts-219.