[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#830159: apt-get autoremove removes kernels with "+" in the package name




On 07/06/2016 02:04 PM, Julian Andres Klode wrote:
> On Wed, Jul 06, 2016 at 01:48:17PM -0600, Andrew Patterson wrote:
>> Package: apt
>> Version: 1.2.11
>>
>> When I run apt-get autoremove, apt will also remove kernels with a "+"
>> in the package name, e.g,
> [...]
>> I have attached a patch that has a fix for this problem.
> 
> Thanks for your patch!
> 
> Can you also extend the test in test/integration/test-kernel-helper-autoremove? That
> would be helpful to ensure it did not work before and works now. We could also do it
> ourselves, but maybe you want to do it (looks more coherent that way!).
> 

I'll give it a try.

> Would be great if you could submit an updated patch with that in it (and a "Closes: #830159" as
> a last line of the commit message, so we don't forget to close the bug) and in the right
> format (see below).
> 

Will do.

>>
>> -- 
>> Andrew Patterson
>> Hewlett-Packard Enterprise
> 
>> commit 4c851c0d9b8d04e6c6aa44d1d380e139f0c2f7af
>> Author: Andrew Patterson <andrew.patterson@hpe.com>
>> Date:   Wed Jul 6 13:40:16 2016 -0600
> 
> Please format patches with git-format patch, this cannot be applied
> directly with git am.
> 

Sorry. I'll be better next time.


-- 
Andrew Patterson
Hewlett-Packard Enterprise


Reply to: