Comment 21 for bug 1975401

Revision history for this message
Oded Arbel (oded-geek) wrote :

I'm not sure what you mean - if you removed packages during replacing the old python packages with new python packages, and didn't re-install them, then you probably don't need them or their dependencies. The dependencies for the replaced python packages have not changed - you downloaded them from Canonical servers and there should be no reason to worry about that.

That being said, to solve your "autoremove wants to remove packages" issues, you can do one (or more) of the following:

- after deleting the `kinetic-sources.list` file you created as part of the forced update process, and running `apt update`, you can do `apt install --reinstall python3`. This will replace your local python3 build with the new 3.10.6-1 build from Canonical. If you still get the "autoremove" issue - see the other options.
- review the packages that autoremove wants to remove, and run `apt install <package-name>` for each of the packages *you* *know* you want to keep.
- just run autoremove and let it remove whatever it wants - you likely do not need them, and if you find out later that you do, you can re-install just the ones that you need.