[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#440062: zero byte files in partial/ directory



Package: apt-transport-https
Version: 0.7.6

The https method generates zero byte files if there is an error with the 
remote file:

# pwd
/var/lib/apt/lists/partial
# ls -l
total 0
# apt-get update
Ign https://192.168.100.77  Release.gpg
Ign https://192.168.100.77  Release
Ign https://192.168.100.77  Packages
Err https://192.168.100.77  Packages
  error reading X.509 key or certificate file
Failed to fetch https://192.168.100.77:81/u0002/Packages.gz  error reading 
X.509 key or certificate file
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones 
used instead.
# ls -l
total 0
-rw-r--r-- 1 root root 0 Aug 29 14:49 192.168.100.77:81_u0002_Packages
-rw-r--r-- 1 root root 0 Aug 29 14:49 192.168.100.77:81_u0002_Release
-rw-r--r-- 1 root root 0 Aug 29 14:49 192.168.100.77:81_u0002_Release.gpg

my sources.list:
deb https://192.168.100.77:81/u0002 /

This is just for testing, you can use anything else, too. like:
deb https://www.google.com /

This happens if the requested file doesn't exists or the file is up2date and 
you do an "apt-get update".





Reply to: