Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Yast2 / ruby error after new install

  1. #11
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,806
    Blog Entries
    1

    Default Re: Yast2 / ruby error after new install

    In general, the SOP for performing an online upgrade which is described at https://en.opensuse.org/SDB:System_upgrade

    Procedure is to first disable or in this case chose to uninstall all unnecessary repositories first. The necessary repositories are the OSS and OSS update repos, optionally should not be too risky to include the Non-OSS and its Non-OSS update repos.

    Depending on the situation, convert the existing repos to the version of openSUSE you want to upgrade to... If you're performing a re-installation rather an upgrade from another openSUSE version, the repos should already be named correctly. A sed command in the above SDB can help you modify repo names if necessary.

    Then, do your "zypper dup" to execute the upgrade/repair/re-installation.
    If you're queasy about doing this step which can be hard to undo, you can also download all packages beforehand (as described above) when your Internet connection is unreliable or do a test run.

    Reboot and see what your results are.
    Again, refer to the SDB link for full details.

    If successful, then you can choose to re-enable repositories (don't forget to make sure that each are for the proper openSUSE version) and "dup" again (because this is TW) to update applications and components from those repos as well.

    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!

  2. #12
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    816

    Default Re: Yast2 / ruby error after new install

    Quote Originally Posted by Icearchery View Post
    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!!
    Whenever being lost, it helps to disable all but the following repos:

    Code:
    erlangen:~ # zypper -D /Tumbleweed-HDD/etc/zypp/repos.d/ lr -uE
    Repository priorities are without effect. All enabled repositories share the same priority.
    
    # | Alias                            | Name                      | Enabled | GPG Check | Refresh | URI                                                  
    --+----------------------------------+---------------------------+---------+-----------+---------+------------------------------------------------------
    1 | download.opensuse.org-non-oss    | Main Repository (NON-OSS) | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/tumbleweed/repo/non-oss/
    2 | download.opensuse.org-oss        | Main Repository (OSS)     | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/tumbleweed/repo/oss/    
    3 | download.opensuse.org-tumbleweed | Main Update Repository    | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/tumbleweed/      
    erlangen:~ #
    First run zypper dup. Only then add more repos one at a time and always dup.
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), openSUSE Tumbleweed, KDE Plasma 5

Page 2 of 2 FirstFirst 12

Posting Permissions

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