I got the following warning when updating nvhpc from 22.7 to 22.9 using
apt update && apt upgrade && apt autoremove:
The following packages will be REMOVED:
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 10.3 GB disk space will be freed.
(Reading database … 141360 files and directories currently installed.)
Removing nvhpc-22-7 (22.7) …
dpkg: warning: while removing nvhpc-22-7, directory ‘/opt/nvidia/hpc_sdk/Linux_x86_64/22.7/compilers/bin’ not empty so not removed
- Should I just run
rm -rf /opt/nvidia/hpc_sdk/Linux_x86_64/22.7to remove the old version?
- If so, can the autoremove script be updated to delete the directory even though it’s not empty?
I am using Ubuntu 20.04.5 LTS (Focal Fossa) through WSL2 on Windows 10.