Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] apt --solver and autoremove  (Read 908 times)

Offline vayu

  • User
  • Posts: 235
[EN] apt --solver and autoremove
« on: 2024/12/24, 12:20:43 »
I'm happy to have both my computers successfully running Plasma/KDE 6. I imagine that's at least in part thanks to --solver 3.0.

But it leaves a very long list of autoremove packages marked for removal.  Until now my process was to research each package marked for autoremove and resolve it by removing or setting to manual and generally having an empty autoremove list.

Figuring out the list I have now is daunting, I don't imagine I can do it just concerning time let alone mistake free.

What should I do? Should I just live with this autoremove list?

Offline Isegrimm666

  • User
  • Posts: 177
Re: apt --solver and autoremove
« Reply #1 on: 2024/12/24, 12:36:54 »
The purpose of an upgrade is to replace old packages with new ones, which makes the old packages superfluous.

Why don't you want to have these packages - proposed for deletion - removed?

The output of ...

Code: [Select]
apt update && apt --solver 3.0 full-upgrade
... would be helpful here to see which packages should be installed, upgraded and which should be removed.

Offline edlin

  • User
  • Posts: 720
Re: apt --solver and autoremove
« Reply #2 on: 2024/12/24, 13:00:32 »
Many old packages have accumulated due to the changeover to Plasma6. There will certainly be many libraries that are no longer needed. If you don't find any applications in the list that you still need (which I don't think you will), you can perform an apt autoremove.

edlin
„Ein kluger Mann macht nicht alle Fehler selber. Er lässt auch anderen eine Chance.“

Winston Churchill

Offline vayu

  • User
  • Posts: 235
Re: apt --solver and autoremove
« Reply #3 on: 2024/12/28, 02:01:35 »
Many old packages have accumulated due to the changeover to Plasma6.
edlin

In addition to a long list of kf5 packages there are quite a few kf6 packages to remove. I imagine they are fine to let go but it's not clear cut to me. Also there's a pretty long list of packages that clearly seem like they shouldn't be removed.
akregator korganizer kaddressbook kpart5-kompare kalendarac kdepim-themeeditors pim-data-exporter pim-sieve-editor kmail knotes kompare. 

The other part is all along the system has been mixing kf5 and kf6 packages.  So I'm not sure if any kf5 packages need to stick around. I remember from kde4 to kde5 there were multiple versions of major packages. Like there was a kde4 dolphin and a kde5 version.  In several cases I needed to keep the old one around for a while because they didn't have full functionality.  Is it universal if it says kf5 in the name that I can let it go?

Offline Pip

  • User
  • Posts: 194
Re: apt --solver and autoremove
« Reply #4 on: 2024/12/28, 12:00:27 »
With apt --solver 3.0 full-upgrade on a machine with nothing held by apt-mark, I get warnings of what will not be upgraded -

accountwizard
akonadi-contacts-data
akonadi-mime-data
kaddressbook
kaddressbook-data
kalarm
kalendarac
kdepim-addons
kdepim-runtime
kdepim-themeeditors
kgpg
kleopatra
kmail
mbox-importer
phonon-backend-gstreamer-common
pim-data-exporter
pim-sieve-editor

so it looks like the pim/mail group are not quite ready for action yet. I'd suggest you refrain from deleting them until that calms down.