I have decided to update my main machine to Kubuntu 25.10 from 24.10 as I got a notification that 24.10 will stop receiving updates soon. But the process was not smooth, so I decided to collect some receipts here, as I feel that I will face the same during the next upgrade
After I execute do-release-upgrade I faced next issue
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Unpacking coreutils-from-uutils (0.0.0~ubuntu24) ... Replacing files in old package coreutils (9.5-1ubuntu1.25.04.2) ... dpkg: error processing archive /var/cache/apt/archives/coreutils-from-uutils_0.0.0~ubuntu24_all.deb (--unpack): trying to overwrite '/usr/bin/sha3sum', which is also in package libdigest-sha3-perl (1.05-1build5) Errors were encountered while processing: /var/cache/apt/archives/coreutils-from-uutils_0.0.0~ubuntu24_all.deb Error: Sub-process /usr/bin/dpkg returned an error code (1) |
After some manipulations I was able to fix this by removing the package and force reinstall
|
1 2 3 4 5 6 7 |
$ sudo dpkg -i --force-overwrite --force-breaks --ignore-depends=coreutils,libdigest-sha3-perl /var/cache/apt/archives/coreutils-from-uutils_0.0.0~ubuntu24_all.deb $ sudo apt --fix-broken install $ sudo apt dist-upgrade |
Then I faced few similiar errors but with the same approach I was able to upgrade the system. And then I rebooted..
After the reboot I found a black screen and my monitors went to stand by mode. Gemini said that I need to re-install nvidia drivers or use built-in nouveau.
I was able to switch to terminal from this black screen by using shortcut Ctrl+Alt+F4, but I found that I don’t have internet as my WiFi wasn’t enabled.
I have enabled it by using next
|
1 2 3 4 5 6 7 8 9 10 11 12 |
# make sure that your wifi is here $ sudo nmcli device # find the available network SSIDs $ sudo nmcli device wifi list # connect to the network $ sudo nmcli device wifi connect "MyHomeWiFi" --ask $ ping 8.8.8.8 |
I tried to use nouveau drivers but this didn’t help, anyway here is the steps
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
$ sudo apt purge nvidia-* $ sudo apt autoremove $ sudo nano /etc/modprobe.d/blacklist-nvidia blacklist nvidia blacklist nvidia-drm blacklist nvidia-modeset $ sudo update-initramfs -u $ reboot # to check that your system using nouveau drivers $ lspci -knn | grep -i vga -A3 # you will see: Kernel driver in use: nouveau |
Then I chatted with Gemini and decided to back to Nvidia drivers installation
I have reinstalled them as follow
|
1 2 3 4 5 6 7 8 9 10 11 |
# remove current driver $ sudo apt purge nvidia-* # find the latest available $ sudo apt # install it + headers $ sudo apt-install --reinstall nvidia-driver-580-open linux-headers-$(uname -a) |
I checked the errors like that
|
1 2 3 |
$ sudo journalctl -xeu sddm -n50 |
and found next error
- Unable to find autologin session entry plasmax11
I though it was the reason of the problem so I tried to resolve it by commenting autologin options in
|
1 2 3 4 5 6 7 8 |
$ sudo nano /etc/sddm.conf ... # [Autologin] # Relogin=false # Session=plasmax11 # User=user-name |
Then I tried to restart sddm, but this didn’t help
|
1 2 3 |
$ sudo systemctl restart sddm.service |
Then I start debugging with Gemini, I found some errors in the Xorg log
|
1 2 3 |
$ cat /var/log/Xorg.0.log | grep -i "EE\|WW" |
The errors looked liked
- (EE) No Layout section. Using the first Screen section
- (EE) Screen 0 deleted because of no matching config section
- (EE) A screen section was not found
Gemini said that the problem probably with the xorg.conf, I checked it and found that it doesn’t exists
|
1 2 3 |
$ ls /etc/X11/xorg.conf |
so I re-created it via nvidia utility
|
1 2 3 |
$ sudo nvidia-config |
Nvidia created the next file
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 580.95.05 Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection Section "Files" EndSection Section "InputDevice" # generated from default Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Unknown" Option "DPMS" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 EndSubSection EndSection |
And after the reboot I saw the login screen.
Then I found that some of the applications based on chrome could not start.
|
1 2 3 4 5 6 7 8 9 10 11 12 |
$ google-chrome --disable-gpu [25133:25133:1124/173051.102711:ERROR:content/browser/gpu/gpu_process_host.cc:999] GPU process exited unexpectedly: exit_code=139 ... [25133:25133:1124/173053.402366:FATAL:content/browser/gpu/gpu_data_manager_impl_private.cc:415] GPU process isn't usable. Goodbye. ... [1124/173053.441150:ERROR:third_party/crashpad/crashpad/util/process/process_memory_range.cc:75] read out of range ... [1124/173053.456504:ERROR:third_party/crashpad/crashpad/util/process/process_memory_range.cc:75] read out of range Trace/breakpoint trap (core dumped) |
Some strange behavior also appeared, for example the “Spare Layouts” functionality didn’t work.
After some investigation I found that I was booted to buggy “Wailand” instead of “X11”.
Current manager can be checked like the next
|
1 2 3 4 |
$ echo $XDG_SESSION_TYPE wayland |
To change to X11 you need to install next package
|
1 2 3 |
$ sudo apt install plasma-session-x11 |
And after installation you need to log out from the current session and choose the “Plasma (X11)” instead of “Wayland”.
And that’s all)) Don’t start an upgrade if you don’t have couple of hours for the configuration issues debugging ))