Update issue not letting me go to 24.04

Not sure if this is the correct place for this as I am running Neon Testing

I am having issue updating the latest update dates.
Getting updates [=========================]
Finished [=========================]
Testing changes [=========================]
Finished [ ] (0%)
The following packages have to be installed:
maliit-framework-2.3.0+p22.04+vstable+git20240926.0503-0.amd64 Maliit Input Method Framework
netplan-generator-0.107.1-3ubuntu0.22.04.1.amd64 YAML network configuration abstraction systemd-generator
python3-netplan-0.107.1-3ubuntu0.22.04.1.amd64 YAML network configuration abstraction Python bindings
qml-module-qtquick-localstorage-5.15.14+p22.04+vstable+git20240820.1245-0.amd64 Qt 5 localstorage QML module
The following packages have to be updated:
bluedevil-4:6.2.0+p22.04+vstable+git20241009.0841-0.amd64 KDE Bluetooth stack
breeze-gtk-theme-6.2.0+p22.04+vstable+git20241009.0841-0.amd64 GTK theme built to match KDEā€™s Breeze
breeze5-4:6.2.0+p22.04+vstable+git20241009.0629-0.amd64 Default Plasma theme for Plasma 5.
code-1.94.2-1728494015.amd64 Code editing. Redefined.
dolphin-4:24.08.1+p22.04+vstable+git20241008.0345-0.amd64 file manager
dolphin-plugins-4:24.08.1+p22.04+vstable+git20241008.0422-0.amd64 plugins for Dolphin
firefox-131.0.2+build1-0ubuntu0.22.04.1~mt1.amd64 Safe and easy web browser from Mozilla
gwenview-4:24.08.1+p22.04+vstable+git20241008.0346-0.amd64 image viewer
kaccounts-providers-4:24.08.1+p22.04+vstable+git20241008.0359-0.amd64 KDE providers for accounts sign-on
kamera-4:24.08.1+p22.04+vstable+git20241008.0346-0.amd64 digital camera support for KDE applications
kate-4:24.08.1+p22.04+vstable+git20241008.0346-0.amd64 powerful text editor
kate6-data-4:24.08.1+p22.04+vstable+git20241008.0346-0.all shared data files for Kate text editor
kde-config-gtk-style-4:6.2.0+p22.04+vstable+git20241009.0841-0.amd64 KDE configuration module for GTK+ 2.x and GTK+ 3.x styles selection
kde-config-gtk-style-preview-4:6.2.0+p22.04+vstable+git20241009.0841-0.amd64 KDE configuration module for GTK+ 2.x and GTK+ 3.x styles selection (extras)
kde-config-plymouth-6.2.0+p22.04+vstable+git20241009.0838-0.amd64 KCM for Plymouth
kde-config-sddm-4:6.2.0+p22.04+vstable+git20241009.0838-0.amd64 KCM module for SDDM
kde-config-updates-6.2.0+p22.04+vstable+git20241009.0838-0.all Dummy transitional
kde-spectacle-24.08.1+p22.04+vstable+git20241009.0840-0.amd64 Screenshot capture utility, replaces KSnapshot
kde-style-breeze5-4:6.2.0+p22.04+vstable+git20241009.0629-0.all Widget style for Qt and KDE Software
kdeconnect-24.08.1+p22.04+vstable+git20241008.0346-0.amd64 connect smartphones to your KDE Plasma Workspace
kdeplasma-addons-4:6.2.0+p22.04+vstable+git20241008.1241-0.amd64 metapackage for all plasma and kwin addon packages
kdeplasma-addons-data-4:6.2.0+p22.04+vstable+git20241008.1241-0.all locale files for kdeplasma-addons
kf6-plasma5support-6.2.0+p22.04+vstable+git20241008.1022-0.all Dummy transitional
kinfocenter-4:6.2.0+p22.04+vstable+git20241009.0840-0.amd64 system information viewer
kio-extras-4:24.08.1+p22.04+vstable+git20241008.0347-0.amd64 Extra functionality for KF6 based kioslaves.
kio-extras5-4:24.02.2+p22.04+vstable+git20241008.0422-0.amd64 Extra functionality for kioslaves.
kio-extras5-data-4:24.02.2+p22.04+vstable+git20241008.0422-0.all Extra functionality for kioslaves data files.
krdp-6.2.0+p22.04+vstable+git20241008.0525-0.amd64 KDEā€™s RDP library
kscreen-4:6.2.0+p22.04+vstable+git20241009.0840-0.amd64 KDE monitor hotplug and screen handling
kwalletmanager-4:24.08.1+p22.04+vstable+git20241008.0347-0.amd64 secure password wallet manager
kwin-addons-4:6.2.0+p22.04+vstable+git20241008.1241-0.amd64 additional desktop and window switchers for KWin
kwin-common-4:6.2.0+p22.04+vstable+git20241010.0020-0.amd64 KDE window manager, common files
kwin-data-4:6.2.0+p22.04+vstable+git20241010.0020-0.all transitional package
kwin-wayland-4:6.2.0+p22.04+vstable+git20241010.0020-0.amd64 KDE window manager, wayland version, PREVIEW release
kwin-x11-4:6.2.0+p22.04+vstable+git20241010.0020-0.amd64 KDE window manager, X11 version
libdolphinvcs6-4:24.08.1+p22.04+vstable+git20241008.0345-0.amd64 library to show version control in Dolphin
libnetplan0-0.107.1-3ubuntu0.22.04.1.amd64 YAML network configuration abstraction runtime library
libokular6core11-4:24.08.1+p22.04+vstable+git20241008.0401-0.amd64 libraries for the Okular document viewer
libpowerdevilcore2-4:6.2.0+p22.04+vstable+git20241009.0839-0.amd64 Global power saver settings ui library.
maliit-keyboard-2.3.1+p22.04+vstable+git20241008.0529-0.amd64 virtual on-screen keyboard based on the Maliit Framework
microsoft-edge-stable-129.0.2792.89-1.amd64 The web browser from Microsoft
netplan.io-0.107.1-3ubuntu0.22.04.1.amd64 YAML network configuration abstraction for various backends
okular-4:24.08.1+p22.04+vstable+git20241008.0401-0.amd64 universal document viewer
okular-backends-4:24.08.1+p22.04+vstable+git20241008.0401-0.amd64 document format support for Okular
plasma-browser-integration-6.2.0+p22.04+vstable+git20241009.0840-0.amd64 Chromium integration for Plasma
plasma-calendar-addons-4:6.2.0+p22.04+vstable+git20241008.1241-0.amd64 additional calendar plugins for Plasma 6
plasma-dataengines-addons-4:6.2.0+p22.04+vstable+git20241008.1241-0.amd64 additional data engines for Plasma
plasma-desktop-4:6.2.0+p22.04+vstable+git20241008.0438-0.amd64 Tools and widgets for the desktop
plasma-desktop-data-4:6.2.0+p22.04+vstable+git20241008.0438-0.all dummy transitional package
plasma-discover-6.2.0+p22.04+vstable+git20241009.0838-0.amd64 Discover software management suite
plasma-discover-backend-flatpak-6.2.0+p22.04+vstable+git20241009.0838-0.amd64 Discover software management suite - Flatpak backend
plasma-discover-backend-snap-6.2.0+p22.04+vstable+git20241009.0838-0.amd64 Discover software management suite - Snap backend
plasma-discover-common-6.2.0+p22.04+vstable+git20241009.0838-0.all Discover software manager suite (common data files)
plasma-disks-6.2.0+p22.04+vstable+git20241009.0838-0.amd64 Monitor S.M.A.R.T. capable devices for imminent failure in Plasma
plasma-firewall-6.2.0+p22.04+vstable+git20241009.0837-0.amd64 Plasma configuration module for firewalls
plasma-integration5-6.2.0+p22.04+vstable+git20241009.0837-0.amd64 Qt Platform Theme integration plugins for KDE Plasma
plasma-nm-4:6.2.0+p22.04+vstable+git20241009.0840-0.amd64 Plasma 6 networkmanager library.
plasma-pa-4:6.2.0+p22.04+vstable+git20241009.0839-0.amd64 Plasma 6 Volume controller
plasma-runners-addons-4:6.2.0+p22.04+vs[=========================] tional runners for Plasma 6 and Krunner
Updating packages [=========================] em monitor for the Plasma desktop
Loading cache [=========================] additional wallpaper plugins for Plasma 6
Downloading packages [=========================] tional widgets for Plasma 6
Running [=========================] ma Workspace for KF6
Finished [=========================] y transitional
Fatal error: Error while installing package: dependency problems - leaving unconfiguredings

because of this issue I can not go to 24.04

sudo do-release-upgrade
Checking for a new Ubuntu release
fPlease install all available updates for your release before upgrading.

Pkcon hides the important stuff when it runs apt, so use apt directly to see what the full errors are:

sudo apt update
then
sudo apt full-upgrade

This will also show which packages (if any ) are being ā€˜phasedā€™ by Ubuntu.

I get this with ā€˜sudo apt updateā€™

Fetched 5,635 kB in 9s (651 kB/s)
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
73 packages can be upgraded. Run ā€˜apt list --upgradableā€™ to see them.
W: file:/var/lib/preinstalled-pool/dists/jammy/Release.gpg: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.


then

sudo apt full-upgrade
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
You might want to run ā€˜apt --fix-broken installā€™ to correct these.
The following packages have unmet dependencies:
plasma-workspace : Breaks: plasma5support (< 4:6.1.0) but 6.2.0+p22.04+vstable+git20241008.1022-0 is installed
E: Unmet dependencies. Try ā€˜apt --fix-broken installā€™ with no packages (or specify a solution).

then running

sudo apt --fix-broken install
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
Correcting dependenciesā€¦Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following packages were automatically installed and are no longer required:
libkf5bluezqt-data libkf5bluezqt6 libkf5itemmodels5 libksysguardsensorfaces1 libksysguardsensorfaces2 plasma-framework qml-module-org-kde-bluezqt qml-module-org-kde-kcoreaddons qml-module-org-kde-kio qml-module-org-kde-kitemmodels
qml-module-org-kde-ksysguard qml-module-org-kde-quickcharts qml-module-qt-labs-platform qml-module-qt-labs-qmlmodels qml-module-qtquick-controls
Use ā€˜sudo apt autoremoveā€™ to remove them.
The following additional packages will be installed:
plasma-workspace
The following packages will be upgraded:
plasma-workspace
1 upgraded, 0 newly installed, 0 to remove and 72 not upgraded.
1 not fully installed or removed.
Need to get 0 B/21.3 MB of archives.
After this operation, 48.1 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: dependency problems prevent configuration of plasma5support:
plasma-workspace (4:6.2.0+p22.04+vstable+git20241004.1425-0) breaks plasma5support (<< 4:6.1.0) and is installed.
Version of plasma5support to be configured is 6.2.0+p22.04+vstable+git20241008.1022-0.

dpkg: error processing package plasma5support (ā€“configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
plasma5support
E: Sub-process /usr/bin/dpkg returned an error code (1)

Not during the full upgrade but I had a dependency problem with plasma5support recently.
I remove it and some dependency and reinstall. It was blocking an upgrade (small one not the rebase).
It was brought by the 6.1 ā†’ 6.2 upgrade I think

In fact the problem seems that plasma-workspace and its dependancy plasma5support conflict in the upgrade process.
here what I did:

sudo apt dowload plasma-workspace
sudo dpkg --ignore-depends=plasma5support -i plasma-workspace

and then

sudo apt download plasma5support
sudo dpkg -i plasma5support

finally finish the upgrade

1 Like

Thanks everyone. Issue has been fixed. @alioth9 I tried your steps was still get errors.

I feel what fixed it was running ā€˜apt cleanā€™, but I am not 100%.

However it happened, itā€™s fixed and able to run upgrades not. In the process of do a upgrade to 24.04

@alioth9 thank you, your guidance got me over the hump, I was facing the same dependency hell loop (upgrading plasma-workspace conflicted with plasma5support, but also depended on plasma5support). One syntax correction, however, for anyone getting stuck like I was trying to do that: the --ignore-depends must precede the -i plasma-workspace<tab> (must <tab> to get the filename you just downloaded. So like this in the end:

sudo apt dowload plasma-workspace
sudo dpkg --ignore-depends=plasma5support -i plasma-workspace<tab>

Then there is no need to download and locally install plasma5support with dpkg, you can just do a pkcon update after that, it will upgrade it. If you had removed plasma5support you can just apt install plasma5support after you have plasma-workspace upgraded and then proceed with pkcon update.

@nevs55 that should answer the issue you had following the steps.

Thanks again! now upgrading then moving to noble!