this post was submitted on 27 May 2024
11 points (78.9% liked)

Linux

45457 readers
1409 users here now

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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 month ago* (last edited 1 month ago)

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

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago) (1 children)

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

[–] [email protected] 2 points 1 month ago (2 children)

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?

[–] [email protected] 1 points 1 month ago

If you disable packages from upgrade they will be outdated...

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (1 children)

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.

[–] [email protected] 1 points 1 month ago (1 children)

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

[–] [email protected] 1 points 1 month ago (1 children)
[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (1 children)

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

[–] [email protected] 1 points 1 month ago

hmm...... I would skip dpkg command in this case.