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

Bug#862951: python-apt: apt.Package.mark_reinstall() missing; apt.Package.marked_reinstall doesn't work



> There are no plans for new python-apt releases not targetting testing
> at the moment. They will come after we start APT 1.5 experimental uploads
> (need to get some sane versioning at least...).
>
Alrighty. As long as it is fixed within the next months I'm happy. ;-)

> It's not considered a change, because get_changes() returns all
> packages that have not been marked 'keep', and the reinstalled
> package is marked as keep. I'm not sure if that's
> the right choice, but that's the way it is right now, and that's
> not going to change.
>
Makes sense to me albeit some people might disagree because for an
instance '/var/lib/dpkg/info/<reinstalled-package>.list' will have a
different timestamp and so on.
In any case the docstring of 'Cache.get_changes()' should clarify that
packages with the keep or reinstall flag aren't included.


Reply to: