LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Novell (ConsoleOne) (https://www.linuxquestions.org/questions/debian-26/novell-consoleone-377055/)

Xswitch 10-26-2005 08:45 AM

Novell (ConsoleOne)
 
I'm having some trouble installing Novell's ConsoleOne on my Debian system. Here's what I've done so far:

1. Installed Sun's Java and tested.... Java is installed and working fine.

2. Downloaded File from Novell's Web Site: c1_136e-linux.tar.gz

3. I then ran tar zxvf c1_136e-linux.tar.gz
*This created a folder in my user's home dir called Linux. Inside of this dir is a bunch of files with the .rpm extenstion. There is also a file called c1-install. Per Novell's directions, I should be able to run this to begin the installation. When I try to run this, I get an error:

bash: c1-install: command not found

Novell recommends the following OS's:
* Red Hat* OpenLinux 6
* Caldera* eDesktop 2.4
* Caldera eServer 2.3
* Solaris 2.6 or 7 with the latest patch
* Solaris 8

Novell has tested on other distro's, but debian was not listed. The file c1_136e-linux.tar.gz was the only file that they had for a linux system. How do I get this installed?:Pengy:

Ygrex 10-26-2005 09:58 AM

Are you sure that the file has executing permission? If it does not run
"chmod +x c1-install" and then "./c1-install" in that directory.

Xswitch 10-26-2005 11:46 AM

Thanks Ygrex. I used ./c1-install and the installation began. I now have another error:

%% NOTE: ConsoleOne will be installed without the provided Java Runtime
%% Environment. Please define the environment variables C1_JRE_HOME or
%% JRE_HOME before running ConsoleOne.
%% Example: C1_JRE_HOME=/path/to/your/JRE

%% Adding package nici ...
./c1-install: line 1331: rpm: command not found
%% ERROR: Failed to add nici (NICI) package.
%% Installation of packages failed, not all packages were installed.


Since I had already installed Java, I seleted "n" when I was prompted.

I then tried to install again. This time I chose "y" when asked to install Java. When I did that, I got this error:

%% Adding package nici ...
./c1-install: line 1331: rpm: command not found
%% ERROR: Failed to add nici (NICI) package.
%% Installation of packages failed, not all packages were installed.
debians:/home/x/Linux# /usr/ConsoleOne/bin/ConsoleOne
bash: /usr/ConsoleOne/bin/ConsoleOne: No such file or directory


How do I fix this install error?:Pengy:

samael26 10-26-2005 11:53 AM

Hem,
You need a program to convert a .rpm into a .deb
installable thing (perhaps). This program is called
'alien'.

#apt-get install alien

There's no certainty this will work, I must tell you.
Try reading the "apt" doc at debian.org to know
how to make your program managed by apt.

hope it helps
cheers

Xswitch 10-26-2005 01:31 PM

Very Interesting... When I was installing Java from Sun, I followed some instructions that included something like:

fakeroot make-jpkg "filename" and then I did

dpkg -i "filename.deb

Very interesting..... :study: Thanks for telling me about the program alien. I'll check it out.

Ygrex 10-26-2005 02:39 PM

Think there is have to be alittle more. At first you should convert all RPM
packages into DEB. Keep in mind that converting will modify name, i.e. in
RPMs version number divisioned from the package name with '-' and in debian
'_' is used. It is important for you should modify slightly the script. As far
as I can ken this case, there is necessary to replace all package names in the
script with the new ones (created by 'alien'). Also you should write an
appropriate 'dpkg' invokation wherever 'rpm' is used. If you do not know how
to do it, simply write there out the 1331 line and somewho (maybe I) will help
you.

You will force it work!

Xswitch 10-26-2005 04:21 PM

Ok... :)

When I ran tar zxvf c1_136e-linux.tar.gz, this created a folder in my user's home dir called Linux.

Here are the contents of the dir Linux:

c1-install
c1-uninstall
consoleone.desktop
ConsoleOneIcon.png
NDSbase-8.7.3.7-38.i386.rpm
NDScommon-8.7.3-34.i386.rpm
NDSsfrep-8.7.0-1.i386.rpm
NDSsfrep_de-8.7.0-1.i386.rpm
NDSsfrep_es-8.7.0-1.i386.rpm
NDSsfrep_fr-8.7.0-1.i386.rpm
NDSsfrep_it-8.7.0-1.i386.rpm
NDSsfrep_pt-8.7.0-1.i386.rpm
NDSsfrep_ru-8.7.0-1.i386.rpm
NDSsice-8.7.0-1.i386.rpm
NDSsice_de-8.7.0-1.i386.rpm
NDSsice_es-8.7.0-1.i386.rpm
NDSsice_fr-8.7.0-1.i386.rpm
NDSsice_it-8.7.0-1.i386.rpm
NDSsice_pt-8.7.0-1.i386.rpm
NDSsice_ru-8.7.0-1.i386.rpm
NDSsimgr-8.7.0-1.i386.rpm
NDSsimgr_de-8.7.0-1.i386.rpm
NDSsimgr_es-8.7.0-1.i386.rpm
NDSsimgr_fr-8.7.0-1.i386.rpm
NDSsimgr_it-8.7.0-1.i386.rpm
NDSsimgr_pt-8.7.0-1.i386.rpm
NDSsimgr_ru-8.7.0-1.i386.rpm
NDSsldap-8.7.0-1.i386.rpm
NDSsldap_de-8.7.0-1.i386.rpm
NDSsldap_es-8.7.0-1.i386.rpm
NDSsldap_fr-8.7.0-1.i386.rpm
NDSsldap_it-8.7.0-1.i386.rpm
NDSsldap_pt-8.7.0-1.i386.rpm
NDSsldap_ru-8.7.0-1.i386.rpm
NDSslp-8.7.3-13.i386.rpm
NDSspki-8.7.0-1.i386.rpm
NDSspki_fr-8.7.0-1.i386.rpm
NDSsslp-8.7.0-1.i386.rpm
NDSsslp_fr-8.7.0-1.i386.rpm
NDSswan-8.7.0-1.i386.rpm
NDSswan_de-8.7.0-1.i386.rpm
NDSswan_es-8.7.0-1.i386.rpm
NDSswan_fr-8.7.0-1.i386.rpm
NDSswan_it-8.7.0-1.i386.rpm
NDSswan_pt-8.7.0-1.i386.rpm
NDSswan_ru-8.7.0-1.i386.rpm
nici-2.6.4-0.05.i386.rpm
NLDAPbase-8.7.3-34.i386.rpm
NLDAPsdk-8.7.3-34.i386.rpm
NOVLc1-1.3.6-1.i386.rpm
NOVLc1_de-1.3.6-1.i386.rpm
NOVLc1_es-1.3.6-1.i386.rpm
NOVLc1_fr-1.3.6-1.i386.rpm
NOVLc1_it-1.3.6-1.i386.rpm
NOVLc1_ja-1.3.6-1.i386.rpm
NOVLc1Linuxjre-1.4.1-0.i386.rpm
NOVLc1_pt-1.3.6-1.i386.rpm
NOVLc1_ru-1.3.6-1.i386.rpm
NOVLc1_zh_CN-1.3.6-1.i386.rpm
NOVLc1_zh_TW-1.3.6-1.i386.rpm
NOVLice-8.7.3-34.i386.rpm
NOVLlmgnt-8.7.3-34.i386.rpm
NOVLpkia-2.7.0-6.i386.rpm
NOVLpkis-2.7.0-6.i386.rpm
NOVLsas-8.7.3-34.i386.rpm
NOVLxis-8.7.3-34.i386.rpm


Do I run alien on each individual file that has a .rpm extension to convert to .deb?:Pengy:

If this is true, what's my next step?:Pengy:

Ygrex 10-26-2005 04:45 PM

Yes, you should do it :)
But do not fear. It is simple:
for i in *rpm ; do alien -d "$i" ; done
you may also add -v option to alien for it outputs something, for converting
of packages is not a fast process. Then you can delete all RPMs.
The next step is to modify the script "c1-install". Replace each occurence of
the RPM package name with its appropriate debian's name. For to check whether
it contains any RPM names:
grep -n ".rpm" c1-install
Then the last step is to change command from 'rpm' to 'dpkg'. Of course the
given options should be changed too.

Xswitch 10-27-2005 10:15 AM

Ok... I'm back, but a little confused. :scratch:

What is the command that I should run:

1. Move to the dir where all of the .rpm files are
2. Then type:

Linux# alien -d $*rpm

This gives me the following error:

File "rpm" not found.

What's wrong with my syntax?

Ygrex 10-27-2005 06:19 PM

Sure! You have to apply 'alien' to any RPM file you have. You can do it either
by hands or with a simple loop 'for i in *rpm ; do alien -d "$i" ; done' in the
directory they are. You should enter this long command:

for i in *rpm ; do alien -d "$i" ; done

It is a bash's script.

Xswitch 10-28-2005 01:27 PM

SWEEEEEEEEEEET!!! It worked fine. I now have .deb files...:)

Ygrex 10-28-2005 04:10 PM

Did you installed them right or are you
waiting for the further guidance?

samael26 10-28-2005 04:21 PM

Have a look at this to manage your .deb files with APT :

http://www.us.debian.org/doc/manuals...g-scanpackages

How to use APT locally.

cheers

Xswitch 10-29-2005 12:30 PM

I got sidetracked at work.....:) I'll read some more and see if I can get it done... I'll come back with my results.... thanks samael26 for the link...

Xswitch 11-01-2005 05:59 PM

Ok... I'm back... Here's what I've done:

Ygrex, I've deleted all of the *.rpm's from the directory. I am now trying to edit the c1-install script. It looks as though everything with a *.rpm is commented out. Here are a couple of lines from the c1-install script:

#linux_NDSslp = NDSslp = ndsslp_8.7.3-14_i386.deb
#linux_NDSbase = NDSbase = ndsbase_8.7.3.7-39_i386.deb
#linux_NDScommon = NDScommon = ndscommon_8.7.3-35_i386.deb
#linux_NOVLxis = NOVLxis = novlxis_8.7.3-35_i386.deb
#linux_NOVLlmgnt = NOVLlmgnt = novllmgnt_8.7.3-35_i386.deb


The following *.rpm files appear in the c1-install script, but do not appear in the Linux dir where they were originally extracted with tar.

NDSsice_zh_CN-8.7.0-1.i386.rpm
NDSsice_zh_TW-8.7.0-1.i386.rpm
NDSsice_ja-8.7.0-1.i386.rpm

NDSsimgr_zh_CN-8.7.0-1.i386.rpm
NDSsimgr_zh_TW-8.7.0-1.i386.rpm
NDSsimgr_ja-8.7.0-1.i386.rpm

NDSsldap_zh_CN-8.7.0-1.i386.rpm
NDSsldap_zh_TW-8.7.0-1.i386.rpm
NDSsldap_ja-8.7.0-1.i386.rpm

NDSsslp_zh_CN-8.7.0-1.i386.rpm
NDSsslp_zh_TW-8.7.0-1.i386.rpm
NDSsslp_de-8.7.0-1.i386.rpm
NDSsslp_it-8.7.0-1.i386.rpm
NDSsslp_ja-8.7.0-1.i386.rpm
NDSsslp_pt-8.7.0-1.i386.rpm
NDSsslp_ru-8.7.0-1.i386.rpm
NDSsslp_es-8.7.0-1.i386.rpm

NDSswan_zh_CN-8.7.0-1.i386.rpm
NDSswan_zh_TW-8.7.0-1.i386.rpm
NDSswan_ja-8.7.0-1.i386.rpm

NDSspki_zh_CN-8.7.0-1.i386.rpm
NDSspki_zh_TW-8.7.0-1.i386.rpm
NDSspki_de-8.7.0-1.i386.rpm
NDSspki_it-8.7.0-1.i386.rpm
NDSspki_ja-8.7.0-1.i386.rpm
NDSspki_pt-8.7.0-1.i386.rpm
NDSspki_ru-8.7.0-1.i386.rpm
NDSspki_es-8.7.0-1.i386.rpm

NDSsfrep_zh_CN-8.7.0-1.i386.rpm
NDSsfrep_zh_TW-8.7.0-1.i386.rpm
NDSsfrep_ja-8.7.0-1.i386.rpm

I have replaced every *.rpm file with its corresponding *.deb file. The above files did not have a corresponding *.deb file, so I could not change. These files did not appear in the dir when c1_136e-linux.tar.gz was originally uncompressed.

What's my next move:Pengy:


All times are GMT -5. The time now is 04:57 AM.