[SOLVED] Broken packages after switching graphics cards and installing KDE Plasma on 22.04
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Broken packages after switching graphics cards and installing KDE Plasma on 22.04
Hi and thanks,
Ubuntu 22.04 with KDE Plasma. I installed 22 when it first came out then I had an AMD rx-580 and switched to a rtx 3060 then back to the AMD.
When I do 'apt update' I wind up with upgradeable packages that cannot be upgraded. Please see output 1.txt. Rrying to install steam and apt returns a "broken packages' message. See 2.txt. Trying to install one of the depends in the 'apt install steam' output suggested amdgpu lib packages. I typed 'apt list|grep lib.amdgpu' and got 3.txt. Then typeing 'apt list|grep focal' got 4.txt.
I'm not sure exactly what's going on nor how i did this but do you think there is any hope for this installation? Do you need more informaiton.
It's typical for NVidia GPU users to install proprietary NVidia drivers. They mess with the underlying graphics foundation, which must be restored for other graphics drivers to function correctly. Did you install NVidia's proprietary drivers? If yes, you must uninstall them according to the directions provided for their installation. Once this is done, the AMD GPU should just work, without installing any other software. However, if xserver-xorg-video-amdgpu is installed, you may find your 580 works better than with the FOSS default modesetting DIX display driver, which cannot be uninstalled. Both the amdgpu and modesetting drivers ordinarily depend on complete purging of NVidia's proprietary drivers according to their provided installation instructions, including any command line options in grub, or files in /etc/X11/xorg.con*.
Well no, I didn't install proprietary Nvidia drivers, just swapped the AMD and RTX cards, then swapped them back. The original drivers for AMD were proprietary. Your comment on xorg made me check it and when I enter '# echo $XDG_SESSION_TYPE', I just see an blank line returned. I also did 'glxinfo -B' and have attached the output.
I'm not familiar with the foibles of AMD's proprietary drivers. Most Linux users don't need them. It could be they need to be removed before standard packages will install or update correctly. Try the instructions here and/or here.
When I tried to install any and all of the uninstallable items, one did install. Then the others would. Still couln't install Ubuntu's Steam but the Debian download from Steam worked fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.