LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2014, 08:40 AM   #1
vcgatate
LQ Newbie
 
Registered: Oct 2014
Posts: 13

Rep: Reputation: Disabled
yum install mkinitrd -y not working


Hi Team,

When I am trying to download NCTUns 6 from internet using the command
yum install mkinitrd -y
I am getting an error regarding repo file. check the path and try once again.

please help me.
 
Old 10-23-2014, 10:37 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
← #12 .

There is no download of NCTUns from the Internet.
http://nsl.csie.nctu.edu.tw/nctuns.html
.. except the "NCTUns" you can buy from Estinet.
( At least no official free downloads.)

# yum install mkinitrd : ? Is it Fedora 12 ?
.. Then you will have to change the files in /etc/yum.repos.d/.
* When you have specified your version, you will get a new file.

-
 
Old 10-23-2014, 01:03 PM   #3
vcgatate
LQ Newbie
 
Registered: Oct 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
Hi

yes I am using Fedora 12 version.

I used to follow these steps to install NCTUns-6.0 last year. But this year I am not able to go past step 2 mentioned below.

Step 1: First click on Applications > System Tools > Terminal and type command “su” and give
your root password.
[username@localhost]#su
Password:

Step 2: Now type this command
“yum install mkinitrd –y”
you need internet connection for this because it will download some files and install.

Step 3: Open NCTUns-6.0 which you have downloaded earlier and extract using Archive Manager to “Home Folder”

Step 4: Next go to NCTUns-6.0 folder using “cd” command.
[root@localhost username~]# cd NCTUns-6.0

Step 5: Type ./install.sh command to install Nctuns.
[root@localhost username NCTUns-6.0]# ./install.sh

can you please help me out..

Last edited by vcgatate; 10-23-2014 at 01:06 PM.
 
Old 10-23-2014, 01:32 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,362

Rep: Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001
Fedora 12 is ancient, the repos used by yum are dead. It went EOL nearly 4 years ago. You may be able to dig a working repo out of here:
http://mirrors.fedoraproject.org/publiclist/Fedora/12/

I suggest that if you do manage to find one that works, you mirror it onto one of your local machines and use that as your yum repository, since there's no guarantee the online one will still be operating in another couple of years.

Last edited by suicidaleggroll; 10-23-2014 at 01:36 PM.
 
Old 10-23-2014, 05:18 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
← #4 : NCTUns-allinone-linux-2.6.31.6-f12* requires Fedora 12.
And, the old archive http://archives.fedoraproject.org/pu.../fedora/linux/ :
Fedora 1 (one) ... Fedora 19 are all usable.

#3 :
$ cd /etc/yum.repos.d/
# mkdir backup
# mv * backup/
# gedit fedora12.repo
... Then copy / paste this new text to the editor ..... and save. EDIT →
EDIT → see post #9.
* If it's an x86_64 OS, replace all i386 in the text with x86_64 .
Code:
[fedora12]
name=Fedora12-i386
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/12/Everything/i386/os/
enabled=1
gpgcheck=1

[fc12-updates]
name=Fedora12-updates-i386
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/12/i386/
enabled=1
gpgcheck=1
.... And you can do # yum install <package-name>


-

Last edited by knudfl; 11-02-2014 at 12:53 PM.
 
Old 10-24-2014, 11:38 PM   #6
vcgatate
LQ Newbie
 
Registered: Oct 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
Hi

Now when I am trying to install NCTUns-6.0 i am getting the below error

mkinitrd >= 6.0.9-7 is needed by kernel-nctuns-2.6.31.6nctuns20091227-1.i386

please guide me how to proceed further
 
Old 10-25-2014, 05:26 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
← #6 . mkinitrd >= 6.0.9-7 means 6.0.9-7 or a later version.

# yum install mkinitrd
... Provides mkinitrd-6.0.93-1
 
Old 10-27-2014, 11:07 PM   #8
vcgatate
LQ Newbie
 
Registered: Oct 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
Hi Team,

Now when I tried to run yum install mkinitrd command, I am getting following warning so NCTUns-6.0 is not getting installed. Please guide me further. Thanks


Loaded plugins: presto, refresh-packagekit
fc12-updates | 4.7 kB 00:00
fedora12 | 4.2 kB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mkinitrd.i686 0:6.0.93-1.fc12 set to be updated
--> Processing Dependency: isomd5sum for package: mkinitrd-6.0.93-1.fc12.i686
--> Running transaction check
---> Package isomd5sum.i686 1:1.0.5-3.fc12 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mkinitrd i686 6.0.93-1.fc12 fedora12 89 k
Installing for dependencies:
isomd5sum i686 1:1.0.5-3.fc12 fedora12 23 k

Transaction Summary
================================================================================
Install 2 Package(s)
Upgrade 0 Package(s)

Total size: 113 k
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 signature: NOKEY, key ID 57bbccba


Public key for mkinitrd-6.0.93-1.fc12.i686.rpm is not installed
You have new mail in /var/spool/mail/appa
 
Old 10-28-2014, 06:00 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
← #8 .
Quote:
Public key for mkinitrd-6.0.93-1.fc12.i686.rpm is not installed
OK, then .... no keys any more. Please change to : gpgcheck=0, two lines :
Code:
[fedora12]
name=Fedora12-i386
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/12/Everything/i386/os/
enabled=1
gpgcheck=0

[fc12-updates]
name=Fedora12-updates-i386
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/12/i386/
enabled=1
gpgcheck=0
 
1 members found this post helpful.
Old 10-28-2014, 06:56 AM   #10
vcgatate
LQ Newbie
 
Registered: Oct 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
Hi Team,

Thanks... Now Yum is working fine.. But another issue has arised in NCTUns-6.0 installation

when I have run install.sh, I have got following errors. Can we modify the install.sh file??

[root@localhost NCTUns-6.0 ]# ./install.sh
./install.sh: line 88: [: !=: unary operator expected
./install.sh: line 93: [: =: unary operator expected
./install.sh: line 106: stop_log: command not found

88--- if [ `echo $logfile | cut -c 1` != '/' ]; then

93--- if [ $verbose = 1 ]; then

106--- stop_log

Please guide further.. Thanks..
 
Old 10-28-2014, 07:32 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
← #10 .
Quote:
./install.sh: line 88: [: !=: unary operator expected
./install.sh: line 93: [: =: unary operator expected
./install.sh: line 106: stop_log: command not found
There is a discussion about this error in another NCTUns thread
http://www.linuxquestions.org/questi...em-4175410888/

All 18 nctuns threads at LQ http://www.linuxquestions.org/questions/tags/nctuns/

-
 
Old 10-28-2014, 09:06 AM   #12
vcgatate
LQ Newbie
 
Registered: Oct 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
Hi,

I am not trying to install NCTUns v6 on a virtual fedora 12.

so what is the solution using MKDIR?

please share, Thanks
 
Old 10-28-2014, 10:00 AM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
← #12 .

About 'mkdir' :
Some folder/ could be missing,
and you will have to create it yourself ? ?

The safe way : Unpack NCTUns-allinone-linux-2.6.31.6-f12.20100113.tar.gz
with 'tar xvf' . Do not use a Windows© tool for the unpack !



Suggest : Start from scratch.
And may be you are missing some {tool, library} ?

# yum install gcc-c++ tcsh autoconf automake libtool libXmu-devel \
xterm mkinitrd tcl-devel tk-devel ncurses-devel qt3

In /home/<name>/ , please do the unpack as unprivileged user :
$ tar xvf NCTUns-allinone-linux-2.6.31.6-f12.20100113.tar.gz
$ cd NCTUns-6.0/
$ su
# ./install.sh

-

Last edited by knudfl; 10-28-2014 at 03:04 PM.
 
1 members found this post helpful.
Old 10-29-2014, 09:47 AM   #14
vcgatate
LQ Newbie
 
Registered: Oct 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
Hi,

Thanks a lot for help. NCTUns-6.0 has got installed. But when I installed NCTUns-6.0, four questions were asked:

Four Questions are:

1. ** Modify the SELinux Configuration

* By default, the SELinux option is enabled in Fedora.
* However,if SELinux option is enabled, it will decline
* to execute the NCTUns engine or the NCTUns client
* program. To run NCTUns correctly, you should disable
* SELinux.
[yes/no]

I answered -- (No)

2.* To run up NCTUns programs correctly, some NCTUns-

* related environment variables must be set up first
* in each xterm. If you answer "yes" to the following
* question, this installation program will append
* these environment variables to the shell profile of
* the account of the installing user. Doing so can
* save you much time in the future because you need
* not set up these environment variables manually each
* time when you open a xterm.
** Would you want this installation program to
** automatically append some NCTUns-related
** environment variables to the shell profile
** of the account that you use to install NCTUns?
[yes/no]


I answered -- (No)


3. ** Create the Default Simulation User Account**

STATE: create a new user account (Nctuns)
as the default simulation user account
* The initial account name/password of this newly
* created account is nctuns/nctuns.
* The GUI program will use this account/password as
* the default simulation user account/password.
* Creating this account here is for a lazy user's
* convenience because he (she) does not need to creat
* an account and then use the account/password in the
* GUI program to run up a simulation.
* A prudent user should change the initial password
* of this account to a new one and then use the new
* password in the GUI program to run up a simulation."
** Would you want to create a new user account
** (NCTUNs) as the default simulation user account
[yes/no]

I answered -- (No)

4. ** Install Modified qtrc File **

STATE: install modified qtrc file for better
looking in the GUI program
* For the best display quality of the GUI program,
* NCTUns has to modify the QT library configuration
* file (the qtrc file) to force the desktop manager,
* e.g.,KDE and GNOME, to use 10-size font for display.
* If the original qtrc file is used, the font size
* used by the GUI program may be incorrect, resulting
* in low display quality. (It is recommended to use
* the KDE desktop manager with the version 4.0.5 or
* higher and our provided qtrc file to achieve the
* best GUI display quality. If you answer "yes" to the
* following question, the modified qtrc file will be
* copied to the home directory of the installing
* user's account,which is "root."
** Would you want to install the modified qtrc?
[yes/no]

I answered -- (No)

Now When I enter into NCTUns-6.0 kernel then its entering into Fedora-12 only. This means NCTUns-6.0 has not installed successfully?

should I need to reinstall once again?

Please guide further.Thanks a lot once again..
 
Old 10-29-2014, 11:57 AM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
← #14 .

Well, you can start with disabling "selinux" :
# yum install policycoreutils-gui
# system-config-selinux
... Select "Disabled" in the upper Menu.
And tick "Relabel on next reboot".
Or you can just let NCTUns do the change,
when you answer 'Yes' at the next ./install.sh

You should also answer 'Yes' to the recommended
" ** Would you want this installation program to
** automatically append some NCTUns-related
** environment variables to the shell profile
** of the account that you use to install NCTUns? "
... and
" ** Would you want to install the modified qtrc? "

For the " ** Would you want to create a new user account
** (NCTUNs) as the default simulation user account " :
I don't know. I have built the application several times,
and made sure that the GUI opens. Never tried to run a simulation.

Using NCTUns : Please read ...
http://www.linuxquestions.org/questions/tags/nctuns/


-

Last edited by knudfl; 10-29-2014 at 12:02 PM.
 
1 members found this post helpful.
  


Reply

Tags
nctuns


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg3793 Fedora 8 04-13-2011 12:25 PM
yum install not working in fedora naren123.k Linux - Software 5 03-01-2011 02:43 AM
Yum not working after re-install. redhat5 Linux - Newbie 8 08-11-2009 08:49 AM
mkinitrd not working cobweb Linux - Newbie 1 02-22-2006 03:45 PM
Why 'mkinitrd' not working? chandrakanta Linux - Software 1 09-08-2004 11:54 AM


All times are GMT -5. The time now is 08:15 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration