It avoids doing mistakes which can lead to severe problems, especially when you don't really know what you're doing. ![]() Here you just want to download and extract an archive, that doesn't need root privileges and you can do it in your home directory. You don't need the z option which indicates a gzip compressed archive since tar will recognize it automatically.įinally, the - preceding options is deprecated AFAIK.Īnother thing: I don't recommend using sudo when it's not really needed. Here, option x use extract mode, v shows more information (name of file being extracted) and f specifies that the following argument is the path to the archive to extract. ![]() The -O argument helps in outputing to the right filename.Īfter that, tar xvf jetty-distribution-9.1.3. should work. Thenceforward you've to use the following command : sudo wget "" -O jetty-distribution-9.1.3.` Going to jetty's download page ( ) indicates as the right download link. The download link needs to be quoted since you use & which is a special in Bash.Tar: Error is not recoverable: exiting command sudo wget is wrong for two reason : Tar (child): Error is not recoverable: exiting now That should list the contents of the tar file if it's. gz will be dropped.) Try the following command to verify the integrity of the tar file: tar tvf apache-tomcat-8.tar. If it succeeds your file will now be named apache-tomcat-8.tar (the. Tar: Error is not recoverable: exiting sudo tar xfz jetty-distribution-9.1.0. (child): jetty-distribution-9.1.0.: Cannot open: No such file or directory If that works then you probably have a typo in the rest of the command. Tar: Error is not recoverable: exiting sudo tar xfz download.php?file=%2Fjetty%2F9.1.0.v20131115%2Fdist%2Fjetty-distribution-9.1.0. Tar: Error is not recoverable: exiting tar -tfz /usr/local/src/jetty-distribution-9.1.0. Tar: z: Cannot open: No such file or directory What am I doing wrong? tar -tfz jetty-distribution-9.1.0. ![]() Below I copy my attempts from the command line. None of the suggested answers is working for me. What am I doing wrong? (I also tried as root but it did not help) Tar: Error is not recoverable: exiting now I get the error tar: z: Cannot open: No such file or directory cd /usr/local/srcīut when I try sudo tar -xfz etty-distribution-9.1.0. I am trying to follow the instructions here to install Jetty on ubuntu but I am running into a problem when I try to use tar.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |