Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Lost major DEs and maybe internet too.

  1. #1

    Default Lost major DEs and maybe internet too.

    I removed some packages but after reboot I find there is icewm as the only login DE.

    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?

    Thanks.
    openSUSE Leap 15.0

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,394
    Blog Entries
    2

    Default Re: Lost major DEs and maybe internet too.

    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
    Code:
    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
    Code:
    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
    Code:
    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.

    Good Luck,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3

    Default Re: Lost major DEs and maybe internet too.

    Quote Originally Posted by bonedriven View Post
    I removed some packages but after reboot I find there is icewm as the only login DE.
    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).
    Last edited by wolfi323; 20-Feb-2016 at 16:16.

  4. #4

    Default Re: Lost major DEs and maybe internet too.

    Thank you for the replies.

    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..?
    openSUSE Leap 15.0

  5. #5

    Default Re: Lost major DEs and maybe internet too.

    Quote Originally Posted by bonedriven View Post
    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.

  6. #6

    Default Re: Lost major DEs and maybe internet too.

    Quote Originally Posted by wolfi323 View Post
    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.
    Can I convert btrfs format disk to ext4? If not, I am going to reinstall the system, because it seems btrfs and snapper is a waste of time and disk.
    openSUSE Leap 15.0

  7. #7

    Default Re: Lost major DEs and maybe internet too.

    Quote Originally Posted by bonedriven View Post
    Can I convert btrfs format disk to ext4?
    No. You have to reformat it.

    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.

  8. #8
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,394
    Blog Entries
    2

    Default Re: Lost major DEs and maybe internet too.

    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.

    How did you install your LEAP in the first place?

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  9. #9

    Default Re: Lost major DEs and maybe internet too.

    Yes I am using wired connection.

    I can't make the internet to work with Yast.

    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.
    openSUSE Leap 15.0

  10. #10

    Default Re: Lost major DEs and maybe internet too.

    Quote Originally Posted by bonedriven View Post
    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"
    You need to pick "Wicked Service".

    Apparently you try to switch from "NetworkManager" to "NetworkManager"...

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •