Rubyrc

Newby - who hopes he is in the right place.
I am using Tumbleweed KDE.

I attempt to add software using the system - install remove software
When I sigh in as root I get a popup message ruby-KDia;og > Configuration file “/root/.config/rubyrc” not writable. Please contact your system administrator.

The file does not appear - even as a hidden file.

A/ Is there a way to search these forums to read previous posts on this issue?

B/ What should I do next?

Thank you.

What are you trying to do?
And, what guide are you following for what you are trying to do?

Nowadays,
you probably wouldn’t invoke that type of command directly, like most distros openSUSE now implements the systemd subsystem. If a more modern binary has been written, then something like a “rubyrc” has been replaced. Even if a legacy binary still exists (not yet replaced), you would ordinarily invoke a “systemctl” command which would in turn invoke the appropriate binary.

Provide some info on whatever you are trying to do and we can point you in the right direction.

In the meantime,
I wrote an article how to install and run Ruby (and Ruby on Rails) on all versions of openSUSE
https://en.opensuse.org/User:Tsu2/Install_Ruby

TSU

Thank you for your reply.

What I was trying to do was add codecs and flash player for better music and video streaming / playing. I really was not interested in adding a programming language which IIU Ruby is.

Perhaps I’m just not knowledgeable enough to use OpenSuse

Did this happen when starting Yast or a sub unit of Yast like software management???

This may indicate mixed repositories so show us your repository list

zypper lr -d

To install proprietary codecs you must do a vendor change to packman. We can give explicit instruction once we see your repository list.

Thank you also.

linux-owgr:~ # zypper lr -d
Repository priorities are without effect. All enabled repositories share the same priority.

| Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service

—±------------------------------------±----------------------------±--------±----------±--------±---------±-------±-----------------------------------------------------------------------------------±-------
1 | http-download.opensuse.org-268d3f57 | openSUSE:Tumbleweed | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/ |
2 | http-download.opensuse.org-52902196 | openSUSE:Leap:42.2:Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/ports/update/leap/42.2/ |
3 | http-download.opensuse.org-63e626fd | multimedia:libs | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_Tumbleweed/ |
4 | http-download.opensuse.org-7071fcbe | multimedia:apps | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/multimedia:/apps/openSUSE_Tumbleweed/ |
5 | http-download.videolan.org-815f2c42 | SuSE | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.videolan.org/SuSE/Tumbleweed/ |
6 | http-ftp.gwdg.de-1a1e22b1 | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/ |
7 | http-opensuse-guide.org-e30b3577 | libdvdcss repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/ |
8 | openSUSE-20170418-0 | openSUSE-20170418-0 | No | ---- | ---- | 99 | yast2 | hd:///?device=/dev/disk/by-id/usb-Lexar_USB_Flash_Drive_AAZ4WM4BZ5XLQ04X-0:0-part2 |
9 | packman | packman | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ |
10 | repo-debug | openSUSE-Tumbleweed-Debug | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/tumbleweed/repo/oss/ |
11 | repo-non-oss | openSUSE-Tumbleweed-Non-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/non-oss/ |
12 | repo-oss | openSUSE-Tumbleweed-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/oss/ |
13 | repo-source | openSUSE-Tumbleweed-Source | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/tumbleweed/repo/oss/ |
14 | repo-update | openSUSE-Ter I start Yastumbleweed-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/tumbleweed/

The message shows up whether I start Yast or start ‘system/ install remove software’

Everyone starts of “not knowledgeable” and improves, you’re not alone and with plenty of others.

The codecs and a flash player don’t necessarily require any kind of ruby, read and follow the stickies in the Multimedia Forum for how to add those. In general, you will need to add the packman repo, and then do a vendor change to it.

If there is a specific app you wish to run, then it <might> involve some kind of use of ruby, but would need specifics (eg the specific app you wish to install or run).

TSU

You still have a 42.2 repo this is probably where the problem is you have mixed versions

You don’t need or want 2 the 42.2 repo 3,4,5,6 since these things come from packman and versions differences can confuse things.

remove the above and do a zypper dup that should get things back to normal

You may need to do a vendor change to packman to assure you get the proprietary formats

zypper dup --from Packman Repository

From then on do updates with

zypper dup --no_allow_vendor_change

That one needs quoting for the shell:

zypper dup --from 'Packman Repository'

Thank you all. Took a little time and learning but now back to normal and extra unneeded repos removed.

i really appreciate your time and sharing your expertise

Gad

Nice it works. Enjoy.