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

Thread: Yast2 / ruby error after new install

  1. #1
    Join Date
    Feb 2017
    Location
    Very Far Away
    Posts
    56

    Default Yast2 / ruby error after new install

    Hi, again. I'm sorry I always seem to show up when something terrible happens (erm... happens to me, actually).
    After being unable to recover my past Tumbleweed installation, I managed to save the files that weren't already in a backup drive, and re-install tumbleweed. I did so with difficulty because HP likes giving people trouble, but I ended up with a somehow operational Tumbleweed installation that recreated my user based on my previous user profile. So far, so good. However, when I try to open yast, it gives me an error and closes.
    Code:
    2018-02-11 17:13:35 <3> linux-9geu(714) [Ruby] yast/wfm.rb:276 Internal error. Please report a bug report with logs.
    Run save_y2logs to get complete logs.
    Details: Failed to load Module 'Packages' due to: Failed to load Module 'SourceDialogs' due to: Failed to load Module 'CWM' due to: cannot load such file -- abstract_method
    Caller:  /usr/lib64/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
    Can you please help me figure out a solution?
    I am using the 4.15 latest kernel, and I didn't get any errors while installing.

    I am finding other errors in the system as well, but I suppose I must open a separate thread for them.
    Thanks in advance for any kind help you can provide.

  2. #2
    Join Date
    Feb 2017
    Location
    Very Far Away
    Posts
    56

    Default Re: Yast2 / ruby error after new install

    I was looking around the Internet and nothing suggested in the past seems to be working for this problem I have now.
    I still cannot use Yast at all.
    I was wondering if anyone has any clue about what could help? I don't want to go for yet another fresh install. My HP notebook makes sure it is a nightmare to even try.

  3. #3
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,130

    Default Re: Yast2 / ruby error after new install

    This has the symptoms of a bad install.
    Code:
     # zypper lr -d -E
     # zypper dup -d 
     # zypper dup
    Are you trying to use a graphical YaST? Diagnostics are often easier using a text-mode (ncurses) instance. E.g. --
    Code:
     # yast repositories
     # yast sw_single
     # yast
    Try using a known repository-mirror: e.g.
    http://ftp.gwdg.de/pub/linux/misc/pa...SE_Tumbleweed/
    ~Thank you for sharing an interesting problem.
    --
    slàinte mhath,
    rayH

  4. #4
    Join Date
    Feb 2017
    Location
    Very Far Away
    Posts
    56

    Default Re: Yast2 / ruby error after new install

    Hi, Eng-int, thank you very much for your kind reply.
    I've tried graphical yast and ncurses yast, and both give me the same error.
    I think maybe the problem is connected with HP allowing me to boot from a usb-stick, but not allowing me to install from that kind of media. (Their UEFI /Legacy is rather confusing, and some options cannot be changed. While I can change the boot order, it doesn't seem I can install from anything other than hard drive). So my hard drive has a partition sda2 where I burnt the install media 2 years ago when I installed openSUSE for the first time on this notebook.
    When I had to re-install the system after the many problems with the botched zypper dup, it used a combination of THAT install media from 2016 and packages available over the net, but nothing from the usb-stick I had burnt minutes before.

    I'm thinking I might need to dd the contents of that usb-stick into sda2? I also notice I seem to have duplicated repos, which I don't think are the main cause of the problem but they might be a bit of an annoyance? I'm posting the repos list just in case:
    Code:
    Repository priorities are without effect. All enabled repositories share the same priority.
    
    #  | Alias                            | Name                      | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                            | Service
    ---+----------------------------------+---------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------------+--------
     1 | Fonts                            | Fonts                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/reposit...USE_Tumbleweed      |        
     2 | Games                            | Games                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/reposit...SE_Tumbleweed/           |        
     3 | Non-OSS                          | Non-OSS                   | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/non-oss/                          |        
     4 | OSS-update                       | OSS-update                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                |        
     5 | Packman_Essentials               | Packman_Essentials        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/pa...ed/Essentials/ |        
     6 | Science                          | Science                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/reposit...SE_Tumbleweed/         |        
     7 | download.opensuse.org-non-oss    | Main Repository (NON-OSS) | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/non-oss/                          |        
     8 | download.opensuse.org-oss        | Main Repository (OSS)     | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss/                              |        
     9 | download.opensuse.org-tumbleweed | Main Update Repository    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                |        
    10 | openSUSE-20161226-0              | openSUSE-20161226-0       | Yes     | (r ) Yes  | Yes     |   99     | yast2  | hd:///?device=/dev/sda2                                                        |        
    13 | skype-stable                     | skype (stable)            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://repo.skype.com/rpm/stable/                                             |        
    14 | skypeforlinux                    | skypeforlinux             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://repo.skype.com/rpm/stable
    Thanks in advance for any help you can provide!!

  5. #5
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,130

    Default Re: Yast2 / ruby error after new install

    ruby and YaST packages have recently been updated. You almost certainly have conflicting versions.
    If you need to use a variey of alien software (especially proprietary) you might be better withh Leap than TW.

    Becauase it changes so frequently, TW DVD images are of limited usefulness. If you plan another clean install it would be useful to download the NET image directly to sda2 and boot from there.

    For now disable all repositories except repo-oss and Packman, then zypper dup. If you network connection is not good, consider download-only then install to avoid a broken downloasd-install.

    Code:
     # zypper mr -d 1 2 3 4 6 7 9 10 13 14
     # zypper dup -d
     # zypper dup
    You can try installing the other stuff after you have a useful system. In my experience other repositories are often out of sync with the current main TW repo.
    ~Thank you for sharing an interesting problem.
    --
    slàinte mhath,
    rayH

  6. #6
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,842
    Blog Entries
    2

    Default Re: Yast2 / ruby error after new install

    Quote Originally Posted by eng-int View Post
    ruby and YaST packages have recently been updated. You almost certainly have conflicting versions.
    If you need to use a variey of alien software (especially proprietary) you might be better withh Leap than TW.

    Becauase it changes so frequently, TW DVD images are of limited usefulness. If you plan another clean install it would be useful to download the NET image directly to sda2 and boot from there.

    For now disable all repositories except repo-oss and Packman, then zypper dup. If you network connection is not good, consider download-only then install to avoid a broken downloasd-install.

    Code:
     # zypper mr -d 1 2 3 4 6 7 9 10 13 14
     # zypper dup -d
     # zypper dup
    You can try installing the other stuff after you have a useful system. In my experience other repositories are often out of sync with the current main TW repo.
    IMO good advice,
    But for the uninitiated, it might be useful to provide comments for the commands you ask to be run, so they understand what is happening at each step...

    So, for instance...

    The objective of the following commands is to do an in-place upgrade, if all goes well this is likely your easiest option.
    Downloaded packages should over-write any problem packages that exist on your system now.

    You should run the following commands one after the other

    This command disables all repositories except the one you need to upgrade. you can re-enable the disabled repositories later and upgrade anything from those repos later
    Code:
    # zypper mr -d 1 2 3 4 6 7 9 10 13 14
    The following command downloads all the packages needed for your upgrade, but doesn't run the upgrade. This is useful if you have a slow or unreliable connection so your upgrade won't be interrupted due to network problems. This is roughly equivalent but better than your idea of copying the contents of your USB stick to your hard drive.
    Code:
     # zypper dup -d
    The following command executes your upgrade.
    Code:
     # zypper dup
    After all this, reboot and try to open YaST again.

    HTH,
    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!

  7. #7
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,595
    Blog Entries
    14

    Default Re: Yast2 / ruby error after new install

    The install image in the repo list is over a year old ...
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

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

    Default Re: Yast2 / ruby error after new install

    Quote Originally Posted by Knurpht View Post
    The install image in the repo list is over a year old ...

    So, maybe the User should permanently remove the repo listing for the DVD with the following command
    Code:
    zypper rr 10
    I'd guess that doing an online upgrade should resolve problems related to the ancient DVD image anyway...

    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
    Join Date
    Feb 2017
    Location
    Very Far Away
    Posts
    56

    Talking Re: Yast2 / ruby error after new install

    Thank you so much! This worked perfectly.
    I removed the duplicate repositories (I probably re-added them without considering I was recreating my user based on my old user) and permanently removed the Fonts and Games repos, both of which were added for my nephew to install games on my computer. A bad move, I admit. Now that, at the ripe old age of 8 years old, he has his own computer, auntie can live without those. =D

    Thank you, once again! You are brilliant!

  10. #10

    Post Re: Yast2 / ruby error after new install

    Quote Originally Posted by Icearchery View Post
    Thank you so much! This worked perfectly.
    I removed the duplicate repositories (I probably re-added them without considering I was recreating my user based on my old user) and permanently removed the Fonts and Games repos, both of which were added for my nephew to install games on my computer. A bad move, I admit. Now that, at the ripe old age of 8 years old, he has his own computer, auntie can live without those. =D

    Thank you, once again! You are brilliant!

    Can u please post step by step process of how u resolved this??

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
  •