Upgrade from Ubuntu 22.04 to 24.04 interrupted

Ubuntu Version:

24.04

Desktop Environment (if applicable):

Gnome

Problem Description:

I tried to upgrade my laptop Dell XPS13 fron 22.04 to 24.04 but, after a long time and a few warnings (one regarding Thunderbird) the process was interrupted. Now I can get the laptop working only choosing Ubuntu on Wayland at login, Ubuntu on Gnome does not work (I get a white screen with "Something went wrong"). But in this situation I have not Libre Office nor Thunderbird...

Relevant System Information:

Dell XPS13 originally with Ubuntu 18.04 then upgraded to 22.04, always on Gnome

Screenshots or Error Messages:

What I’ve Tried:


Welcome to Ubuntu Discourse :slight_smile:

Here are some steps we can try to troubleshoot this:

  1. open a terminal and show us the output of inxi -r
  • if inxi is not installed, then sudo apt install inxi first
  1. again in the terminal run these commands separately and post the output if there are errors reported
sudo apt upgrade
sudo apt full-upgrade

When posting back the output, please highlight the text and then press Ctrl+E on the keyboard to add code tags.
It is much easier to interpret the output for analysis.

Thanks.

inxi -r
Repos:
  Active apt repos in: /etc/apt/sources.list
    1: deb http://archive.ubuntu.com/ubuntu/ noble main restricted
    2: deb http://archive.ubuntu.com/ubuntu/ noble-updates main restricted
    3: deb http://archive.ubuntu.com/ubuntu/ noble universe
    4: deb http://archive.ubuntu.com/ubuntu/ noble-updates universe
    5: deb http://archive.ubuntu.com/ubuntu/ noble multiverse
    6: deb http://archive.ubuntu.com/ubuntu/ noble-updates multiverse
    7: deb http://archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse
    8: deb http://security.ubuntu.com/ubuntu noble-security main restricted
    9: deb http://security.ubuntu.com/ubuntu noble-security universe
    10: deb http://security.ubuntu.com/ubuntu noble-security multiverse
    11: deb http://archive.ubuntu.com/ubuntu noble main restricted
    12: deb http://archive.ubuntu.com/ubuntu noble-updates main restricted
    13: deb http://security.ubuntu.com/ubuntu noble-security main restricted
  No active apt repos in: /etc/apt/sources.list.d/audio-recorder-ubuntu-ppa-bionic.list
  No active apt repos in: /etc/apt/sources.list.d/bionic-dell-beaver-italia.list
  No active apt repos in: /etc/apt/sources.list.d/bionic-dell-service.list
  No active apt repos in: /etc/apt/sources.list.d/bionic-dell.list
  No active apt repos in: /etc/apt/sources.list.d/bionic-oem.list
  No active apt repos in: /etc/apt/sources.list.d/gencfsm-ubuntu-ppa-bionic.list
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  No active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list
  No active apt repos in: /etc/apt/sources.list.d/libreoffice-ubuntu-libreoffice-still-bionic.list
  No active apt repos in: /etc/apt/sources.list.d/libreoffice-ubuntu-ppa-bionic.list
  No active apt repos in: /etc/apt/sources.list.d/obsproject-ubuntu-obs-studio-bionic.list
  No active apt repos in: /etc/apt/sources.list.d/stefansundin-ubuntu-truecrypt-bionic.list
  No active apt repos in: /etc/apt/sources.list.d/webupd8team-ubuntu-nemo-bionic.list
  Active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.sources
    1: deb https://repo.protonvpn.com/debian stable main
  Active apt repos in: /etc/apt/sources.list.d/ubuntu-esm-apps.sources
    1: deb https://esm.ubuntu.com/apps/ubuntu noble-apps-updates noble-apps-security main
  Active apt repos in: /etc/apt/sources.list.d/ubuntu-esm-infra.sources
    1: deb https://esm.ubuntu.com/infra/ubuntu noble-infra-security noble-infra-updates main

sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

sudo apt full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Since you mention that the upgrade process may have been interrupted, let’s first try reconfiguring any broken or held packages and then updating again:

sudo dpkg --configure -a
sudo apt install -f
sudo apt update
sudo apt full-upgrade

Run each command separately and report back here if any of them show errors.

can you cat the sources conf file?:-
$ cat /etc/apt/sources.list

[quote="jipangmenjerit, post:6, topic:63787"]
cat /etc/apt/sources.list
[/quote]

 cat /etc/apt/sources.list

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ noble main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ noble-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ noble universe
# deb-src http://archive.ubuntu.com/ubuntu/ bionic universe
deb http://archive.ubuntu.com/ubuntu/ noble-updates universe
# deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ noble multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://archive.ubuntu.com/ubuntu/ noble-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse


deb http://security.ubuntu.com/ubuntu noble-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu noble-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu noble-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse


# deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main
# deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./
# deb-src https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main
# deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian focal contrib # disabled on upgrade to focal
# deb-src [arch=amd64] http://download.virtualbox.org/virtualbox/debian bionic contrib
deb http://archive.ubuntu.com/ubuntu noble main restricted
# deb-src http://archive.ubuntu.com/ubuntu bionic main restricted
deb http://archive.ubuntu.com/ubuntu noble-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu bionic-updates main restricted
deb http://security.ubuntu.com/ubuntu noble-security main restricted
# deb-src http://archive.ubuntu.com/ubuntu bionic-security main restricted

seems your repo config has nothing alarming, and should continue proceed where it’s left.

have you try to use dist-upgrade command?

$ sudo apt dist-upgrade

[quote="jipangmenjerit, post:8, topic:63787"]
sudo apt dist-upgrade
[/quote]
sudo apt dist-upgrade
[sudo] password for gingus: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

it seems the system has upgrade but partial application hasn’t complete the installation. my guess probably the snap component were not complete as you mentioned your thunderbird still missing.

try to reinstall your desktop packages back with this command (maybe not solve it directly, but no harm to try:-
$ sudo apt install --reinstall ubuntu-desktop

also check if there’s snap updates:-
$ sudo snap refresh

keep us update and good luck!

sudo apt install --reinstall ubuntu-desktop
[sudo] password for gingus:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/2,476 B of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database … 282086 files and directories currently installed.)
Preparing to unpack …/ubuntu-desktop_1.539.2_amd64.deb …
Unpacking ubuntu-desktop (1.539.2) over (1.539.2) …
Setting up ubuntu-desktop (1.539.2) …
libdvd-pkg: Checking orig.tar integrity…
/usr/src/libdvd-pkg/libdvdcss_1.4.3.orig.tar.bz2: OK
libdvd-pkg: apt-get check failed, you may have broken packages. Aborting…

sudo snap refresh
thunderbird 128.12.0esr-1 from Canonicalâś“ refreshed
opera 120.0.5543.38 from Opera (opera-softwareâś“) refreshed
chromium-ffmpeg 120726-120170-119605-119293-etc from Canonicalâś“ refreshed
chromium 138.0.7204.49 from Canonicalâś“ refreshed


Still missing Libre Office...

libre office is part of apt, so you may install (or reinstall) from there.

so, there you go - a silver lining. you may look forward from this error and fix the package and perform reinstall the desktop package. try to run dpkg-reconfigure on that package and see if it fix it:-
$ sudo dpkg-reconfigure libdvd-pkg

It seems you haven’t run one of @rubi1200 suggestions:

sudo apt install -f

This should help in fixing broken packages and continue your installation.

1 Like

sudo dpkg-reconfigure libdvd-pkg
[sudo] password for gingus:
libdvd-pkg: Checking orig.tar integrity…
/usr/src/libdvd-pkg/libdvdcss_1.4.3.orig.tar.bz2: OK
libdvd-pkg: Unpacking and configuring…
libdvd-pkg: Building the package… (it may take a while)
libdvd-pkg: Build log will be saved to /usr/src/libdvd-pkg/libdvdcss2_1.4.3-1~local_amd64.build
Current: =ep
Bounding set =cap_chown,cap_dac_override,cap_fowner,cap_wake_alarm,cap_block_suspend,cap_audit_read,cap_perfmon,cap_bpf,cap_checkpoint_restore
Ambient set =
Current IAB: !cap_dac_read_search,!cap_fsetid,!cap_kill,!cap_setgid,!cap_setuid,!cap_setpcap,!cap_linux_immutable,!cap_net_bind_service,!cap_net_broadcast,!cap_net_admin,!cap_net_raw,!cap_ipc_lock,!cap_ipc_owner,!cap_sys_module,!cap_sys_rawio,!cap_sys_chroot,!cap_sys_ptrace,!cap_sys_pacct,!cap_sys_admin,!cap_sys_boot,!cap_sys_nice,!cap_sys_resource,!cap_sys_time,!cap_sys_tty_config,!cap_mknod,!cap_lease,!cap_audit_write,!cap_audit_control,!cap_setfcap,!cap_mac_override,!cap_mac_admin,!cap_syslog
Securebits: 024/0x14/5’b10100 (no-new-privs=0)
secure-noroot: no (unlocked)
secure-no-suid-fixup: yes (unlocked)
secure-keep-caps: yes (unlocked)
secure-no-ambient-raise: no (unlocked)
uid=0(root) euid=0(root)
gid=0(root)
groups=0(root)
Guessed mode: UNCERTAIN (0)
libdvd-pkg: Installing…
(Reading database … 282086 files and directories currently installed.)
Preparing to unpack …/libdvdcss-dev_1.4.3-1~local_amd64.deb …
Unpacking libdvdcss-dev:amd64 (1.4.3-1~local) over (1.4.2-1~local) …
Preparing to unpack …/libdvdcss2_1.4.3-1~local_amd64.deb …
Unpacking libdvdcss2:amd64 (1.4.3-1~local) over (1.4.2-1~local) …
Setting up libdvdcss2:amd64 (1.4.3-1~local) …
Setting up libdvdcss-dev:amd64 (1.4.3-1~local) …
Processing triggers for libc-bin (2.39-0ubuntu8.4) …

Thank you for help!

1 Like

sudo apt install -f
I did and got no error :
$ sudo apt install -f
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Then this suggestion can be repeated to see if it doesn’t produce any errors and if it installs libreoffice as a dependency:

sudo apt install --reinstall ubuntu-desktop

A post was split to a new topic: Cannot access repository from Poland

[quote="wgarcia (https://discourse.ubuntu.com/u/wgarcia)

[5h](https://discourse.ubuntu.com/t/upgrade-from-ubuntu-22-04-to-24-04-interrupted/63787/16?u=amgdega)

Then this suggestion can be repeated to see if it doesn’t produce any errors and if it installs libreoffice as a dependency:

`sudo apt install --reinstall ubuntu-desktop`
[quote/]

sudo apt install --reinstall ubuntu-desktop
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/2,476 B of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database … 282086 files and directories currently installed.)
Preparing to unpack …/ubuntu-desktop_1.539.2_amd64.deb …
Unpacking ubuntu-desktop (1.539.2) over (1.539.2) …
Setting up ubuntu-desktop (1.539.2) …

Still nothing new: no Libre Office and no Gnome …

To try and summarize here, what issues remain unresolved?

  1. LibreOffice is not installed
  2. You are unable to switch to and use X11 (Xorg on Ubuntu)

Please confirm these are the only issues so we can try and resolve them.