Did you install BTRFS on your root partition?
If you did, you can try to restore to a point before you removed files.
Login, open a root console and type the following to list your snapshot history
snapper list
Identify a snapshot dated before your mishap and run the following to rollback to your desired snapshot. Don’t worry about rolling back, anything done by snapper can be undone, in fact the act of rolling back actually adds a new snapshot entry
snapper rollback *snapshot_id_or_number*
If the above doesn’t fix your problem,
You should try re-booting to a Repair/Recover option in Grub. If your networking isn’t too badly damaged, then networking should work and you can do something like an online re-install to restore your missing files
zypper dup
If all the above doesn’t work,
Easiest way is to do an offline repair is to use a LEAP install DVD, do a repair to re-install packages from the DVD(they’ll be very old but should restore your system to working), then “zypper update” to bring your system up to date again.
Without knowing what you removed, it’s impossible to know if you removed anything that is critically important.
Then you apparently removed the wrong/too many packages…
Furthermore, I have also lost internet connection. Tried to ping my rounter it responds “network unreachable”.
How can I fix the problem with this offline DE?
You probably used NetworkManager and had a user connection?
You can use “nmtui” (in a terminal window, xterm e.g.) to connect when no GUI frontend is installed.
Then enter YaST->Software Management and install one of the DE patterns.
Or at least install plasma5-session, gnome-session or any other similar package (whatever you prefer).
I first did use snapper, and restored to an older snapper shots which should have worked. But nothing changed at all. There was no KDE no internet.
I don’t know what is grub repair option but it brought me to a snapper function which didn’t even boot.
I am then trying nmtui suggested by wofi, but it seems it belongs to “NetworkManager” package which had been one of those mistakenly removed packages. It responds “command not found” and “cnf nmtui” it suggest me to install NetworkManager.
I guess I should be able to connnect to internet without the “networkmanager” package and give control to the “if” something…?
Switch to “Wicked Service” in YaST->System->Network Settings->Global Options.
You then have to configure the connection in YaST as well (though if it’s Ethernet no setup should be necessary normally), afterwards it should work.
If not, I am going to reinstall the system, because it seems btrfs and snapper is a waste of time and disk.
Well, not dissimilar to a backup. As long as you don’t want to roll back, it is a waste of disk. But if you want/need to, it is valuable…
Anyway, you can also disable snapper or just uninstall it.
Regarding your problem:
If you have a working network, “zypper dup” should probably reinstall all necessary packages that you removed.
If you cannot get wicked to work, you could also download the NetworkManager package (or take it from the installation DVD), and install it manually.
The easiest way to fix your system would probably be to boot from the installation DVD though and choose “Upgrade”. This basically reinstalls all packages according to the installation patterns, but leaves your setup alone.
First,
Are you trying to make a wired connection or wireless?
When recovering, always try to use a wired connection… it’s more reliable, less complex and requires less components so if networking problem is wireless-specific, a wired connection will still work.
If you have or can borrow another machine with network access, download the LEAP install DVD and repair your system.
It’ll take awhile to run, but it’s pretty easy and straightforward to run.
When I open network it says “network is currently controlled by network manager or the network service is completely disabled”
I then pick the “network service” in the dropdown menu. When I click “OK” button it pops up “network applet needed: please make sure network manager is running if not please restart it”
So Yast refuses to replace network manager for unknown reason.
Hello. I have installed the Plasma5 pattern now. In fact I noticed that Gnome was also already installed, but in login options I have only icewm and MATE (panel missing when login)
I don’t know if the pattern KDE must be installed too but I guess that is not the problem since Gnome is also missing in login option?
As I wrote already, you need the package gnome-session installed for GNOME to show up at the login screen.
And you need plasma5-session for Plasma5 to show up.
If those packages are installed, reinstall them (right-click on the package and select “Update Unconditionally”. Obviously the files are missing or broken in that case.
I don’t know if the pattern KDE must be installed too but I guess that is not the problem since Gnome is also missing in login option?
The “KDE Desktop Environment” pattern contains a lot of additional KDE applications, but is not required for a working desktop.
But just to be clear: in any case, installing the pattern itself is not necessary, a pattern just lists packages that should be installed.
If you install the required packages manually (without installing the pattern), it will also work.
Don’t know why but I can’t have plasma5 network manager applet after my long way to get back to kde. Gnome login always fails with a crush screen but since I don’t use it so I unistalled gnome to save my brain power a little bit.
So if I don’t use wicked service I can’t have internet.
I guess those snapshot restore efforts have messed up the whole system for good.
Is plasma-nm5 installed?
Try to reinstall it, either via “Update Unconditionally” in YaST or with:
sudo zypper in -f plasma-nm5
What exactly do you mean with “I can’t have plasma5 network manager applet” though?
Have you checked that it is enabled in the system tray settings?
Or is it not even listed there?
As a workaround to use NetworkManager, you could use nm-applet (package NetworkManager-gnome) or nmtui (text mode interface, part of the standard NetworkManager package) instead.
Maybe reinstallation is the easier way to go.
You could do an “Upgrade”, this basically just reinstalls all packages.