[Aptitude-devel] Bug#456822: aptitude incorecctly reports that packages are not a Debian package

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Tue Jan 26 12:24:36 UTC 2016


Control: tags -1 + pending


Hi Patrick,

2008-02-13 09:20 Patrick Schoenfeld:
>Hi Daniel,
>
>sorry for the late reply.
>
>Daniel Burrows wrote:
>> Losing Origin information by changing your sources.list is a bit of a
>> corner case.  I suppose I could heuristically check all the packages to
>> see if any Debian packages existed in the cache, or (better) if any
>> packages at all had an Origin tag.  However, note that this wouldn't
>> help if you had any package at all with Origin: Debian in your cache
>> prior to changing sources.list.
>
>Okay, so I think we both agree that the problem is a corner case.
>Then probably the real problem to solve is how the corner case is handled.
>
>>   Another option would be to just change the message to say that either
>> it's not a Debian package or you need to run "update".  But I believe
>> this would just confuse people into thinking they needed to run update
>> when in fact this is almost never going to help.
>
>I agree that this wouldn't be so optimal. However there must be a possibility to detect this case where sources.list has been changed, or not? Couldn't you print two different messages depending on weither this is the case or not?

I changed this message to suggest an "update", so marking as +pending.

Thanks for the report.

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



More information about the Aptitude-devel mailing list