[Aptitude-devel] Bug#1123713: aptitude: aptitude-changelog-parser generates deprecated warnings

Guillem Jover guillem at debian.org
Sat Dec 20 01:58:34 GMT 2025


Package: aptitude-common
Version: 0.8.13-8
Severity: normal
Tags: patch

Hi!

Starting with dpkg 1.23.0, the "file" option is deprecated and
emits a warning to that effect, which is replaced by the "filename"
option.

To ease in the migration and to avoid making code not backportable,
the deprecated option is accepted with no warning if the new option is
passed as well, so that both old and new dpkg modules can be used.
Only after 1.24.0, the old option will be obsoleted and unconditionally
start generating warnings or errors.

Attached a patch that fixes and implements the above.

Thanks,
Guillem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-aptitude-changelog-parser-Pass-also-filename-to-Dpkg.patch
Type: text/x-diff
Size: 1250 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/aptitude-devel/attachments/20251220/6859f613/attachment.patch>


More information about the Aptitude-devel mailing list