Dear Maintainers,

nvidia-installer --uninstall invocation in nvidia-installer-cleanup.postinst
script tries to interact with the user by means of printf/scanf.
This hangs the postinstall script. We need to invoke nvidia-installer
with zero user interaction.

please find enclosed my suggestion to fix the issue:

diff --git a/debian/nvidia-installer-cleanup.postinst b/debian/nvidia-installer-cleanup.postinst
index 6bbb992..6f92081 100644
--- a/debian/nvidia-installer-cleanup.postinst
+++ b/debian/nvidia-installer-cleanup.postinst
@@ -20,7 +20,7 @@ then
db_get nvidia-installer-cleanup/uninstall-nvidia-installer
                if [ "$RET" = "true" ]
                then
- nvidia-installer --uninstall --no-runlevel-check --no-x-check --ui=none || true + nvidia-installer --uninstall --no-questions --no-runlevel-check --no-x-check --ui=none || true
                elif [ ! -x "/usr/bin/nvidia-installer" ]
                then
                        : # the user may have removed it inbetween

Reply via email to