I'm doing some work on it in these days. Sorry for the long period I left it abandoned.
I have some changes already done locally. Will commit to git ASAP so at least you can take a look at my work Stefano On 1 March 2015 at 18:27, Vagrant Cascadian <vagr...@debian.org> wrote: > On 2015-02-28, Manolo Díaz wrote: > > After showing a lot of lines like > > > > Couldn't find country AT . Skipping. > > Couldn't find country AU . Skipping. > > Couldn't find country BE . Skipping. > > ... > > > > your package creates a sources list file without any mirror. Example: > > > > deb (null) testing main #contrib non-free > > deb-src (null) testing main #contrib non-free > > I can reproduce this by installing apt-spy in a clean chroot and > running apt-spy twice: > > # apt-spy -d jessie > Creating mirror file: /var/cache/apt/mirrors.txt > Updating... > Grabbing file http://http.us.debian.org/debian/README.mirrors.txt... > Error: 22: The requested URL returned error: 404 Not Found > Failed to download mirror list. Exiting. > > # apt-spy -d jessie > Couldn't find country AT . Skipping. > ... > Couldn't find country ZA . Skipping. > Writing new sources.list file: /etc/apt/sources.list.d/apt-spy.list > > > It doesn't seem to have error handling for the "404 Not Found", and > creates an empty mirrors.txt. The empty mirrors.txt created on the first > pass is then used on the second pass to create a broken > /etc/apt/sources.list.d/apt-spy.list file. > > > > Also, it fails to update the mirror list due the the lack of > > http://http.us.debian.org/debian/README.mirrors.txt > > I think this is the main source of the problem. It seems that the > mirrors no longer include README.mirrors.txt, and apt-spy needs to be > patched to parse https://www.debian.org/mirror/list, which is in html > format. Not sure how invasive that will be. > > > FWIW, apt-spy hasn't been uploaded or had a commit in git 3 years... > > > live well, > vagrant >