Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i used VPS , and this events is on vps ,
my OS is CentOS x64 , but a thing it's appear , my previous vps was : CentOS x64 and backups stored in a CentOS , 32bit via FTP backup , and now i want restore it in CentOS x64 in my new VPS , and i don't have access to my previous vps ,
at last :
account was in a Centos x64 and stored in a CentOS 32bit via FTP backup , and now i transfered backups ( was stored & created in a 32 bit centos ) to my new vps with centos x64 and i want restore them !
so what's your idea ?
Note :
i used tar tvzf files.tar.gz and gzip -d files.tar.gz , and i see the same error
Code:
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
gunzip: files.tar.gz: invalid compressed data--crc error
gunzip: files.tar.gz: invalid compressed data--length error
tar: Error exit delayed from previous errors
This is a different problem, and really does not belong in this thread.
You are getting CRC checksum errors and length errors. I'm going to go out on a limb and say that your file is bad and was probably truncated. You may not have finished downloading it from your VPS. Is the file as big as you expected it to be?
After some experimentation, I suspect you have a very small file that should have been much bigger. (assuming it really didn't list any filenames) I doubt you have recoverable data. My sympathies.
(And for the record, Base64 has nothing to do with running a 64 bit OS. Email attachments have been encoded that way for many years, regardless of the systems they originated on. Apparently some versions of tar used Base64 way back when. Hence: "obsolescent base-64 headers")
Distribution: Used to use: Ubuntu. Still use: Debian, Other small distros
Posts: 78
Rep:
I had a problem very similar to this. I was trying to unarchive binutils on Base Linux, when it was giving me the errors described in the first post. Simply doing what ashishdugar described above seemed to work. (However, I had to switch some of the tar switches around.) Be warned that tar is VERY picky about where you put its switches! For example, saying tar -fx samplearchive.tar will not work, because x must come before f.
i used VPS , and this events is on vps ,
my OS is CentOS x64 , but a thing it's appear , my previous vps was : CentOS x64 and backups stored in a CentOS , 32bit via FTP backup , and now i want restore it in CentOS x64 in my new VPS , and i don't have access to my previous vps ,
at last :
account was in a Centos x64 and stored in a CentOS 32bit via FTP backup , and now i transfered backups ( was stored & created in a 32 bit centos ) to my new vps with centos x64 and i want restore them !
so what's your idea ?
Note :
i used tar tvzf files.tar.gz and gzip -d files.tar.gz , and i see the same error
Code:
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
gunzip: files.tar.gz: invalid compressed data--crc error
gunzip: files.tar.gz: invalid compressed data--length error
tar: Error exit delayed from previous errors
Please HElp ME
Obvisouly, better not to use the param "--force" when doing rpmbuild.
It worked for me!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.