fix apt-get download truncation (closes: #736962)