LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-05-2022, 01:53 PM   #1
abejarano
Member
 
Registered: May 2006
Distribution: Kubuntu
Posts: 96

Rep: Reputation: 15
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.
Attached Files
File Type: txt 1.txt (1.2 KB, 5 views)
File Type: txt 2.txt (1.0 KB, 7 views)
File Type: txt 3.txt (255 Bytes, 3 views)
File Type: txt 4.txt (6.7 KB, 3 views)
 
Old 10-05-2022, 07:26 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,859
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
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*.
 
1 members found this post helpful.
Old 10-06-2022, 11:00 AM   #3
abejarano
Member
 
Registered: May 2006
Distribution: Kubuntu
Posts: 96

Original Poster
Rep: Reputation: 15
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.

root@jaja-uon:/home/ja#

'
Attached Files
File Type: txt 10.txt (1.8 KB, 5 views)
 
Old 10-06-2022, 12:03 PM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,859
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
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.
 
Old 10-07-2022, 10:12 AM   #5
abejarano
Member
 
Registered: May 2006
Distribution: Kubuntu
Posts: 96

Original Poster
Rep: Reputation: 15
Fixed it.

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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: KDE Plasma 5.24 Will Be the Next LTS Release Receiving Support Until KDE Plasma 6 LXer Syndicated Linux News 0 01-28-2022 08:33 AM
LXer: Solus Readies KDE Plasma Edition Testing ISO with Latest KDE Plasma 5.14 Desktop LXer Syndicated Linux News 0 10-25-2018 03:03 PM
LXer: KDE Plasma 5.13 Desktop Reaches End of Life, KDE Plasma 5.14 Arrives October 9 LXer Syndicated Linux News 0 09-15-2018 10:30 PM
Supported Graphics cards and lan cards for rhel 6 priyankgupta1984 Linux - Desktop 3 11-15-2011 09:59 AM
Switching Graphics Cards frkstein Linux - Hardware 1 05-16-2002 09:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration