upgrading to xubuntu 24.04, another update

ceciline02@lemmy.ml to Linux@lemmy.ml – 11 points –

my 23.10 now boots to single user mode (the tty1 log in page), After logging in with username and password (not as root, but regular me) I get this message:

/etc/update-motd.d/95 updates available 7: /usr/share/update-notifier/notify-updates-outdated: not found

run-parts: /etc/update-motd.d/95 updates available exited with return code 127

what's the best way to proceed now?

NMTUI shows wlan is connected

9

Why are you even bothering dude? Just back up your data and install it fresh. You'll be done in 30 minutes.

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):

  1. Which Ubuntu version does /etc/apt/source.list point to? noble = 24.04, mantic = 23.10

  2. sudo dpkg-reconfigure -a

  3. sudo apt install -f

  4. 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 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

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.