[Aptitude-devel] Bug#214244: aptitude: add depends for auto-upgraded packages also

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Fri Feb 5 20:29:51 UTC 2016


2015-10-01 19:57 To Radim Kolar:
>Control: tags -1 + moreinfo
>
>
>Hi Radim,
>
>2003-10-05 17:17 Radim Kolar:
>>Package: aptitude
>>Version: 0.2.13-2
>>Severity: wishlist
>>
>>aptitude prints depend information with -D switch, this is a usefull
>>feature, which is badly missing from apt.
>>
>>But depend information is printed only for:
>>1) The following NEW packages will be automatically installed:
>>2) The following packages will be automatically REMOVED:
>>
>>but this  depend information is not printed for auto-upgraded packages
>>- The following packages will be upgraded:
>
>That is because there is no distinction in the code between manually and
>automatically upgraded (or downgraded).  This would probably be very
>complex and it's not going to be looked at immediately.
>
>It can be easily implemented for all upgraded or downgraded, but since
>-D is supposedly only for automatically changed, I don't know if it
>makes sense to do the change under these conditions.
>
>
> -D    Show the dependencies of automatically changed packages.


The attached patch implements the mentioned feature (part of the
original request), but as I said above, I don't know if it should be
applied because it is not clear if it matches the documentation, etc
(thus keeping "+moreinfo" for thinking further about it).

I figured that it's better to attach it here in the case that it's lost,
or so it can inspire other people looking to the reports.


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: infer_reason.cc_bug_214244.diff
Type: text/x-diff
Size: 861 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20160205/f3a5d7cb/attachment.diff>


More information about the Aptitude-devel mailing list