LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-24-2019, 06:18 AM   #1
henk2012
Member
 
Registered: Jan 2019
Location: Kunder
Distribution: opensuse 42.3
Posts: 32

Rep: Reputation: Disabled
Yast is not starting.


In a terminal this is the response:linux-at4l:/home/henk # yast
/sbin/yast: /usr/lib/YaST2/bin/y2start: /usr/bin/ruby.ruby2.5: bad interpreter: No such file or directory

The grafical yast: I can login but nothing more

and i have not seen problems when updating with zypper up

Last edited by henk2012; 05-24-2019 at 02:30 PM.
 
Old 05-24-2019, 07:09 AM   #2
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
What SuSE? Can you please post results for "cat /etc/*release"
And, do you have this file: /usr/bin/ruby.ruby2.5
Did updates get applied? Or what changed?

Also, have you looked at this: https://forums.opensuse.org/showthre...r-Update/page2
 
Old 05-26-2019, 02:21 PM   #3
henk2012
Member
 
Registered: Jan 2019
Location: Kunder
Distribution: opensuse 42.3
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dc.901 View Post
What SuSE? Can you please post results for "cat /etc/*release"
And, do you have this file: /usr/bin/ruby.ruby2.5
Did updates get applied? Or what changed?

Also, have you looked at this: https://forums.opensuse.org/showthre...r-Update/page2
Opensuse 15. I see what others did but that is not a solution for me.

linux-at4l:/home/henk # 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 | download.nvidia.com-leap | nVidia Graphics Drivers | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.nvidia.com/opensuse/leap/15.0 |
2 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distrib.../repo/non-oss/ |
3 | download.opensuse.org-non-oss_1 | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.0/non-oss/ |
4 | download.opensuse.org-oss | Main Repository (OSS) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distrib...15.0/repo/oss/ |
5 | download.opensuse.org-oss_1 | Main Update Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.0/oss |
6 | http-download.opensuse.org-d6c11ffd | home:dl8fcl:sdr | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/reposit...USE_Leap_15.1/ |
7 | openSUSE-Leap-15.0-1 | openSUSE-Leap-15.0-1 | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distrib...15.0/repo/oss/ |
8 | opensuse-guide.org-repo | Libdvdcss Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_15.0/ |
9 | packman.inode.at-suse | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.0/ |
10 | repo-debug | openSUSE-Leap-15.0-Debug | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/d...15.0/repo/oss/ |
11 | repo-debug-non-oss | openSUSE-Leap-15.0-Debug-Non-Oss | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/d.../repo/non-oss/ |
12 | repo-debug-update | openSUSE-Leap-15.0-Update-Debug | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/u...leap/15.0/oss/ |
13 | repo-debug-update-non-oss | openSUSE-Leap-15.0-Update-Debug-Non-Oss | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/u.../15.0/non-oss/ |
14 | repo-source | openSUSE-Leap-15.0-Source | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/...15.0/repo/oss/ |
15 | repo-source-non-oss | openSUSE-Leap-15.0-Source-Non-Oss | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/.../repo/non-oss/ |
linux-at4l:/home/henk #
 
Old 05-26-2019, 08:40 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
This is a shot in the dark, but have you tried opwning a terminal, suing to root, and starting YAST from the command line? It might throw some useful error messages to the terminal.
 
Old 05-27-2019, 02:56 AM   #5
henk2012
Member
 
Registered: Jan 2019
Location: Kunder
Distribution: opensuse 42.3
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
This is a shot in the dark, but have you tried opwning a terminal, suing to root, and starting YAST from the command line? It might throw some useful error messages to the terminal.
When I try starting Yast from the command line as su I get:

linux-at4l:/home/henk # Yast
If 'Yast' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf Yast
 
Old 05-27-2019, 06:19 PM   #6
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by henk2012 View Post
When I try starting Yast from the command line as su I get:

linux-at4l:/home/henk # Yast
If 'Yast' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf Yast
Try lower case: yast
 
Old 05-27-2019, 07:50 PM   #7
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
/usr/bin/ruby.ruby2.5: bad interpreter: No such file or directory

Looks like you might be missing the ruby package. Or it's version changed, but yast did not. Perhaps some rpm action on the package in question will remedy the issue. Still a bit odd, how was this installed? Or updated? It's not normal for a distro to F up their package management system. I've had issues in debian when the power went out mid update and a /var/lib/dpkg/? file got corrupted. With a .old version of that file making it so I was able to swap it in on the corrupted one to get it going again. But that was in an era before journaling filesystems and such.
 
Old 05-27-2019, 07:57 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
The name of the program file might not be "Yast." It might be "yast" or possible "YaST" or some other permutation. Unfortunately, I don't have SUSE install to check.

Try these commands:

Code:
whereis yast*
whereis Yast*
whereis YaST*
 
Old 05-27-2019, 08:10 PM   #9
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
As previously suggested, all lowercase, or it was YaST with just the vowel being lower case when I tried SuSE 6.1 back in the late 90's. If I remember correctly.

I stopped using SuSE back when 7 came out due to an installation issue on my laptop at the time. A PCMCIA probe that hung the laptop. Which also affected Mandrake. Debian 3 (woody) had no such issue and let me "skip" that probe. I did eventually get SuSE installed via the floppy and "older" methods. But 6.1 was probably the best release of any distro for the next decade plus. One time I installed SuSE 6.1 and got enlightenment with a wicked gnome theme. A task bar that wasn't just a gray rectangle, what a novel idea. Another time I installed SuSE 6.1 and it was in german. It was a beast of a distro, with an ICQ client and a beta version of IBMs DB2 database. In a time when mostly RedHat and SuSE were the only players in town (in a corporate / popularity sense). Although Mandrake was more popular in academic circles for media creation, particularly audio creation.
 
Old 05-27-2019, 09:25 PM   #10
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,806
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
yast runs text mode YaST.

yast2 runs graphical mode YaST2

Do you get the same error if you try text mode yast?

These are the ruby rpms installed on my 15.1, on which both work as expected:
Code:
> sudo rpm -qa | grep -i yast
libruby2_5-2_5-2.5.0-lp151.3.43.x86_64
libstorage-ng-ruby-4.1.103-lp151.2.1.x86_64
ruby-2.5-lp151.2.1.x86_64
ruby-common-2.1-lp151.4.1.noarch
ruby2.5-2.5.0-lp151.3.43.x86_64
ruby2.5-rubygem-abstract_method-1.2.1-lp151.2.1.x86_64
ruby2.5-rubygem-cfa-0.7.0-lp151.1.1.x86_64
ruby2.5-rubygem-cfa_grub2-1.0.1-lp151.1.1.x86_64
ruby2.5-rubygem-cheetah-0.5.0-lp151.2.1.x86_64
ruby2.5-rubygem-fast_gettext-1.6.0-lp151.2.1.x86_64
ruby2.5-rubygem-gem2rpm-0.10.1-lp151.4.43.x86_64
ruby2.5-rubygem-ruby-augeas-0.5.0-lp151.2.2.x86_64
ruby2.5-rubygem-ruby-dbus-0.14.0-lp151.2.1.x86_64
ruby2.5-rubygem-simpleidn-0.0.9-lp151.2.1.x86_64
ruby2.5-stdlib-2.5.0-lp151.3.43.x86_64
yast2-ruby-bindings-4.1.4-lp151.1.1.x86_64
If yours don't match, try this:
Code:
> sudo zypper ref; sudo zypper ve
Then try yast again.
 
1 members found this post helpful.
Old 05-28-2019, 02:17 AM   #11
henk2012
Member
 
Registered: Jan 2019
Location: Kunder
Distribution: opensuse 42.3
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dc.901 View Post
Try lower case: yast
lower case:

linux-at4l:/home/henk # yast
/sbin/yast: /usr/lib/YaST2/bin/y2start: /usr/bin/ruby.ruby2.5: bad interpreter: No such file or directory
linux-at4l:/home/henk #
 
Old 05-28-2019, 02:19 AM   #12
henk2012
Member
 
Registered: Jan 2019
Location: Kunder
Distribution: opensuse 42.3
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
/usr/bin/ruby.ruby2.5: bad interpreter: No such file or directory

Looks like you might be missing the ruby package. Or it's version changed, but yast did not. Perhaps some rpm action on the package in question will remedy the issue. Still a bit odd, how was this installed? Or updated? It's not normal for a distro to F up their package management system. I've had issues in debian when the power went out mid update and a /var/lib/dpkg/? file got corrupted. With a .old version of that file making it so I was able to swap it in on the corrupted one to get it going again. But that was in an era before journaling filesystems and such.
I installed all the updates, almost daily there are updates.
And yast used to work in a terminal and in the graphical mode.

Last edited by henk2012; 05-28-2019 at 02:41 AM.
 
Old 05-28-2019, 02:39 AM   #13
henk2012
Member
 
Registered: Jan 2019
Location: Kunder
Distribution: opensuse 42.3
Posts: 32

Original Poster
Rep: Reputation: Disabled
[QUOTE=henk2012;5999619]I installed all the updates, almost daily there are updates. And I can install the updates with (as root) zypper up.

linux-at4l:/home/henk # whereis Yast*
Yast*:
linux-at4l:/home/henk # whereis Yast*
Yast*:
linux-at4l:/home/henk # whereis yast*
yast*:
linux-at4l:/home/henk # whereis YaST*
YaST*:
linux-at4l:/home/henk # yast
/sbin/yast: /usr/lib/YaST2/bin/y2start: /usr/bin/ruby.ruby2.5: bad interpreter: No such file or directory
linux-at4l:/home/henk #
 
Old 05-28-2019, 06:04 AM   #14
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by henk2012 View Post
/sbin/yast: /usr/lib/YaST2/bin/y2start: /usr/bin/ruby.ruby2.5: bad interpreter: No such file or directory
linux-at4l:/home/henk #
Do you have this file?
What is output of: ls -ltrh /usr/bin/ruby*
 
1 members found this post helpful.
Old 05-28-2019, 06:46 AM   #15
henk2012
Member
 
Registered: Jan 2019
Location: Kunder
Distribution: opensuse 42.3
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dc.901 View Post
Do you have this file?
What is output of: ls -ltrh /usr/bin/ruby*
henk@linux-at4l:~> ls -ltrh /usr/bin/ruby*
-rwxr-xr-x 1 root root 167 Feb 21 2018 /usr/bin/ruby-find-versioned
-rwxr-xr-x 1 root root 6.2K May 14 2018 /usr/bin/ruby
henk@linux-at4l:~>
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Yast modules not starting xdevnull SUSE / openSUSE 2 05-11-2016 11:56 AM
When Centos 6.3 starting,All services starting OK and starting Atd: OK .And stop scr. DeSouffle Linux - General 4 08-29-2013 12:46 AM
[SOLVED] Starting File System .. Starting File System .. Starting File System .. Starting File rmknox Linux - Newbie 3 08-15-2010 11:30 PM
YaST .pot files and customizing YaST strangedub SUSE / openSUSE 0 05-12-2005 04:41 PM
Newbie problem: Starting YAST gives me "-bash: yast: command not found". cattleya Linux - Software 9 11-20-2003 11:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration