I have some problem upgrading my system from 22.04 to either 22.10 or 23.04. When I tried upgrading to 22.10 there were some errors at the time of installation but it finished the upgrade. But now the mouse and keyboard only works in the menu bar and the dock!
Let me explain in details.
When I am moving the mouse the poiner only apears when it is in the menu bar area or the dock. from the menu bar I can click on any item and it works as long as the window is created by the menu bar, so I can reboot/shutdown/sleep etc but if I open the settings where the window or program is opened in the main work area keyboard and pointer will not work.
Same with programs started from the dock. I can quit the program by right clicking the App icon and it will sut down. If I click on the show applications the window opens and from there I can open other applications but in the application no pointer and keyboard. Mainly I cannot open Terminal. The window doesn’t open like other programs.
For more than a week I am trying to find a solution from the net but not a single solution. Can any one help me? Even suggest something which I can try.
My system
Gigabyte Technology Co., Ltd. Z370N WIFI
16.0 GiB RAM
Intel® Core™ i7-8700K CPU @ 3.70GHz
Radeon RX 570 Series GPU 4GB RAM Using Radeon Driver amdgpu-install_22.20.50205-1_all.deb
Ubuntu 22.04.2 LTS
Kernel 5.15.0-71-generic
GNOME Version 42.5
Window System Waynard/x11
Everything works on this system without any problem.
can you consider doing a full install of 23.04 from scratch (erasing all os-related partitions) ? I assume you have full (and tested) backup of your data , right ? It is not bad from time to time to fully re-install the OS.
Same recommendation as @lfsimsym. Since 18.04 I have never been able to upgrade (Lubuntu) without having problems with settings and/or applications or drivers. I have gone to only perform fresh installations “from scratch” on a fresh partition.
On a side note : I use X11, Wayland doesn’t seem to be as stable as you would expect.
I mentioned both as I tried both at the time of booting but usually it wayland.
Regarding backups I normally boot from the install USB and do a partition image creation of my disk and restore it. As my Ubuntu disk is only 64GB and I find it convinient. In this case there is no way I can reinstall from backup.
My questions
My other question is, if I do a backup (I don’t know how) can I restore it on a new version of Ubuntu after clean install?
Is there a way to get a list of installed application and re install it on new vew version?
Not applications, but list of installed packages : apt list --installed
Usually not, some packages of the old version will no longer be supported, others will be newly added, many (if not most) will be in new versions. This is the reason why an upgrade (as opposed to a new installation) can cause problems.
I personally work with a desktop PC with two internal harddrives. My system is dual boot, currently with 20.04 on one hd, 22.04 on the other. The next step for me will be the transition to 24.04, as a fresh installation over the old 20.04. This way I always have a fully functional system, even during the transition from one OS version to the next.
I have at all times a complete and up-to-date backup (created with LuckyBackup, based on rsync) of my home directory with which I can restore the required data and settings step by step when changing versions.
I don’t understand this; I’ve been simply upgrading my Ubuntu system without issues. Packaged software always gets the correct dependencies. What I build myself has to be recompiled, of course. FlatPaks should be upgraded, I guess.
My statement was probably a bit misleading. What i mean: if you have a list of installed packages of system x you can’t expect to find all these packages in the newer version y as well.
Then you had more luck than me. The last time I tried (20.04 to 22.04), about 80 packages were no longer available, could not be updated, or tools from those packages were now in other packages. There were a number of error messages about this. Yes, the system was basically working, but with some hidden problems that were observed only after some time.
In contrast fresh install from scratch worked without any problems.
Usually desktop related issues come from “old” app configurations in /home.
These carry over with an OS upgrade and often cause issues, as apps and libraries are somewhat bad in managing “breaking changes” in their configs. Especially the more complex desktop stacks.
Instead of blindly reinstalling “everything”, try starting misbehaving apps from the console and lookup any printed errors. journalctl -p4 and xorg session logs can also contain issues.
This isn’t windows, most apps try to be transparent in what they are doing, just look a little closer.
As a start, login under a new user and see if the issue remains.
But you can say that you don’t want to remove them, and everything will be kept (only confliting packages are removed without option to say no).
Yesterday I double-upgraded from 22.04->22.10->23.04, and only 10-15 packages were removed (mostly conflicting libraries). I was offered to remove more than 100 extra packages at each step, I just said no, and the system is working perfectly fine.
The question is: what is the use of keeping those packages? They are outdated, won’t receive updates (incl. security). If they are libraries, they are no longer used by software supplied by the distro – but then what uses them? Applications that are packaged as FlatPaks and AppImages come bundled with their dependencies, don’t they? And an application built locally can be rebuilt using the newer versions of libraries.
libraries that were auto-installed and are still in use, but apt for some reason thinks that the original package is not installed anymore (there is a bug somewhere there), or auto-installed apps that I use independently of if the parent dependency was removed
apps that moved from main to universe (apparently that counts as “not supported anymore by Canonical”)
some packages not installed from the repos
The problem is that during upgrade you can’t select which packages to keep and which to remove, it’s all or nothing. So I just tell the upgrade to keep all, and I can check afterwards which I want to really remove.
To be fair, I was bitten by those examples several updates ago. This last time I didn’t actually check the packages proposed for removal, so it may have been fixed.
I clean installed 23.04 on my 22.04 partition! Installing necessary things first and encountered the first big hurdle, I have AMD RX 570 and the proprietary drivers are for 22.04. So no opencl!
How to enable it in 23.04? Please help.
I don’t use amd for years but i remember using proprietary opencl part of the package with the open source graphics driver. Probably should be installed with headless, legacy option for such setup.