Bug#771496: overwrites user changes to configuration file /etc/dpkg-cross/cross-compile on upgrade (violates 10.7.3)
Helmut Grohne <[email protected]> Sun, 30 Nov 2014 08:28:31 +0100
| Newsgroups | gmane.linux.debian.devel.embedded |
|---|---|
| Message-ID | <20141130072829.GA10678__13974.6187291623$1417333170$gmane$org@alf.mars> |
Package: dpkg-cross Version: 2.6.11 Severity: serious Justification: policy 10.7.3 User: [email protected] 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