[Aptitude-devel] Bug#438495: Cannot interrupt changelog download

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Mon Sep 21 19:33:57 UTC 2015


Control: tags -1 + moreinfo

Hi,

2007-08-17 13:28 Trent W. Buck:
>Package: aptitude
>Version: 0.4.6.1-1
>Severity: wishlist
>
>When viewing upgradable packages, one can use the `C' key (that is,
>Shift + C) to download and view the changelog.  While the changelog is
>downloading, both `q' and ^C (Control + C) terminate aptitude
>altogether; it seems there is no way to cancel the download of a
>changelog.

2008-01-13 09:07 Josh Triplett:
># Automatically generated email from bts, devscripts version 2.10.13
># A real bug, not just a feature request; cannot do other operations while changelog attempts to download
>severity 438495 normal

Can you please confirm me if what you observed is still happening with
recent versions?  I's been quite a long time since the report and the
follow-up.

I am on a very slooooow connection, but even then the (and when
changelog is not on disk already) package changelog downloads so fast
that I cannot press 'q' before it downloads, except in a couple of
occasions.  Even with old packages (== assuming big changelog files) it
takes fractions of a second.

Sometimes when pressing 'q', it seems to want to quit aptitude rather
than cancel the changelog (but there is the confirmation dialog).
However, assuming that in your case it's just very slow downloading the
changelog, I think that one can press F6 and cycle to another view and
continuing working there for a few seconds, as a workaround.

To be honest, I am not sure if it's even a good idea to implement this
request, since I think the download happens in a background thread and
only creates the view (the one reacting to 'q') once the changelog is
ready.  So it's not a matter of simply connecting the 'q' event with
cancelling the download; perhaps it needs shuffling some code around and
creating new menus or keystrokes, that then need new messages and
translations and documentation, and I am not sure if the problem is so
inconvenient as to be worthwile?

But maybe I am missing your use-case and why it's so annoying, please
explain.


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list