Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • Thank you for this answer. I tried the first command using sudo dpkg -i --force-overwrite, but this command yielded almost the same error as sudo apt --fix-broken install, as follows: dpkg: error processing archive /var/cuda-repo-ubuntu2004-11-7-local/./nvidia-utils-515_515.43.04-0ubuntu1_amd64.deb (--install): unable to make backup link of './usr/bin/nvidia-smi' before installing new version: Operation not permitted Commented Jul 23, 2024 at 14:35