On 2022-08-22 13:42:01 +0200, Marc Haber wrote:
> Do you know the previous sha512sum of the old file? The preinst should
> catch most versions of the old file back to oldoldstable. Things are
> harder because the file might be debconf-modified.

zira:~> ll /etc/adduser.conf.dpkg-old
-rw-r--r-- 1 root root 2981 2015-06-18 10:17:54 /etc/adduser.conf.dpkg-old
zira:~> sha512sum /etc/adduser.conf.dpkg-old
7088cd8e6f145ae3f0e7b77b5960f06335499a0d8254eab2500800d719c5fd126a136e7de1afa0002aa2655a8e016248e3a21f1686b76d401e895bde217b140e
  /etc/adduser.conf.dpkg-old

And on another machine (not upgraded to adduser 3.127 yet):

cventin:~> ll /etc/adduser.conf
-rw-r--r-- 1 root root 2981 2015-10-06 13:42:23 /etc/adduser.conf
cventin:~> sha512sum /etc/adduser.conf
7088cd8e6f145ae3f0e7b77b5960f06335499a0d8254eab2500800d719c5fd126a136e7de1afa0002aa2655a8e016248e3a21f1686b76d401e895bde217b140e
  /etc/adduser.conf

(same value).

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to