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

Bug#859767: apt: could there be possibility to have verbose mode when reading package lists



in-line :-

On 07/04/2017, Julian Andres Klode <jak@debian.org> wrote:
> Control: tag -1 moreinfo
>
> On Fri, Apr 07, 2017 at 02:25:42PM +0530, shirish शिरीष wrote:
>> Package: apt
>> Version: 1.4~rc2
>> Severity: wishlist
>>
>> Dear Maintainer,
>>  Whenever I run '$ sudo apt update ' it does all the things that is
>> required of it.
>>
>> At the very end however at times there is a huge time-gap where I have
>> no idea if whether apt/aptitude or probably libapt is working or not.
>>
>> Fetched 66.6 MB in 1h 41min 8s (11.0 kB/s)
>> Reading package lists... Done
>>
>> The time gap is between giving how much apt had to gather and how much
>> time it took him and telling the Reading package lists ...Done.
>
> Before reading the package lists start, hook scripts are run. Then
> there is the reading package lists phase, which shows progress.
>
>>
>> I do not know how easy or hard (probably hard) would it be to
>> implement a percentile/percentage thing so instead of have just having
>> -
>>
>> Reading package lists .... Done it does like Reading package...lists
>> 5% incrementing it as time goes on till its 100% and then get the ...
>> Done message.
>
> I don't really understand what you want. Reading package lists currently
> does show a percentage while working (as long as stdout is a terminal):
>

My use-case is that apt update is used on the terminal and stdout is
the terminal.

>   Reading package lists... 0%
>   Reading package lists... 0%
>   Reading package lists... 1%
>   Reading package lists... 19%
>   [... about 100 updates ... ]
>   Reading package lists... Done
>
> (stripping away the \r). From what I'm reading you want this, but then
> this is already what's happening.
>

This becomes curiouser and curiouser. I have no idea why, but it
doesn't happen at my end. Didn't apt-config details or something else
give the details why it doesn't show that ?

If I were to try to figure out what is wrong, where or how should I start ?

Looking forward to know.

> --
> Debian Developer - deb.li/jak | jak-linux.org - free software dev
>                   |  Ubuntu Core Developer |
> When replying, only quote what is necessary, and write each reply
> directly below the part(s) it pertains to ('inline').  Thank you.
>

-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8


Reply to: