Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completely broken by Ubuntu deleting 22.04 packages #102

Open
knghtbrd opened this issue Aug 4, 2024 · 5 comments
Open

Completely broken by Ubuntu deleting 22.04 packages #102

knghtbrd opened this issue Aug 4, 2024 · 5 comments

Comments

@knghtbrd
Copy link

knghtbrd commented Aug 4, 2024

Ubuntu purged a number of packages from 22.04 resulting in mintupgrade being utterly certain that several things that the system is likely not to boot without must be removed prior to upgrade. Since no manual upgrade process was documented, um… this tool is now useless except as a particularly error-prone set of manual upgrade instructions.

You're going to need a set of packages to exclude from the foreign check, at the least, to get around this. y'know unless you're okay with removing linux-image-generic and dependencies, as well as xorg, tzdata, and other irrelevant things …

@MatiasMGz
Copy link

Mint 22 is based on 24.04

@knghtbrd
Copy link
Author

Mint 22 is based on 24.04

Completely irrelevant. before upgrading, the upgrader demands you uninstall any "locally installed" package—that is, any package Ubuntu has removed from the source. That list included such packages as linux-image-generic because the specific kernel installed was no longer available in the repository.

This check CANNOT BE BYPASSED, yet if you remove key components of the system … like, y'know, the kernel, X.org, and a few other minor, unnecessary package that were no longer in the repo … the upgrader will refuse to run. This completely hamstrung the upgrade process requiring me to edit the source code to remove the check. Once I did that, the upgrade completed just fine, and replaced every single 22.04 package the upgrader tried to remove with one from 24.04.

I don't know why every one of these packages suddenly disappeared from the repository, but it was kind of a problem for the upgrade.

I did try a couple of different mirrors, basically hoping to find one that had not done that, but three of them already had, so … yikes.

@Jeremy7701
Copy link

If you did a Ubuntu update at any time - instead of a Mint update, then you would expect problems.

@knghtbrd
Copy link
Author

Only thing I did between installing it two months ago and the upgrade was changing to an optimal mirror using the Mint update tool, and then to fastly when the blog post about it came up. I had repos for Virginia and Jammy. What disappeared though were a bunch of packages with 22.04 in the version string. Someone suggested maybe some mirrors dropped jammy since it was over two years old now, but that doesn't make sense since if that's what happened I'd have been getting errors about missing package lists from apt.

I have been doing random system maintenance using CLI apt because it's not my computer, but that shouldn't break anything either if I'm not modifying sources.list entries between doing so.

@MatiasMGz
Copy link

I updated recently to Mint 22 using the mintupgrade tool and there was not a single problem with APT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants