upgrading xubuntu 23.10 to 24.04.

I purged a broken package that was blocking upgrades 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 is off wlan is on, nmtui clearly shows it activated, but each time I try upgrading, updating, autoremoving, or install --fix-missing I get:

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)

Some other contributors suggest I use a live usb, not installing the OS but using the live usb with working wlan to complete the installation, but this seems to be more complicated than working directly from initramfs.

  • lurch@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    1 month ago

    i think you have to start the service that configures your network. maybe you have to load the kernel module for the wifi adapter before that, idk.

    however, it’s weird you have to do this from initramfs . why doesn’t it boot further?

    also, shouldn’t there be the old kernel and old initramfs from before the upgrade still available in your boot manager to choose somehow after the BIOS is done?

    • ceciline02@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 month ago

      Small breakthrough: I booted the system without problems to tty1 (I believe this is called single user mode), logged in as an old user and now I can see all my data, logged in as old me. Do you still recommend to backup from live usb and upgrade from there?

      NMTUI shows that wlan works

      • lurch@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 month ago

        me? i didn’t recommend that. if you have your wifi, you could update now. however, if you don’t have a backup yet, you should 100% make one. i always make fresh backups before a dist upgrade. (everyone hates the way I’m doing it, but it works really well. i just tar every important fs with --one-file-system on a 1TB USB stick. if they don’t break at writing, they will be able to store the data much longer than i would need.) meaning, in your situation I would already have one and it sounds like you forgot that step, but idk.