0

I tried to uninstall PHP but I got the following error instead. What does this error mean and how to solve it?

$ sudo apt-get remove --purge php*
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package php-7-v-podlinnike.pdf
E: Couldn't find any package by glob 'php-7-v-podlinnike.pdf'
E: Couldn't find any package by regex 'php-7-v-podlinnike.pdf'
Raffa
  • 32,237
  • 1
  • is NOT a wildcard for apt. Why the need to remove it? It should not harm anything in your system :)
  • – Rinzwind Apr 19 '23 at 18:38
  • @Rinzwind It's not safe to rely on, yes ... But, if a simulation is run using * ... e.g. apt-get -s remove 'vlc*' ... apt will state that it is using it as a globbing character an will print something like Note, selecting 'vlc-plugin-qt' for glob 'vlc*'. – Raffa Apr 19 '23 at 19:25