LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 11-17-2012, 06:48 PM   #76
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled

I meant to say I'm not entirely sure what I need to do with tr '\r' '\n'
 
Old 11-17-2012, 06:55 PM   #77
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
schneidz

I enter the code
Quote:
tr '\r' '\n' < DBConfig_RHEL_SAM_10_0_R5.bin > newfile.bin
But nothing was returned....
 
Old 11-17-2012, 06:56 PM   #78
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
I then entered ./newfile.bin and following output occurred:

Quote:
[root@localhost finally]# ./newfile.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...

gzip: /tmp/install.dir.4889/Linux/resource/vm.tar.Z: not in gzip format

gzip: /tmp/install.dir.4889/Linux/resource/vm.tar.Z: not in gzip format

gzip: /tmp/install.dir.4889/Linux/resource/vm.tar.Z: not in gzip format
The included VM could not be uncompressed (GZIP/UNCOMPRESS). Please try to
download the installer again and make sure that you download using 'binary'
mode. Please do not attempt to install this currently downloaded copy.
 
Old 11-17-2012, 06:59 PM   #79
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
Does this mean we're getting somewhere? :-)
 
Old 11-17-2012, 07:09 PM   #80
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Probably not really, it seems that the installer-package is corrupted but you can't change it. It has nothing to do with the way you downloaded it.

Markus
 
Old 11-17-2012, 07:45 PM   #81
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-19-live-usb/ aix
Posts: 3,552

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
or maybe gunzip isnt a reasonable substitution for uncompress.

you would have to figure out how to install ncompress on redhat.

it seems like we are beyond the windows new lines errors.
 
Old 11-17-2012, 08:07 PM   #82
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by schneidz View Post
or maybe gunzip isnt a reasonable substitution for uncompress.

you would have to figure out how to install ncompress on redhat.

Is it possible that someone from this forum would know how to install ncompress on redhat?
 
Old 11-17-2012, 08:50 PM   #83
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
OK,

I tried installing the package myself and I got the following output:

Quote:
[root@localhost finally]# yum install ncompress-4.2.4-47.i386.rpm
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Examining ncompress-4.2.4-47.i386.rpm: ncompress-4.2.4-47.i386
Marking ncompress-4.2.4-47.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package ncompress.i386 0:4.2.4-47 will be installed
--> Processing Dependency: libc.so.6 for package: ncompress-4.2.4-47.i386
--> Processing Dependency: libc.so.6(GLIBC_2.0) for package: ncompress-4.2.4-47.i386
--> Processing Dependency: libc.so.6(GLIBC_2.1) for package: ncompress-4.2.4-47.i386
--> Processing Dependency: libc.so.6(GLIBC_2.2) for package: ncompress-4.2.4-47.i386
--> Processing Dependency: libc.so.6(GLIBC_2.3.4) for package: ncompress-4.2.4-47.i386
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: ncompress-4.2.4-47.i386
--> Finished Dependency Resolution
Error: Package: ncompress-4.2.4-47.i386 (/ncompress-4.2.4-47.i386)
Requires: libc.so.6(GLIBC_2.4)
Error: Package: ncompress-4.2.4-47.i386 (/ncompress-4.2.4-47.i386)
Requires: libc.so.6(GLIBC_2.2)
Error: Package: ncompress-4.2.4-47.i386 (/ncompress-4.2.4-47.i386)
Requires: libc.so.6
Error: Package: ncompress-4.2.4-47.i386 (/ncompress-4.2.4-47.i386)
Requires: libc.so.6(GLIBC_2.1)
Error: Package: ncompress-4.2.4-47.i386 (/ncompress-4.2.4-47.i386)
Requires: libc.so.6(GLIBC_2.0)
Error: Package: ncompress-4.2.4-47.i386 (/ncompress-4.2.4-47.i386)
Requires: libc.so.6(GLIBC_2.3.4)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --no
 
Old 11-17-2012, 08:52 PM   #84
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-19-live-usb/ aix
Posts: 3,552

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by carltonp View Post
Is it possible that someone from this forum would know how to install ncompress on redhat?
maybe, i use fedora (which is redhat's distro for non-business users) which has ncompress in the repos.

i see this on http://rpm.pbone.net/index.php3/stat....i386.rpm.html
Quote:
The ncompress package contains the compress and uncompress file
compression and decompression utilities, which are compatible with the
original UNIX compress utility (.Z file extensions). These utilities
can not handle gzipped (.gz file extensions) files, but gzip can
handle compressed files
.
so even after installing it, you'll probably end up with the same error anyways. the file on the server seems fubar.

what does this yeild:
Code:
file /tmp/install.dir.4889/Linux/resource/vm.tar.Z
zcat /tmp/install.dir.4889/Linux/resource/vm.tar.Z > vm.tar

Last edited by schneidz; 11-17-2012 at 08:55 PM.
 
Old 11-17-2012, 09:11 PM   #85
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
schneidz

I'm certain the file isn't corrupt as I'm getting same problems with other files downloaded.
 
Old 11-17-2012, 09:22 PM   #86
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
schneidz

Is the following a command I need to issue?

Quote:
zcat /tmp/install.dir.4889/Linux/resource/vm.tar.Z > vm.tar
 
Old 11-17-2012, 09:25 PM   #87
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
schneidz

After issuing the command the following output appeared

Quote:
[root@localhost /]# zcat /tmp/install.dir.4889/Linux/resource/vm.tar.Z > vm.tar

gzip: /tmp/install.dir.4889/Linux/resource/vm.tar.Z: not in gzip format
 
Old 11-17-2012, 09:33 PM   #88
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
Been a long day. 3:30am.

I hope you'll be available to pick this up in the morning.

Cheers
 
Old 11-18-2012, 04:58 AM   #89
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
Hello all,

I was wondering if someone could tell me if I were to reinstall RHEL from scratch would I get the option to install ncompress?
 
Old 11-18-2012, 05:25 AM   #90
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
I would not suppose that this will work. If compress/uncompress isn't installed you'll have to install it, if you can't install it because it would need compress/uncompress in order to install you're lost. But how would you do a reinstall? who installed the computer? Don't forget that Rhel is an enterprise-distribution, you pay for the support, call them and explain your problem. And if all this doesn't work, use another distribution.

Markus
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Converting a binary file from little endian to big endian jaepi Programming 6 09-05-2011 09:51 PM
'Cannot Execute Binary File' issue kickout Linux - Software 4 09-16-2010 10:54 PM
Tar archive from windows to linux, binary file issue jblevins Linux - General 3 04-13-2009 11:50 PM
converting a hex file to binary linx win Programming 3 07-20-2006 03:04 AM
j2sdk installation issue - cannot execute binary file mcolley73 Linux - Software 2 04-18-2004 12:40 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration