Why are you even bothering dude? Just back up your data and install it fresh. You'll be done in 30 minutes.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
The best way is to backup whatever is important to you right now, if you haven't already.
Then I would check/do (No grantee that it helps your case):
-
Which Ubuntu version does /etc/apt/source.list point to? noble = 24.04, mantic = 23.10
-
sudo dpkg-reconfigure -a
-
sudo apt install -f
-
sudo apt upgrade
backup done
/etc/apt/sources.list point to 24.04 noble
there are 2 packages disabled on upgrade to noble: mkv and imagereader, lines are commented so nothing wrong here
do you still recommend to execute sudo dpkg-reconfigure -a?
If you disable packages from upgrade they will be outdated...
If you have Ubuntu install USB ready, I can't see why not try the command.
One of the engineer in my workplace did the upgrade (22.04 -> 23.10 -> 24.04), also end up with broken system, I fixed their Ubuntu by doing these steps.
it seems there is no -a option for dpkg-reconfigure:
sudo dpkg-reconfigure -a returns unknown option -a
if I delete -a it asks for a package to reconfigure
Maybe try command listed here
https://askubuntu.com/questions/775328/is-dpkg-reconfigure-all-still-available-in-16-04
after trying suggested command
sudo dpkg --configure -a
I get:
error processing package install-info (--configure): installed install-info package post-installation script subprocess returned error exit status 127, errors were encountered while processing install-info
hmm...... I would skip dpkg command in this case.