[Aptitude-devel] Bug#1087005: aptitude: TUI does not show all package action changes if package actions are changed while already in preview
Vincent Lefevre
vincent at vinc17.net
Fri Nov 8 01:29:22 GMT 2024
On 2024-11-08 00:50:14 +0100, Axel Beckert wrote:
> What happened in your is that it appeared together with something
> which is as far as I can see not a bug but a design decision:
>
> > Packages Preview
> > aptitude 0.8.13 @ cventin Disk: -172 MB
> > --\ Packages being removed because they are no longer used (3)
> > ipA linux-headers-6. -4012 kB 6.10.9-1 6.10.9-1
> > ipA linux-headers-6. -61.4 MB 6.10.9-1 6.10.9-1
> > ipA linux-kbuild-6.1 -2271 kB 6.10.9-1 6.10.9-1
> >
> > In particular, the "Disk:" value has changed. And still no other
> > packages are marked as to be removed, which is contradictory
> > with the change of the "Disk:" value.
>
> Please note: The grouping and limiting of a view in aptitude is never
> automatically updated, as this would cost a lot of time after every
> package action change. You might have noticed how much time building a
> view can take if a system is under load or quite some sources are
> listed in /etc/apt/sources.list*.
>
> Package action changes only update the status line on top and the
> color and first column of the packages whose action changed (either by
> explicitly selecting an action or by dependency resolution).
>
> It does not add packages to a view which is limited to a specific set
> of packages nor does it update their grouping. (Changing the latter
> would also make the UI unusuable.)
OK, but then, aptitude should at least warn if the preview is not
up-to-date when the user hits 'g' to perform the pending operations.
Alternatively, 'g' could have the effect to update the preview
(like 'qg') if it is no longer up-to-date.
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the Aptitude-devel
mailing list