0

I am trying to remove

libnvidia-compute-440_440.36-0ubuntu0~0.18.04.1_amd64.deb

root@miki:/var/cache/apt/archives# sudo dpkg --remove libnvidia-compute-440_440.36-0ubuntu0~0.18.04.1_amd64.deb

It does not work

dpkg: error: --remove needs a valid package name but 'libnvidia-compute-440_440.36-0ubuntu0~0.18.04.1_amd64.deb' is not: illegal package name in specifier 'libnvidia-compute-440_440.36-0ubuntu0~0.18.04.1_amd64.deb': character '~' not allowed (only letters, digits and characters '-+._')

What are the alternatives?

1 Answers1

3

Try uninstalling without specifying the .deb extension— IIRC you're only need to pass the package name.

sudo dpkg --remove libnvidia-compute-440

I think you can do that with apt as well.

sudo apt-get remove libnvidia-compute-440
Liso
  • 15,377
  • 3
  • 51
  • 80