when I untar doctrine
I always get this error messages
The untar operation works, but I always get this error messages.
Any clues what I do wrong?
3 Answers 3
I would try to unzip and untar separately and see what happens:
Try to get your archive using wget , I had the same issue when I was downloading archive through browser. Than I just copy archive link and in terminal use the command:
I got the error when extracting files on a server subdirectory.
My solution was rather simple.
Make sure tar knows you are talking about the current directory by adding dots and slashes:
Страницы
вторник, 8 апреля 2014 г.
Не распаковывается архив file.tar.gz
При распаковании архива file.tar.gz выдает ошибку:
gzip : stdin : not in gzip format
tar : Child returned status 1
tar : Error is not recoverable : exiting now
file . tar . gz : bzip2 compressed data , block size = 900k
Скачал архив в текущую папку
mkdir -p /opt/phantomjs — папка создалась
а вот tar его не видит:
без ./ — те же.. цеплячьи нежности.
Что делать — не знаю.
- Вопрос задан более года назад
- 511 просмотров
Tar все видит. Тар видит, что файл запакован bzip2 и не может найти bzip2 для распаковки.
Сам по себе tar не умеет, ему нужен bzip2 — установите его в систему и все будет хорошо.