Bug#771496: overwrites user changes to configuration file /etc/dpkg-cross/cross-compile on upgrade (violates 10.7.3)
Package: dpkg-cross
Version: 2.6.11
Severity: serious
Justification: policy 10.7.3
User: helmutg@debian.org
Usertags: rebootstrap
When upgrading dpkg-cross, the file /etc/dpkg-cross/cross-compile is
overwritten by dpkg-cross.postinst regardless of what it contains. This
behaviour violates the Debian policy section 10.7.3.
Test case:
# apt-get install dpkg-cross
...
# echo "# some change" >> /etc/dpkg-cross/cross-compile
# apt-get install --reinstall dpkg-cross
...
# grep "some change" /etc/dpkg-cross/cross-compile
#
The last command fails whereas it should succeed.
Helmut
Reply to: