Hallo, * Ritesh Raj Sarraf [Fri, Sep 23 2016, 06:10:31PM]: > Control: tag -1 +moreinfo > > On Fri, 2016-09-23 at 11:30 +0200, Eduard Bloch wrote: > > First 20-25 files were download quickly but then: > > > > http://ftp.uni-kl.de/debian/dists/experimental/non-free/Contents-amd64.gz > > done > > > > Downloading > > http://ftp.uni-kl.de/debian/dists/experimental/non-free/Contents-i > > 386.xz > > http://ftp.uni-kl.de/debian/dists/experimental/non-free/Contents-i386.gz > > done > > > > Downloading > > http://ftp.uni-kl.de/debian/dists/experimental/non-free/Contents-a > > ll.xz > > Downloading http://debian.netcologne.de/debian/dists/unstable/Release.gpg > > > > > > <about a minute break> > > Downloading http://debian.netcologne.de/debian/dists/unstable/Release > > > > > > <about two minutes hanging around here> > > Downloading http://debian.netcologne.de/debian/dists/unstable/InRelease > > > > > > <now hanging again here> > > > > Looks like your downloader has some issues. Download list (the thing you > > call "signature") is attached. > > > > I doubt that is the case. It could just be that you have a slow repository.
It did not look like a "slow" repository. The data transfer indicator in my systray was stuck. Not slow small packages flowing around but NOTHING. From my experience with HTTP client and server programming, this indicates some protocol or sequence error (maybe a race somewhere), not just a slow mirror. Did you not implement some kind of socket timeout? Today I tried the same thing with --verbose. It did work. However, I observed something weird... your script seems to fetch the ".lzma" versions as fallback. But why? IIRC the lzma stuff was only used in a old Ubuntu version 6-7 years ago, everybody has moved to .xz format since ages. Even .bz2 versions are slowly disappearing from Debian, only .xz and .gz are still available on my favorite mirrors. Anyhow, I tried again: # /tmp $ apt-offline get -d zz foo Fetching APT Data Downloading http://www.scootersoftware.com/dists/bcompare4/Release.gpg http://www.scootersoftware.com/dists/bcompare4/Release.gpg done Downloading http://www.scootersoftware.com/dists/bcompare4/Release ERROR: No such file or directory Downloaded data to zz (note: it simply stopped here. I wondered, what's up with the directory?) # /tmp $ mkdir zz mkdir: das Verzeichnis „zz“ kann nicht angelegt werden: Die Datei existiert bereits (so yes, it did create it and then aborted with pointless message) # /tmp $ apt-offline get -d zz foo Fetching APT Data Downloading http://www.scootersoftware.com/dists/bcompare4/Release.gpg http://www.scootersoftware.com/dists/bcompare4/Release.gpg done Downloading http://www.scootersoftware.com/dists/bcompare4/Release http://www.scootersoftware.com/dists/bcompare4/Release done Downloading http://www.scootersoftware.com/dists/bcompare4/InRelease Downloading http://www.scootersoftware.com/dists/bcompare4/non-free/binary-amd64/Packages.xz http://www.scootersoftware.com/dists/bcompare4/non-free/binary-amd64/Packages.gz done Downloading http://www.scootersoftware.com/dists/bcompare4/non-free/binary-i386/Packages.xz And this way it works. :( Regards, Eduard.

