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

Bug#717006: apt-listbugs prevents apt purge



Hello,

thanks for the report (and reassigning) !

On Tue, Jul 16, 2013 at 10:17 PM, Francesco Poli
<invernomuto@paranoici.org> wrote:
> Indeed there seems to be a regression in the hook info (version 2)
> provided by libapt-pkg.
> With apt/0.9.9.1 and libapt-pkg4.12/0.9.9.1 the relevant
> Pre-Install-Pkgs hook info is:
>
>   VERSION 2
>
>   python3.2 > - **REMOVE**
>
> The python3.2 remove line only has 4 fields, while five are expected.

Regardless of how hard you try, there is always at least one case
remaining which isn't covered by your testcase and includes the bug
you hoped to prevent by writing a testcase in the first place …
(see the attached patch "else if" you want to have a laugh)


Best regards

David Kalnischkies

Attachment: 0001-fix-if-clause-to-generate-hook-info-for-rc-packages.patch
Description: Binary data


Reply to: