LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing Curl on Server. Linux Newb! (https://www.linuxquestions.org/questions/linux-software-2/installing-curl-on-server-linux-newb-89799/)

Maxplayer14 09-06-2003 03:02 AM

Installing Curl on Server. Linux Newb!
 
I am setting up a hosting server. And I am really new to linux.

I am running RH 8.0.

At the momnet I am trying to install PHP and CUrl and ioncube.

The current problem is with curl.

root@srv01 [~/curl]# rpm -Uvh *.rpm
error: curl-7.10.2-1.i386.rpm: MD5 digest: BAD Expected(114a26e19bd0a449008eca4eccb35d8a) != (f7ba525abc375e4432e92c008d27a217)
error: curl-7.10.2-1.i386.rpm cannot be installed
error: curl-devel-7.10.2-1.i386.rpm: headerRead failed: region trailer: BAD, tag 16128 type 2047 offset 204800 count 4127
error: curl-devel-7.10.2-1.i386.rpm cannot be installed

I have downloaded these files like 3 times from different places.

Any suggestions?

Maxplayer14 09-06-2003 03:06 AM

I also get this when I try to untar php 4.3.3

root@srv01 [~]# tar xvfz php-4.3.0.tar.gz
tar (child): php-4.3.0.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
root@srv01 [~]# tar xvfz php-4.3.3.tar.gz
php-4.3.3/
php-4.3.3/build/
php-4.3.3/build/build.mk
php-4.3.3/build/build2.mk
php-4.3.3/build/buildcheck.sh
php-4.3.3/build/config-stubs
php-4.3.3/build/genif.sh
php-4.3.3/build/mkdep.awk
php-4.3.3/build/print_include.awk
php-4.3.3/build/shtool
php-4.3.3/.gdbinit
php-4.3.3/CODING_STANDARDS
php-4.3.3/CREDITS
php-4.3.3/ltmain.sh
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers

gzip: stdin: invalid compressed data--crc error

gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Error exit delayed from previous errors


Man I feel dumb.

david_ross 09-06-2003 06:40 AM

Welcome to LQ.

It sounds like you are having connection problems. Both errors point to the fact that the packages weren't downloaded in tact. MD5 sums are often used to verify downloads.

If the MD5 sum hat the creator gets once he has made the package equals the one you have downloaded then the file should be fine. If the sums are diffreent then the package has not been downloaded properly.

Try downloading again then re run the rpm and tar commands. If the proplem persits then try downloading from a different server.

Maxplayer14 09-06-2003 10:47 AM

I found out what was wrong, I was using ASCII instead of Binary.


All times are GMT -5. The time now is 09:24 AM.