openSUSE just jumped into console mode during normal operation

I was just watching a youtube video and now I can’t boot anymore. I think I had a software update running in the background, although I had pressed the “quit” button, but I’m pretty sure that it somehow kept running in the background. I had removed all the default repos and put in a few of my own over time to get the new gcc, and to make it all compatible somehow… well anyway, now I only had console mode. Then I thought “well it cant get much worse”, so I did a “zypper up” but now at boot it hangs here:

Starting LSB: X Display Manager
Failed to start X Display Manager : FAILED
See "systemctl status xdm.service" for details
Started susefirewall2 phase 2 : OK
Started Postfix Mail Transport Agent: OK

And the “systemctl status xdm.service” command shows this:

Active: failed (result: exit-code)
Process 3601 ExecStart=/etc/init.d/xdm start (code=exited, status=1/FAILURE
CGroup: name=systemd:/system/xdm.service

[3601]: Starting service gdm
[3601]: Using failsafe X.Org configuration /etc/X11/xorg.conf.install

So I tried doing **zypper in -f -t pattern X11
**But it tells me

"Warning: Repository openSUSE-12.2-UPdate-Non-Oss appears to be outdated. Consider using a different mirror or server.
Reading installed packages...
Forcing installation of "x11-12.2-5.5.1.x86_64" from repository "openSUSE:12.2"
Resolving package dependencies....

Following NEW patterns are going to be installed:

base enhanced_base enhanced_base_opt fonts fonts_opt sw_management x11 x11_opt yast2_basis

Following recommended patterns were automatically selected:

enhanced_base_opt fonts_opt sw_management x11_opt yast2_basis

Following package is recommended but will not be installed:

Following pattern is recommended but will not be installed:

The following packages are suggest but will not be installed:

desktop-data-openSUSE-extra fvwm2 fvwm2 fvwm-themes gv gvim icewm-default icewm-gnome mmv pmidi wpa_supplicant-gui xiine-ui xorg-x11-driver-video-unichrome xosd xosview xpdf-poppler

Nothing to do.

I don’t know how to go forward here, what do I do?

So are you actually using 12.2?

I don’t know, I’m definitely using a few 12.2 repos because I guess I wanted a newer piece of software one day and only the 12.2 repo had it. But I didn’t officially “switch”. I really just want to get back to my desktop, I don’t know why it matters what version or what kind of repo I have enabled.

You just borked your system

Try booting to this
Boot to Level 3, then Yast and More… - Blogs - openSUSE Forums

Start yast and remove 12.2 repos
leave only oss, non-os and updates for 12.1 (assuming 12.1 is your actual OS)

Then exit yast and with zypper do

zypper dup

I took your advice, but the installation of the rpms aborted, it told me that GLIBC_2.15 is not found and it’s required by libreadline and many others. Now I can’t even log into the emergency mode, because whenever I input my password, it just tells me the same GLIBC errors. Apparently the console itself needs those libraries, idk why else.

Re-install and keep /home