1
sudo apt-get remove --purge fglrx*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package fglrx-14.10.1006.1001
E: Couldn't find any package by regex 'fglrx-14.10.1006.1001'

I am trying to completely remove the last remnants of the current ATI/AMD FGLRX driver I downloaded from them. When I run the above command, I get the above output. How can I remove this entry from DKMS?

Buford T. Justice
  • 1,590
  • 3
  • 14
  • 21

1 Answers1

2

Not sure that is what's causing the problem here, but you probably don't mean to have the pattern expanded by the shell, so you should quote it:

If you have a file fglrx-14.10.1006.1001 in the current directory,
the command

sudo apt-get remove --purge fglrx*

gets expanded to

sudo apt-get remove --purge fglrx-14.10.1006.1001

which would explain why apt-get is looking for that package.

Quote the pattern like this to prevent the shell interpreting the *:

sudo apt-get remove --purge "fglrx*"
Volker Siegel
  • 13,295