I accidentally broke my KDE by installing pyqt5 i don’t know if that’s the reason but i think it is while the kde is based on qt5 and i’ve just reinstalled the pyqt5 …
well i’m wondering how to bring it back or reinstall my kde again ?
login to a different desktop environment (I think IceWM is included on all opensuse installs) or do a console logon
and tell us your repos
zypper lr -d
you probobly have mixed Qt packages
i also installed the pyqt4 before that i remember …
here’s the output :
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
---+-------------------------------------+------------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------------+--------
1 | download.nvidia.com-leap | nVidia Graphics Drivers | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.nvidia.com/opensuse/leap/42.1 |
2 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/ |
3 | ftp.gwdg.de-suse | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Leap_42.1/ |
4 | google-chrome | google-chrome | Yes | (r ) Yes | Yes | 99 | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
5 | http-download.opensuse.org-1ac5a15e | home:polyconvex | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/polyconvex/openSUSE_Leap_42.2/ |
6 | http-download.opensuse.org-22c5742f | openSUSE:Leap:42.2 | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Leap:/42.2/standard/ |
7 | http-download.opensuse.org-b9bbe8c5 | home:jgeboski | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/jgeboski/openSUSE_Leap_42.1/ |
8 | http-opensuse-guide.org-bdd5e7dd | libdvdcss repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.1/ |
9 | openSUSE-42.1-0 | openSUSE-42.1-0 | No | ---- | Yes | 99 | yast2 | hd:///?device=/dev/disk/by-id/scsi-1KingstonDataTraveler_2.0-part2 |
10 | packman | packman | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.1/ |
11 | repo-debug | openSUSE-Leap-42.1-Debug | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/ |
12 | repo-debug-non-oss | openSUSE-Leap-42.1-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/42.1/repo/non-oss/ |
13 | repo-debug-update | openSUSE-Leap-42.1-Update-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.1/oss |
14 | repo-debug-update-non-oss | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.1/non-oss/ |
15 | repo-non-oss | openSUSE-Leap-42.1-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/ |
16 | repo-oss | openSUSE-Leap-42.1-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.1/repo/oss/ |
17 | repo-source | openSUSE-Leap-42.1-Source | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/ |
18 | repo-update | openSUSE-Leap-42.1-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/ |
19 | repo-update-non-oss | openSUSE-Leap-42.1-Update-Non-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/ |
20 | virtualbox | VirtualBox for openSUSE 13.2 / Leap 42.1 | Yes | ( p) Yes | Yes | 120 | rpm-md | http://download.virtualbox.org/virtualbox/rpm/opensuse/13.2
Well, to start with, you have repos for 42.1, 42.2, & 13.1 in there. You should not mix versions.
Plus, you have a lot of unnecessary repos enabled.
For now, disable:
- 4 | google-chrome
- 5 | http-download.opensuse.org-1ac5a15e (this is 42.2!)
- 6 | http-download.opensuse.org-22c5742f (this is 42.2!)
- 7 | http-download.opensuse.org-b9bbe8c5
- 8 | http-opensuse-guide.org-bdd5e7dd
- 3 | ftp.gwdg.de-suse (?? why 2 packman??)
- 10 | packman (?? why 2 packman??)
- 11 | repo-debug
- 20 | virtualbox (this is 13.1 !)
Run these from a command line as root:
zypper clean --all
zypper ref
zypper up
Come back for next steps.
i did zypper rr to the repos u mentioned but i think i made some mistakes and removed another repos
, my repos now are :
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
--+-------------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+------------------------------------------------------------------------------+--------
1 | download.nvidia.com-leap | nVidia Graphics Drivers | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.nvidia.com/opensuse/leap/42.1 |
2 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/ |
3 | http-download.opensuse.org-b9bbe8c5 | home:jgeboski | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/jgeboski/openSUSE_Leap_42.1/ |
4 | openSUSE-42.1-0 | openSUSE-42.1-0 | No | ---- | Yes | 99 | yast2 | hd:///?device=/dev/disk/by-id/scsi-1KingstonDataTraveler_2.0-part2 |
5 | repo-debug-update | openSUSE-Leap-42.1-Update-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.1/oss |
6 | repo-debug-update-non-oss | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.1/non-oss/ |
7 | repo-non-oss | openSUSE-Leap-42.1-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/ |
8 | repo-source | openSUSE-Leap-42.1-Source | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/ |
9 | repo-update-non-oss | openSUSE-Leap-42.1-Update-Non-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/
and i’m trying to do zypper ref but it gave me some errors like :
Repository ‘nVidia Graphics Drivers’ is invalid.
and
Repository ‘Main Repository (NON-OSS)’ is invalid.
Okay, first, go into Yast->Software Repositories.
In there, you can click checkboxes to disable repositories without removing them.
For now, I would do that with the http-download.opensuse.org-b9bbe8c5 (number 3 in your new list), and leave it disabled until the problem is solved. You can enable it later, if you really need it. That is not an official openSUSE repository, but a user-supplied one. Best not to have things like that enabled when fixing your system.
Now, disable the nVidia & NON-OSS repositories (and any others) giving you the errors, and uncheck the autorefresh for them.
On the bottom left corner of the Software Repositories page, click on Add, then check Community Repositories and click Next. Carefully choose the main repositories from the list that shows up.
This should make sure you have the correct Repositories enabled.
Finish up, then try the commands again.
Please note, though, that the exact output that gave you those errors would be valuable to see and you should actually have posted the output. It may be a conflict between the installed software and the correct repositories. So, if you get more errors, please copy and paste the output into your replies so we can actually decipher what is going on.
All such output can be quite critical to analyzing the problem.
Actually, on further thought, I suggest that you should disable all of the repos except the 4 standard repos – oss, non-oss, update, update-non-oss – then remove all the packman repos from your list, as well as the nVidia repo.
Then, go in and add the packman repository and the nVidia repo from that Community Repositories list.
However, for now, set the nVidia repo to disabled.
Next, go into Yast->Software Management.
In there, go across the tabs to Repositories.
Choose the packman repository in the left pane.
Now, just above the window with the list of applications, you will see Switch systems packages to the versions in this repository (Packman Repository).
Click on the underlined Switch systems packages.
Accept (bottom right of the page) and exit.
Now, check your list of repositories, make sure the only ones enabled are the 4 standard repos and your newly added and switched Packman repository.
And make certain they are all 42.1 repos – check the URLs in your list!
Once you have confirmed that, then:
zypper ref && zypper dup --no-allow-vendor-change
Report back. Post any errors, if you get them.
I can’t use the YAST ! i can’t even log into the gui the kde is already down … i did what you told me using chroot via an ubuntu live cd … because after i choose opensuse from the grub it gives me just a white screen
You should be able to use YaST in text mode even.
i did what you told me using chroot via an ubuntu live cd … because after i choose opensuse from the grub it gives me just a white screen
Press Ctrl+Alt+F1 to get to text mode and login.
The default SDDM login screen uses Qt5 (and some Plasma5 components) as well.
You may set the DISPLAYMANAGER to “xdm” in /etc/sysconfig/displaymanager to get a graphical system if SDDM doesn’t work.
Though if your Qt5 installation is broken, the YaST GUI won’t work either as it uses Qt5 too.
ok i’ll try it and tell you the results
ok my repos now are :
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
--+-------------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+------------------------------------------------------------------------------+--------
1 | download.nvidia.com-leap | nVidia Graphics Drivers | No | ---- | Yes | 99 | rpm-md | http://download.nvidia.com/opensuse/leap/42.1 |
2 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/ |
3 | http-download.opensuse.org-b9bbe8c5 | home:jgeboski | No | ---- | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/jgeboski/openSUSE_Leap_42.1/ |
4 | openSUSE-42.1-0 | openSUSE-42.1-0 | No | ---- | Yes | 99 | yast2 | hd:///?device=/dev/disk/by-id/scsi-1KingstonDataTraveler_2.0-part2 |
5 | repo-debug-update | openSUSE-Leap-42.1-Update-Debug | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/debug/update/leap/42.1/oss |
6 | repo-debug-update-non-oss | openSUSE-Leap-42.1-Update-Debug-Non-Oss | Yes | ( p) Yes | Yes | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.1/non-oss/ |
7 | repo-non-oss | openSUSE-Leap-42.1-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/ |
8 | repo-source | openSUSE-Leap-42.1-Source | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/ |
9 | repo-update-non-oss | openSUSE-Leap-42.1-Update-Non-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/
and when i go to the software managemnt i get this error : http://imgur.com/HSIkUdi
you seam to be missing the main OSS update repo!!!
disable the debug repo’s add the oss update repo then tell us your repo’s again
for the moment ignore the error we’ll fix it latter as it’s the non-oss one
zypper mr -d 5 6
zypper ar -f http://download.opensuse.org/update/leap/42.1/oss/openSUSE:Leap:42.1:Update.repo
I just saw your picture again, that error is about the non-oss debug repo, seeing how opensuse does not have the source code to those packages it can not have the debug rpm’s that’s not a real error, when you do as I said and disable the debug repo’s that error will go away
Okay, that error does not matter, because it is the debug repo, and that is not one of the ones you should have.
Skip anything that says “source” or “debug”.
You want to remove repos 5 & 6 (both debug), repo 7 (it is already there as repo 2, which you will keep) and repo 8 (Source):
zypper rr 5 6 7 8
You need to add the Main repository:
zypper ar -f http://download.opensuse.org/distribution/leap/42.1/repo/oss/ Leap-42.1-Main-Repository-(OSS)
the main Update repository:
zypper ar -f http://download.opensuse.org/update/leap/42.1/oss/ Leap-42.1-Main-Update-OSS
and, of course, Packman:
zypper ar -f http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.1/ packman
Run those, then post your repo list again, please.
I did as said but while typing
zypper ar -f http://download.opensuse.org/distribution/leap/42.1/repo/oss/ Leap-42.1-Main-Repository-(OSS)
it gave me bash: syntax error near unexpected token `(’
so i wrote
zypper ar -f http://download.opensuse.org/distribution/leap/42.1/repo/oss/ Leap-42.1-Main-Repository-OSS
and did the rest just fine
and repos are :
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
--+-------------------------------------+-----------------------------------+---------+-----------+---------+----------+--------+------------------------------------------------------------------------------+--------
1 | Leap-42.1-Main-Repository-OSS | Leap-42.1-Main-Repository-OSS | Yes | ( p) Yes | Yes | 99 | NONE | http://download.opensuse.org/distribution/leap/42.1/repo/oss/ |
2 | Leap-42.1-Main-Update-OSS | Leap-42.1-Main-Update-OSS | Yes | ( p) Yes | Yes | 99 | NONE | http://download.opensuse.org/update/leap/42.1/oss/ |
3 | download.nvidia.com-leap | nVidia Graphics Drivers | No | ---- | Yes | 99 | rpm-md | http://download.nvidia.com/opensuse/leap/42.1 |
4 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/ |
5 | http-download.opensuse.org-b9bbe8c5 | home:jgeboski | No | ---- | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/jgeboski/openSUSE_Leap_42.1/ |
6 | openSUSE-42.1-0 | openSUSE-42.1-0 | No | ---- | Yes | 99 | yast2 | hd:///?device=/dev/disk/by-id/scsi-1KingstonDataTraveler_2.0-part2 |
7 | packman | packman | Yes | ( p) Yes | Yes | 99 | NONE | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.1/ |
8 | repo-update-non-oss | openSUSE-Leap-42.1-Update-Non-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/
what to do next ?
do this
zypper dup --from 2
zypper dup --from 7
all should be fixed
Okay, now
Go into Yast->Software Management.
(You can get there from the command line, like you did earlier, just type
yast
)
In there, go across the tabs to Repositories.
Choose the packman repository in the left pane.
Now, just above the window with the list of applications, you will see Switch systems packages to the versions in this repository (Packman Repository).
Click on the underlined Switch systems packages.
Accept (bottom right of the page) and exit.
Then:
zypper ref && zypper dup --no-allow-vendor-change
I’m watching.
CORRECTION FOR YAST COMMAND: You should try
yast2
and see if the GUI version of Yast will come up
i’ve tried the command
yast2
but it gave me
No protocol specified
QXcbConnection: Could not connect to display :0
/sbin/yast2: line 440: 6657 Aborted (core dumped) $y2ccbin $Y2UI_ARGS “$@”
and i went to software > software repositories , but there’s no left pane … did you mean software management ?
Oh sorry …
yast2
Worked
Right.
Okay, for now, let’s ignore the packman switch. You can do it once you are back up in the GUI desktop.
Run the dup command as I posted it. When done, try a reboot. Let us know if it takes you to the GUI. (We might have to use the “nomodeset” option to get you there, but let’s see what happens, first.)