Debian package dependencies

Just installed latest debian package on a fresh debian amd64 install.

sudo package is not installed by default and repetier-server package don't require the sudo package so repetier-installer fails with following errors :
/var/lib/dpkg/info/repetier-server.postinst: ligne 13: /etc/sudoers.d/repetierserver-RepetierInstaller: Aucun fichier ou dossier de ce type
grep: /etc/sudoers.d/repetierserver-perms: Aucun fichier ou dossier de ce type
/var/lib/dpkg/info/repetier-server.postinst: ligne 42: /etc/sudoers.d/repetierserver-perms: Aucun fichier ou dossier de ce type
Moreover, in order to prevent the following error the first time install
grep: /etc/sudoers.d/repetierserver-perms: Aucun fichier ou dossier de ce type
repetier-server.postinst line 41 should be improved as follow :
if ! [ -f /etc/sudoers.d/repetierserver-perms ] || ! grep -q "screensaver" /etc/sudoers.d/repetierserver-perms; then



Comments

Sign In or Register to comment.