Bug#968220: apt: 'apt source' fails: Data left in buffer
Control: tag -1 - moreinfo unreproducible
On Tue, Aug 11, 2020 at 05:49:36AM +0200, Piotr Engelking wrote:
> Package: apt
> Version: 2.1.9
> Severity: normal
>
> The 'apt source' command fails to download package sources:
>
> $ apt source hello
> Reading package lists... Done
> Need to get 733 kB of source archives.
> Get:1 https://ftp.icm.edu.pl/packages/linux-debian bullseye/main hello
> 2.10-2 (dsc) [1335 B]
> Err:1 https://ftp.icm.edu.pl/packages/linux-debian bullseye/main hello
> 2.10-2 (dsc)
> Data left in buffer [IP: 193.219.28.2 443]
> Get:2 https://ftp.icm.edu.pl/packages/linux-debian bullseye/main hello
> 2.10-2 (tar) [726 kB]
> Get:3 https://ftp.icm.edu.pl/packages/linux-debian bullseye/main hello
> 2.10-2 (diff) [6132 B]
> Err:3 https://ftp.icm.edu.pl/packages/linux-debian bullseye/main hello
> 2.10-2 (diff)
> Data left in buffer [IP: 193.219.28.2 443]
> Fetched 726 kB in 1s (505 kB/s)
> E: Failed to fetch
> https://ftp.icm.edu.pl/packages/linux-debian/pool/main/h/hello/hello_2.10-2.dsc
> Data left in buffer [IP: 193.219.28.2 443]
> E: Failed to fetch
> https://ftp.icm.edu.pl/packages/linux-debian/pool/main/h/hello/hello_2.10-2.debian.tar.xz
> Data left in buffer [IP: 193.219.28.2 443]
> E: Failed to fetch some archives.
> $ ls -log hello_*
> -rw-r--r-- 1 0 May 13 2019 hello_2.10-2.debian.tar.xz
> -rw-r--r-- 1 0 May 13 2019 hello_2.10-2.dsc
> -rw-r--r-- 1 725946 Mar 22 2015 hello_2.10.orig.tar.gz
> $
>
> Using the '-o Acquire::https::Pipeline-Depth=0' option makes no difference.
>
> Other programs download the files successfully without a complaint.
I have managed to reproduce the issue occassionally after putting my squid
in front of it.
This should be fixed in https://salsa.debian.org/apt-team/apt/-/merge_requests/130
but I'll leave the bug open for you to verify.
I'll have a go at the Ubuntu side now
--
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer i speak de, en
Reply to: