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

Bug#968163: apt: 'apt update' repeats the same progress line many times



On Mon, Aug 10, 2020 at 03:49:55AM +0200, Piotr Engelking wrote:
> Package: apt
> Version: 2.1.8
> Severity: minor
> 
> The 'apt update' commands repeats the same progress lines, sometimes
> more than 100 times:
> 
> # script -c 'apt -q update'
> Script started, output log file is 'typescript'.
> [...]
> Script done.
> # uniq -c < typescript | egrep -v '^ *1 '
>       2 Get:2 file:/usr/src/deb  Release [858 B]
>       8 Get:24 https://ftp.icm.edu.pl/packages/linux-debian
> bullseye/main amd64 Contents (deb) 2020-08-09-2002.04.pdiff [90 B]
>      92 Get:25 https://ftp.icm.edu.pl/packages/linux-debian
> bullseye/main i386 Contents (deb) 2020-08-09-2002.04.pdiff [88 B]
>       2 Get:26 https://ftp.icm.edu.pl/packages/linux-debian sid/main
> i386 Contents (deb) 2020-08-09-2002.04.pdiff [12.1 kB]
>       3 Get:27 https://ftp.icm.edu.pl/packages/linux-debian sid/main
> amd64 Contents (deb) 2020-08-09-2002.04.pdiff [12.1 kB]
>       2 Get:28 https://ftp.icm.edu.pl/packages/linux-debian
> sid/contrib amd64 Contents (deb) 2020-08-09-2002.04.pdiff [84 B]
>       2 Get:29 https://ftp.icm.edu.pl/packages/linux-debian
> sid/contrib i386 Contents (deb) 2020-08-09-2002.04.pdiff [85 B]
>       2 Get:30 https://ftp.icm.edu.pl/packages/linux-debian
> experimental/main amd64 Contents (deb) 2020-08-09-2002.04.pdiff [5301
> B]
>       4 Get:31 https://ftp.icm.edu.pl/packages/linux-debian
> experimental/main i386 Contents (deb) 2020-08-09-2002.04.pdiff [5375
> B]
>       3 Get:41 https://ftp.icm.edu.pl/packages/linux-debian
> experimental/contrib Sources [3924 B]
>       2 Get:46 https://ftp.icm.edu.pl/packages/linux-debian
> experimental/contrib amd64 Packages [5908 B]
> #
> 
> The problem is present without and with the -q option.
> 
> Please do not write identical progress lines more than once.

Heh, I've only ever seen it with the same number. But this is not
a progress logging issue, it means there's a problem with the
connection and it's reconnecting, and it does so potentially endlessly
because the code misses a continue.
-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en


Reply to: