Bug#1011933: nvidia-cudnn: If you deny license agreement, it installs and impossible to delete.

Alexandr Podgorniy sacled at scaledteam.ru
Fri May 27 00:07:04 BST 2022


Package: nvidia-cudnn
Version: 8.2.4.15~cuda11.4
Severity: minor
X-Debbugs-Cc: sacled at scaledteam.ru

If you deny license agreement, it installs and then it impossible to delete.
Pre-removal scripts returns 1. I managed to delete package through dirty hack,
but i think it worth to mention that bug exists.

```
LANG=C sudo dpkg -r nvidia-cudnn
(Reading database ... 478095 files and directories currently installed.)
Removing nvidia-cudnn (8.2.4.15~cuda11.4) ...
Purging cuDNN installation from /usr
dpkg: error processing package nvidia-cudnn (--remove):
 installed nvidia-cudnn package pre-removal script subprocess returned error
exit status 1
Errors were encountered while processing:
 nvidia-cudnn
```

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.15.0-3-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_USER, TAINT_OOT_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nvidia-cudnn depends on:
ii  debconf [debconf-2.0]  1.5.79
ii  dpkg-dev               1.21.7
ii  nvidia-cuda-toolkit    11.4.3-2+b2
ii  wget                   1.21.3-1+b1

nvidia-cudnn recommends no packages.

nvidia-cudnn suggests no packages.



More information about the pkg-nvidia-devel mailing list