0

I tried upgraded my Lubuntu 18.10 system to 19.04 using the standard GUI which runs the do-release-upgrade command. It got most of the way through the installation, installing all the packages. However, it failed before making it to the clean-up section. This has resulted in an unfortunate problem where many of the applications that were deprecated are installed alongside their replacements.

This is obvious when looking at the system tray: System Tray

You can see two network tray icons (for two different program instances) and two power icons. In the applications menu, there are many sets of duplicate programs, i.e. two "Additional Drivers".

My question is how can I remove these deprecated applications from my system? Is there a simple command I can run? If I have to remove each one individually, how can I know which ones were deprecated and which ones are current?

In case anyone thinks to suggest it, I've already worked through this answer and it doesn't solve my problem.

Dennis
  • 168

1 Answers1

1

Install if possible sudo apt install apt-show-versions

apt-show-versions | grep 'No available'

lists packages which no longer available in your package source. Take a good look which one you maybe need. You can remove them all together with sudo apt purge $(apt-show-versions | grep 'No available' | awk '{print $1}')

nobody
  • 5,792