#986841 dpkg: normalize description fields

Package:
dpkg
Source:
dpkg
Description:
Debian package management system
Submitter:
Julian Andres Klode
Date:
2021-04-12 18:57:06 UTC
Severity:
normal
#986841#5
Date:
2021-04-12 18:14:07 UTC
From:
To:
As reported in https://bugs.launchpad.net/ubuntu/+source/apt-listchanges/+bug/1854772, apt-listchanges
fails to parse status files that contain carriage return characters, as
Python normalizes the line endings.

Instead of writing its own ad-hoc parser, apt-listchanges should use
apt_pkg.TagFile instead.

#986841#10
Date:
2021-04-12 18:53:09 UTC
From:
To:
Control: clone -1 -2
Control: reassign -2 dpkg
Control: retitle -2 dpkg: normalize description fields

I think it could be useful if dpkg could normalize description fields
too, to make the database safer to parse. I have not checked if the
output dpkg prints when reporting status is safe or not.