After an update yesterday, the screen shows "Oh no! Something has gone wrong." I tried many solutions, but none worked for me.
When I run apt upgrade
, it returns a list of unmet dependencies and says:
ariel@ariel-pc: $ sudo apt upgradeReading package lists... DoneBuilding dependency tree... Done Reading state information... Done You might want to run 'apt -fix-broken install' to correct these.The following packages have unnet dependencies:gir1.2-gtk-4.0 Depends: libgtk-4-1 (>= 4.6.0) but it is not installedg.js Depends: libg.js0g (= 1.72.4-0ubuntu0.22.04.4) but it is not installedgnome-settings-daemon: Depends: gnome-settings-daemon-common (= 42.1-1ubuntu2.2) but 46.0-1ubuntul is installed gnone-shell: Depends: gir1.2-gnomebg-4.0 but it is not installedDepends: gir1.2-gnomebluetooth-3.0 (>= 42.3) but 42.0-5 is installed Depends: gir1.2-gnonedesktop-4.0 (>= 40) but it is not installedDepends: gir1.2-gweather-4.0 (>= 4.1) but it is not installedDepends: gir1.2-mutter-14 (>= 46.0) but it is not installedDepends: gir1.2-nna4-1.0 but it is not installedDepends: gir1.2-soup-3.0 but it is not installedDepends: gir1.2-webkit-6.0 but it is not installedDepends: gnone-shell-common (= 46.0-0ubuntu6 24.04.5) but it is not installedDepends: libatk-bridge2.0-0t64 (>= 2.5.3) but it is not installedDepends: libatk1.0-0164 (>= 1.12.4) but it is not installedDepends: libecal-2.0-3 (>= 3.45) but it is not installedDepends: libedataserver-1.2-27t64 (>= 3.45) but it is not installed Depends: libg.js0g (>= 1.73.1) but it is not installedDepends: libglib2.0-0164 (>= 2.79.0) but it is not installedDepends: libgnone-desktop-4-2t64 (>= 40) but it is not installedDepends: libgtk-4-1 (>= 4.12.0) but it is not installedDepends: libical3t64 (>= 3.0.0) but it is not installedDepends: libnutter-14-0 (>= 46.0) but it is not installedDepends: libpipewire-0.3-0t64 (>= 0.3.10) but it is not installedReconnends: evolution-data-server (>= 3.45) but 3.44.4-0ubuntu1.1 is installedReconnends: gnone-control-center (>= 1:42) but 1:41.7-0ubuntu0.22.04.9 is installed gnone-shell-extension-desktop-icons-ng: Depends: gir1.2-gnomeautoar-0.1 but it is not installedgnone-shell-extension-ubuntu-dock: Depends: gnone-shell (<43) but 46.0-0ubuntu6 24.04.5 is installedibus-gtk4: Depends: libgtk-4-1 (>= 4.3.1) but it is not installedlibaduaita-1-0 Depends: libgtk-4-1 (>= 4.5.0) but it is not installedlibatk-urapper-java-jni: Depends: libatk-bridge2.0-0164 (>= 2.18.1-2) but it is not installedDepends: libatk1.0-0164 (>= 2.38") but it is not installedDepends: libglib2.0-0 (>= 2.79.0)libgck-2-2: Depends: libglib2.0-0164 (>= 2.79.0) but it is not installedlibger-4-4: Depends: libglib2.0-0164 (>= 2.79.0) but it is not installedlibgmp10: Breaks: libgnp10:1386 (1= 2:6.2.1+dfsg-3ubuntu1) but 2:6.3.0+dfsg-Zubuntuó is installedlibgmp10:1386: Breaks: libgmp10 (1= 2:6.3.0+dfsg-Zubuntu6) but 2:6.2.1+dfsg-Jubuntul is installedlibgnome-bg-4-1: Depends: libgtk-4-1 (>= 4.4.0) but it is not installedlibgtk-4-bin Depends: libgtk-4-1 (>= 4.6.9-ds-0ubuntu0.22.04.2) but it is not installedopenssl Depends: libss13t64 (>= 3.0.9) but it is not installedthunderbird-locale-en: Depends: thunderbird (>= 2:1snap1-0ubuntu3) but 1:115.16.0+build2-0ubuntu0.22.04.1 is installed thunderbird-locale-es: Depends: thunderbird (>= 2:1snap1-0ubuntu3) but 1:115.16.0 build2-0ubuntu0.22.04.1 is installedxdg-desktop-portal-gnome: Depends: libgtk-4-1 (>= 4.6.0) but it is not installedE: Unnet dependencies. Try 'apt -fix-broken install' with no packages (or specify a solution).
So, I tried that, but it again returns the list of dependencies and now says:
ariel@ariel-pc: $ sudo apt -fix-broken installReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneCorrecting dependencies... failed.The following packages have unmet dependencies:gir1.2-gtk-4.0 Depends: libgtk-4-1 omega = 4.6 * 0 ) but it is not installedg.js: Depends: libg.js0g (= 1.72.4-0ubuntu0.22.04.4) but it is not installedgnome-settings-daemon: Depends: gnome-settings-daemon-common (= 42.1-1ubuntu2.2) but 46.0-1ubuntul is installedgnome-shell: Depends: gir1.2-gnomebg-4.0 but it is not installedDepends: gir1.2-gnomebluetooth-3.0 (>= 42.3) but 42.0-5 is installed Depends: gir1.2-gnomedesktop-4.0 (>= 40) but it is not installedDepends: gir1.2-gueather-4.0 (>= 4.1) but it is not installedDepends: gir1.2-mutter-14 (>= 46.0) but it is not installedDepends: gir1.2-nma4-1.0 but it is not installedDepends: gir1.2-soup-3.0 but it is not installedDepends: gir1.2-webkit-6.0 but it is not installedDepends: gnone-shell-connon (= 46.0-0ubuntu6 24.04.5) but it is not installedDepends: libatk-bridge2.0-0t64 (>= 2.5.3) but it is not installedDepends: libatk1.0-0164 O = 1.12 * 0.4 ) but it is not installedDepends: libecal-2.0-3 O = 3.45 ) but it is not installedDepends: libedataserver1.2-27t64 (>= 3.45) but it is not installedDepends: libg.js0g C >= 1.73 * 0.1 ) but it is not installedDepends: libglib2.0-0t64 (>= 2.79.0) but it is not installedDepends: libgnone-desktop-4-2t64 (>= 40) but it is not installedDepends: libgtk-4-1 (>= 4.12.0) but it is not installedDepends: libical3t64 (>= 3.0.0) but it is not installedDepends: libmutter-14-0 C >= 46 ) but it is not installedDepends: libpipewire-0.3-0t64 c >= 0.3 * 0.1 ) but it is not installedReconnends: evolution-data-server C >= 3.45 ) but 3.44.4-0ubuntu1.1 is installedRecommends: gnome-control-center (but 1:41.7-0ubuntu0.22.04.9 is installedgnone-shell-extension-desktop-icons-ng: Depends: gir1.2-gnoneautoar-0.1 but it is not installedgnone-shell-extension-ubuntu-dock: Depends: gnome-shell (<43) but 46.0-0ubuntu6 24.04.5 is installedibus-gtk4: Depends: libgtk-4-1 (>= 4.3.1) but it is not installedlibaduaita-1-0 Depends: libgtk-4-1 (>= 4.5.0) but it is not installedlibatk-wrapper-java-jni: Depends: libatk-bridge2.0-0164 (>= 2.18.1-2") but it is not installedDepends: libatk1.0-0164 (>= 2.38") but it is not installedDepends: libglib2.0-0 (>= 2.79.0)libgck-2-2: Depends: libglib2.0-0t64 (>= 2.79.0) but it is not installedlibgcr-4-4: Depends: libglib2.0-0164 (>= 2.79.0) but it is not installedlibgmp10: Breaks: libgmp10:1386 (12:6.2.1+dfsg-3ubuntu1) but 2:6.3.0-dfsg-Zubuntub is installedlibgmp10:1386: Breaks: libgmp16 (1= 2:6.3.0-dfsg-Zubuntu6) but 2:6.2.1+dfsg-3ubuntul is installedlibgnane-bg-4-1: Depends: libgtk-4-1 c >= 4.4 * 0 ) but it is not installedlibgtk-4-bin Depends: libgtk-4-1 (>= 0ubuntu0.22.04.2) but it is not installedopenssl Depends: libss13t64 C > 3 * 0.9 ) but it is not installedthunderbird-locale-en: Dependsthunderbird C > 2 :1snap1-0ubuntu3) but 1:115.16.0 build2-0ubuntu0.22.04.1 is installedthunderbird-locale-es: Depends: thunderbird C >= 2 :1snap1-0ubuntu3) but 1:115.16.0 build2-0ubuntu0.22.04.1 is installedxdg-desktop-portal-gnone: Depends: libgtk-4-1 o = 1 * 0 ) but it is not installedE: Error, pkgProblemResolver:: Resolue generated nay be caused by held packages.E: Unable to correct dependencies
I found many forums suggesting different solutions, such as renaming sources.list.distUpgrade
back to sources.list
, but now Ubuntu cannot find where to download the dependencies from.
I tried following this solution [https://www.youtube.com/watch?v=vfpszgs6-kE&t], but I get stuck on apt --fix-broken install again.
apt update
output
ariel@ariel-pc:~$ sudo apt updateHit:1 http://security.ubuntu.com/ubuntu noble-security InReleaseHit:2 http://ar.archive.ubuntu.com/ubuntu noble InReleaseGet:3 http://ar.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]Hit:4 http://ar.archive.ubuntu.com/ubuntu noble-backports InReleaseFetched 126 kB in 2s (54,4 kB/s)Reading package lists... DoneBuilding dependency tree... DoneReading state information... Done1720 packages can be upgraded. Run 'apt list --upgradable' to see them.