"Unable to remove xxx: no packages to remove"

I would strongly recommend not removing packages like that.

If you just want to remove the icon from your app drawer/homescreen, there is a better way.

To hide any package icon, you just need to add NoDisplay=true to the bottom of the .desktop file for that package.

For the Advanced Network Configuration package, do this:

  1. Copy nm-connection-editor.desktop from /usr/share/applications/ to ~/.local/share/applications/ using a file manager or using this command:

    cp /usr/share/applications/nm-connection-editor.desktop ~/.local/share/applications/
    
  2. Open nm-connection-editor.desktop in a text editor like gedit, and add NoDisplay=true to the bottom of the file, or run this command:

    echo 'NoDisplay=true' >> ~/.local/share/applications/nm-connection-editor.desktop
    

You can do this to hide any package icon. The only thing you need to do is find the name of the .desktop file.

2 Likes