Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Yoper Linux Help
Reload this Page Java not quite there
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Yoper Linux Help Officially recognised support forum for Yoper Linux.

Closed Thread
 
Thread Tools Display Modes
Old 11-28-2007   #21 (permalink)
stefg
Just Joined!
 
Join Date: Nov 2007
Posts: 1
Hi There,

I know this is an old posting but I got the same error and I found out what is wrong. It's to do with the version of tail.

Some versions of tail accept a parameter like +10, which means return all lines after the first ten, but other versions of tail don't accept such parameters. The script in the rpm.bin calls tail +479 but with the version of tail being used it fails. It thinks +479 is a file name and can't chop the file properly.

I got around this by using ' tail -$(($(wc -l j2re-1_4_2_05-linux-i586-rpm.bin) - 477)) j2re-1_4_2_05-linux-i586-rpm.bin > j2re-1_4_2_05-linux-i586-rpm'

This command creates a file that is the same as j2re-1_4_2_05-linux-i586-rpm.bin without the first 477 lines.

Then run:
chmod a+x ./j2re-1_4_2_05-linux-i586-rpm
./j2re-1_4_2_05-linux-i586-rpm

which will create an rpm file called glibc-headers-2.5-3.i386.rpm that you can install in the usual way e.g. rpm -iv glibc-headers-2.5-3.i386.rpm

Regards,
Stef
stefg is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 11:41 PM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0