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

Bug#1069275: apt: random display of the "Summary:" line



On Fri, Apr 19, 2024 at 10:06:31AM +0200, Antonio wrote:
> Package: apt
> Version: 2.9.1
> Severity: minor
> X-Debbugs-Cc: antdev66@gmail.com
> 
> Dear Maintainer,
> I report a minor bug on apt that I sometimes get by running the commands
> below
> in sequence.
> 
> Note that in the last commands the "Summary:" line is not displayed whereas
> previously, with the same commands, it was displayed.
> 
> I tried this sequence as root; as a user I see that the word "Summary" never
> appears.
> 
> Seems to be a random problem.

Thank you for your bug report,

looking at your output, everything seems to be in order:

All your apt(8) executions use the apt(8) modern interface,
and all your apt-get(8) executions use the classic interface
- as they should for backwards-compatibility.

Is it possible your muscle memory is playing tricks on you, making
you type sudo apt-get whereas you use apt as a user?

But maybe I missed it, so do double check.

Have a nice day!

> 
> -- SEQUENCE --
> 
> $ apt autoremove
> Summary:
>   Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
> 
> $ apt autoremove --purge
> Summary:
>   Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
> 
> $ sudo apt autoremove --purge
> Summary:
>   Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
> 
> $ (sudo apt autoremove --purge)
> Summary:
>   Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0


These are all apt(8) with the modern interface.

> 
> $ gawk '{print}'< <(sudo apt-get autoremove; sudo apt-get clean; sudo
> apt-get
> autoclean; sudo apt-get -f install; sudo apt-get check)
> Lettura elenco dei pacchetti...
> Generazione albero delle dipendenze...
> Lettura informazioni sullo stato...
> 0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
> Lettura elenco dei pacchetti...
> Generazione albero delle dipendenze...
> Lettura informazioni sullo stato...
> Lettura elenco dei pacchetti...
> Generazione albero delle dipendenze...
> Lettura informazioni sullo stato...
> 0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
> Lettura elenco dei pacchetti...
> Generazione albero delle dipendenze...
> Lettura informazioni sullo stato...

These are all apt-get(8) with the classic interface.

> 
> $ apt autoremove
> Summary:
>   Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
> 
> $ apt autoremove --purge
> Summary:
>   Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
> 
> $ (sudo apt autoremove --purge)
> Summary:
>   Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0

These are all apt(8) and all have the summary line.

> 
> $ sudo apt-get autoremove; sudo apt-get clean; sudo apt-get autoclean; sudo
> apt-get -f install; sudo apt-get check
> 0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
> 0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
> 
> $ sudo apt-get autoremove
> 0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
> 
> $ sudo apt-get autoremove
> 0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
> 
> $ sudo apt-get autoremove --purge
> 0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
> 
> $ sudo apt-get autoremove --purge
> 0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
> 
> $ apt-get autoremove
> 0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
> 
> $ apt-get autoremove --purge
> 0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.

These are all apt-get(8) which uses the classic interface.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en


Reply to: