[Aptitude-devel] Bug#791662: aptitude: debdelta integration
Manuel A. Fernandez Montecelo
manuel.montezelo at gmail.com
Mon May 9 14:08:00 UTC 2016
2016-05-06 10:01 Yuri D'Elia:
>On Thu, May 05 2016, Axel Beckert <abe at debian.org> wrote:
>> What I do to use debdelta with aptitude, is the following:
>>
>> * Start "aptitude -u" inside a screen session
>> * Wait until the package lists are updated.
>> * Run "debdelta-upgrade" in a second window of the screen session
>> while aptitude's TUI is still open.
>> * Any package scheduling change updates the amount of needed downloads
>> in the status line (top right).
>
>Indeed, I do the same. Moreover, I generally specify manually the list
>of packages to upgrade in debdelta-upgrade invocation (which is why I'd
>like aptitude integration in the first place) to the same list I
>selected in aptitude.
>
>When having limited bandwidth, I have to hand-pick upgrades.
One way to get this working would be with APT::Update::Post-Invoke hook,
what /etc/apt/apt.conf.d/80debtags does. This would work today for
"full" debdelta upgrades that were going to be applied immediately
(otherwise it would download potentially unapplied upgrades).
I am not sure if there's a good way for packages running on these hooks
to receive the list of packages to be installed/upgraded.
In that case, a kind of APT::"Install"::Pre-Invoke (if "Install" or
equivalent would exist, I don't think that it does now) would be ideal.
Cheers.
--
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
More information about the Aptitude-devel
mailing list