You must specify packages by their own names error in dpkg

Опубликовано: 30 Июль 2026
на канале: Exchange Times .Net
413
3

Here is the correct way to uninstall applications you installed using a deb file with either dpkg or eddy.

The error: You must specify packages by their own names error in dpkg when trying to remove an installed deb package.

Follow the below steps to correctly uninstall an application (deb package) that you installed using dpkg or eddy:

1. get the correct name of the package: dpkg --get-selections | grep part_of_the_name

2. Remove the application: sudo dpkg -P application_name_as_per_above_output (-P removes the package and config files)