ubuntu / app-center

App Store for Ubuntu made with Flutter 🧡 💙
GNU General Public License v3.0
631 stars 114 forks source link

Uninstalling a Debian package does not remove unused dependencies #1704

Open AsciiWolf opened 3 months ago

AsciiWolf commented 3 months ago

When uninstalling a Debian package using App Center, all its (now unused) dependencies stay installed. This can be confirmed by running "sudo apt autoremove --purge" from a terminal afterwards. This issue was fixed a long time ago in Ubuntu 18.04 (see this ticket) and was also working correctly in the Snap Store app (GNOME Software fork). Please, consider also supporting the autoremove functionality of PackageKit in App Center.

AsciiWolf commented 1 month ago

This is how it is implemented in GNOME Software (and previous Snap Store app):

https://gitlab.gnome.org/GNOME/gnome-software/-/commit/e5272e58c46d7049e7ff6515000477e57a35c5df