Tar child returned status 1 tar error is not recoverable exiting now

Прушу помощи, скачиваю я значит архив с tar.gz расширением скачаться должен вроде один архив, а скачиваются два eclipse-jee-mars-R-linux-gtk.tar.gz и eclipse-jee-mars-R-linux-gtk.tar.gz.part попытался разорхивировать: Подскажите пожалуйста в чем проблема, буду очень признателен.
  • Печать

Страницы: [1] 2  Все   Вниз

Тема: Проблема с tar.gz архивами.  (Прочитано 5597 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
orionit

Прушу помощи, скачиваю я значит архив с tar.gz расширением скачаться должен вроде один архив, а скачиваются два
eclipse-jee-mars-R-linux-gtk.tar.gz и eclipse-jee-mars-R-linux-gtk.tar.gz.part
попытался разорхивировать:

tar xvf eclipse-jee-mars-R-linux-gtk.tar.gz пишет:

tar: Это не похоже на tar-архив

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now


Подскажите пожалуйста в чем проблема, буду очень признателен.

Всем добра как у бобра, а если вы и без добра добры, значит вы в душе бобры.


Оффлайн
Xroot

Похоже что архив не докачивается. Попробуйте скачать его с помощью wget.


Оффлайн
orionit

А как это сделать не поясните?

Всем добра как у бобра, а если вы и без добра добры, значит вы в душе бобры.


Оффлайн
Xroot

А как это сделать не поясните?

wget ссылка


Оффлайн
orionit

Не получилось всеравно ошибку выдает.

Всем добра как у бобра, а если вы и без добра добры, значит вы в душе бобры.


Оффлайн
Xroot

Не получилось всеравно ошибку выдает.

Киньте ссылочку на файл попробую у себя посмотреть.


Оффлайн
orionit

https://eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/mars/R/eclipse-jee-mars-R-linux-gtk.tar.gz&mirror_id=1144
Вот ссылочка.

Всем добра как у бобра, а если вы и без добра добры, значит вы в душе бобры.


Оффлайн
Xroot


Все нормально распаковалось. Значит у Вас нет какого-то архиватора. Попробуйте установить p7zip.


Оффлайн
orionit

А не подскажите как поставить архиватор?

Всем добра как у бобра, а если вы и без добра добры, значит вы в душе бобры.


Оффлайн
Xroot

А не подскажите как поставить архиватор?

Точное название пакеты в ubuntu не скажу, ибо у меня другой дистрибутив.
Но скорее всего что-то типа этого:

sudo apt-get install p7zip
или

sudo apt-get install p7zip-full


Пользователь решил продолжить мысль 02 Июля 2015, 02:03:51:


Можете еще в synaptic или в других графических пакетных менеджерах поискать 7zip.


Оффлайн
orionit

Всеравно после всех обновлений эта-же ошибка я не понимаю что ни так.

Всем добра как у бобра, а если вы и без добра добры, значит вы в душе бобры.


Оффлайн
Xroot

Всеравно после всех обновлений эта-же ошибка я не понимаю что ни так.

В вашем выхлопе вроде указан gzip(т.е он должен быть установлен), но все равно проверьте установлен ли пакет gzip.


Оффлайн
orionit

Я писал:

sudo apt-get install gzipвыдало:

Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
Уже установлена самая новая версия gzip.
Следующие пакеты устанавливались автоматически и больше не требуются:
  linux-headers-generic-lts-utopic linux-image-generic-lts-utopic
Для их удаления используйте «apt-get autoremove».
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 316 пакетов не обновлено.

Всем добра как у бобра, а если вы и без добра добры, значит вы в душе бобры.


Оффлайн
Xroot

Проверьте md5sum скачанного архива. Она должна быть:

379a7bbaef29d003bb8d85421e8a6d0c

PS.:

md5sum скачанный файл.


Оффлайн
orionit

Архив распаковался но очень сильно потрепал мне нервы, я сижу в консоли пытаюсь разорхевировать и вылетает ошибка, а потом менут через 5 открывается архив с программой.
Просто баг наверное, только не знаю как его устранить.  :-


Пользователь решил продолжить мысль [time]02 Июль 2015, 16:22:59[/time]:


« Последнее редактирование: 02 Июля 2015, 15:25:23 от orionit »

Всем добра как у бобра, а если вы и без добра добры, значит вы в душе бобры.


  • Печать

Страницы: [1] 2  Все   Вверх

frank56

Posts: 193
Joined: 2009-03-27 17:51

Solved can’t extract a tar file

#1

Post

by frank56 » 2011-03-26 17:51

I get a message this does not look like a tar file. Here is my terminal output. I also am using Squeeze 6.0

root@debian:/home/frank/Downloads# tar -xvf Sprint4GDeveloperPack-1.6.1.2A.tar.gz

tar: This does not look like a tar archive

gzip: stdin: unexpected end of file

tar: Child returned status 1

tar: Error is not recoverable: exiting now

root@debian:/home/frank/Downloads#

I tried google and searching debian forum.

Last edited by frank56 on 2011-03-26 22:49, edited 1 time in total.

Hi! my name if Frank. I have tried before to jump into linux about 8 years ago, but gave up after not being able to get hardware going. Now I will try again, and feel a need to learn to do more from the command line Frank




frank56

Posts: 193
Joined: 2009-03-27 17:51

Re: can’t extract a tar file

#4

Post

by frank56 » 2011-03-26 19:37

Thanks Alex and 4D. I tried both of your suggestions, hoping its not too late. Here is the results:

frank@debian:~/4Gmodem$ ls

Sprint4GDeveloperPack-1.6.1.2A.tar.gz

frank@debian:~/4Gmodem$ tar -xzvf Sprint4GDeveloperPack-1.6.1.2A.tar.gz

gzip: stdin: unexpected end of file

tar: Child returned status 1

tar: Error is not recoverable: exiting now

frank@debian:~/4Gmodem$

Hi! my name if Frank. I have tried before to jump into linux about 8 years ago, but gave up after not being able to get hardware going. Now I will try again, and feel a need to learn to do more from the command line Frank



frank56

Posts: 193
Joined: 2009-03-27 17:51

Re: can’t extract a tar file

#6

Post

by frank56 » 2011-03-26 22:09

I am following this tip on another website. I don’t know if it answer part of your question.

rank@debian:~$ echo «hallo» > tempfile

frank@debian:~$ tar cvf tempfile.tar tempfile

tempfile

frank@debian:~$ gzip tempfile.tar

frank@debian:~$ tar zxvf tempfile.tar.gz

tempfile

frank@debian:~$ ls

4Gmodem Documents Music Public tempfile.tar.gz Videos

Desktop Downloads Pictures tempfile Templates

frank@debian:~$

I also typed …type tar and got .. tar is hashed (/bin/tar). I will try other tar files if I find some.

Hi! my name if Frank. I have tried before to jump into linux about 8 years ago, but gave up after not being able to get hardware going. Now I will try again, and feel a need to learn to do more from the command line Frank



frank56

Posts: 193
Joined: 2009-03-27 17:51

Solved Re: can’t extract a tar file

#8

Post

by frank56 » 2011-03-26 22:49

Thanks everyone. I had cancelled download. I did a new download, following all the tips everyone gave me, and I got this.

frank@debian:~/second_clear4g$ ls

install.sh Sprint4GDeveloperPack-1.6.1.2A.tar.gz

passphrase-o-tron Sprint4GMBBUtilities.tar.gz

patches SprintMobileBroadband3GSetupGuide-Linux-1.4.2.pdf

README.txt SprintMobileBroadband4GSetupGuide-Linux-1.3.pdf

Rel_6.1.2_USB.zip Wimax_Network_CAs.tar.gz

ReleaseNotes.txt

Now I will see if can make this a deb package, using Soul Searchings tips or other. Or somehow get connection manager to work. for Clearwire instead of Sprint.

Hi! my name if Frank. I have tried before to jump into linux about 8 years ago, but gave up after not being able to get hardware going. Now I will try again, and feel a need to learn to do more from the command line Frank



Are you facing an error which says that gzip: stdin : not in gzip format -tar: error is not recoverable: exiciting now? When you find any error on your PC, including this error, of course you have to fix it so that it can work well again. Now, how about this error? How to solve this error?

Well, when we tried to search about the solution about this error, actually there are a lot of people who discuss about it in forums. Here are the problems and also the solutions that some other people give in the forums that you may try to apply for solving this error.

SOLVE gzip stdin not in gzip format centos 7 - tar error is not recoverable exiting now

A user named ServerSideSkittles in Stack Overflow tells that he has a bash script which creates a tar.gz and encrypts then sends to drive. But, he cannot open the .tar.gz afterwards. In that forum, he shows the process including the scripts. And then, when he tries this:

sudo tar -zxvf red-backup-2016-09-22.tar.gz, he gets this:

gzip: stdin: not in gzip format

tar: Child returned status 1

tar: Error is not recoverable: exiting now

Then, there are some people who try to give him some solutions. Roopendra says that this error happens might be because of his gzip version incompatibity. So, he can check points first: which gzip /usr/bin/gzip or /bin/gzip. It should be either /bin/gzip or /usr/bin/gzip. In case your gzip points to some other gzip application, he suggests to try by removing that path from your PATH env variable. Furthermore, he also suggest to do the next thing which is gzip -V. Gzip 1.3.5 (2002-09-30). He says that his problem is able to be resilve with these check points.

Souvik, another user, also tries to give solution. He says that when this error comes up, it means that the file is not really a gzipped tar file or, any kind of gzipped file, even though being named like one. In addition, he says that when he downloads a file with wget, he has to check for indications like Length: unspecified [text/html] which displays it is plain text and that it is supposed to be interpreted as html. Also, check file, head, less, view utilities to be able to check the file. Then, he also suggests to try downloading from the official site and then check whether the download links have changed. Also, he suggests to check proxy seting and make sure that you have the correct proxies enabled to download/wget it from the right source.

Then, Kamran Kausar, also give his suggestion about this error. He suggests to check the type of compression by using this file command:

 file name_name.tgz

O/P- If output is “XZ compressed data”

And then you have to use tar xf <archive name> to be able to unzip the file, for example:

  • tar xf archive.tar.xz
  • tar xf archive.tar.gz
  • tar xf archive.tar
  • tar xf archive.tgz

In the It’s Foss site, there is also a story about this error. Someone has a problem where when he tries to unzip a file MyFile.tar.gz which looks like a gzipped file by the name. However, while he is unzipping, he finds an error ‘gzip stdin not in gzip format’. The error means that the file is not in gZipped format. So, which format is it in? To be able to find out, you are able to run the file command on it:

file MyFile.tar.gz

MyFile.tar.gz: POSIX tar archive (GNU)

The reason of this error is quite evident. The file is not a gzipped file but it is a POSIX tar archive file. It means that it was not zipped at all but instead it was compressed using tar. It was simply renamed afterwards. The creator of the file may want to gzip a directory. However, he could not do that since the directory must be archived by using tar first. So, the solution is because it was not a gzipped file, a simple tar can extract the file:

tar xvf MyFile.tar.gz

So, you are able to run the file command on your file and see what kind of archive file it is. In case you see that your file too is in POSIX tar archive format, you are able to use the similar command that he used in the example above. However, in case it is in some other archive format, you are able to run the suitable command to extract the archive file.

In the Askubuntu, there is also a discussion about it. He says that when he runs this: tar -zxvf john-1.7.0.2.tar.gz and then he get this:

gzip: stdin: not in gzip format

tar: Child returned status 1

tar: Error is not recoverable: exiting now

Another user named Eliah Kagan, gives the suggestion to solve this problem as you can see below.

  • You have to diagnose a Downloading File of the Wrong Type. It means that the file is not really a gzipped tar file. You are able to use the file utility which examines a file and tells you what kind of file it looks to be.
  • You have to get the right file. It tells you how to find what went wrong in these conditions. You may wonder how to find and download the correct file. It varies from situation to situation. However, you are able to do the things below for a good start.

– First, you have to access the official site for the software and then see whether they provide download links. Even if you do it before, however, you need to know that if some time has passsed, you may find that the link has changed.

– Then, you have to go to the page that you were redirected to when you downloaded the file. In this case, that is www.openwall.com/john/. Or, you are able to examine the file that was downloaded or you are able to open it in a web browser.

    • Note that you do not always need to build from source. Sometimes, you want the recent version of a program and it is not in Ubuntu’s repositories. You may try to find a PPS, but if you do not find any you really trust or you want to build it with custom options, or you really like building from source code, then building from source code is valuable and useful technique. So, it is recommended to check at least the software that is available in Ubuntu’s offficial repositories for your system.

Alfin Dani

AUTHOR BIO

On my daily job, I am a software engineer, programmer & computer technician. My passion is assembling PC hardware, studying Operating System and all things related to computers technology. I also love to make short films for YouTube as a producer. More at about me…

Понравилась статья? Поделить с друзьями:
  • Tapi initialization error prolog
  • Tape loading error
  • Tape error на bmw e39
  • Tap0901 error failed to uninstall driver
  • Tap устройство домена vpn выключено hamachi как исправить