1

I am using Lubuntu 16.04 which is Ubuntu + LXDE. I am running the command sudo apt purge /path/to/files/*.deb and instead of removing all of the packages in that directory, I just get filename.deb is already the newest version (5.2.1-2) for every package in the directory. I feel like I've tried every combination of apt, apt-get, and dpkg and the words purge and remove. apt-cache rdepends says that there are no dependent packages.

Why can't I remove my packages?

2
  • apt might be confused because you're passing all the debs to one apt command. Try purging one package at a time?
    – HoD
    Jun 2, 2020 at 14:13
  • @HoD even independent requests returned the same result
    – R.Sharpe
    Jun 2, 2020 at 14:30

1 Answer 1

0

The packages were installed with independent package names that were different than the .deb files.

dpkg --list | grep packagename | awk {'print $2'} showed me which packages to remove.

apt purge worked fine after that.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .