Hi,


The problem is coming from the sed command present in 
/var/lib/dpkg/info/libpam-yubico.postinst.



The problem is the secret key string is a base64 string, so it can contain some 
slashes.



As slash is the separator of sed command:



sed -e "s/#DEBCONF_REPLACE/$RET/g"



sed fails because the slashes in $RET would need to be escaped.



A simple solution is to change the separator in the sed command by a pipe:

sed -e "s|#DEBCONF_REPLACE|$RET|g"

Fab
                                          

Reply via email to