this post was submitted on 26 May 2024
16 points (94.4% liked)

Linux

47224 readers
774 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
 

broken upgrade to xubuntu 24.04 from xubuntu 23.10, can access initramfs as root in recovery mode:

there is a broken package I believe is the root of this whole issue: libfreerdp2-2

if I execute

sudo apt install libfreerdp2-2

I get:

you might want to run apt --fix broken install to correct these, libfreerdp2-2 has unmet dependencies, try apt --fix broken install with no packages or suggest a solution.

After trying apt --fix broken install I get error processing package install-info (--configure), installed install-info package post installation script

Does this happen because the system is only readable?

I also executed

mount -o remount,rw /

mount --all

what do I need to do to check if these commands have worked?

top 5 comments
sorted by: hot top controversial new old
[–] lemmyreader@lemmy.ml 3 points 3 months ago (1 children)

sudo apt install libfreerdp2-2

Can you try purging the broken package ? : sudo dpkg -P libfreerdp2-2

[–] ceciline02@lemmy.ml 1 points 3 months ago (1 children)

I purged the broken package with sudo dpkg -P libfreerdp2-2 and immediately afterwards I executed sudo apt get upgrade. It unleashed a list of 96 packages to upgrade totaling 900 MB of data.

However, if I press yes on ‘do you want to continue?’ wlan seems to be off:

E: failed to fetch http… initramfs-tools-core… could not connect to 127.0.0.1, connection refused.

(I can write the whole address if you need it)

how do I enable wlan as root from initramfs?

[–] lemmyreader@lemmy.ml 2 points 3 months ago

I purged the broken package with sudo dpkg -P libfreerdp2-2 and immediately afterwards I executed sudo apt get upgrade.

Cool.

how do I enable wlan as root from initramfs?

I'd run nmtui and then use the key to navigate between the items and go for "Activate" to enable your WiFi connection. It will show no pop up or something when it successfully activates the connection. I think it will just show a * sign next to the connection item. When that is done use to navigate out of nmtui and test your connection.

[–] Successful_Try543@feddit.de 2 points 3 months ago* (last edited 3 months ago)

Error 127 is "command not found".

Here, at the end of the reply, the solution was to rename the postinst-file of the package and go on with apt update and dpkg --configure -a.

[–] boredsquirrel@slrpnk.net 1 points 3 months ago

No. Likely just a broken package.

I highly recommend doing a system snapshot before an upgrade to prevent stuff like that.

Because of that I highly recommend atomic Fedora where this is fully automated. Or at least OpenSUSE tumbleweed. Also Ubuntu will be able to do this.