tar (child): boot.tar.bz2: Cannot open - error help
UbuntuThis forum is for the discussion of Ubuntu Linux.
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 see...
Device Mount point Size /dev/sda none 305245MB /dev/sda1 none 10000MB /dev/sda2 none 247569MB /dev/sda3 none 47674MB /dev/sda5 / 43837MB /dev/sda6 none 3836MB /dev/sdb none 7580MB /dev/sdb1 none 7576MB /dev/sr0 none 0MB Are you 100% sure, on selecting [/dev/sdb] (y/n)? y
It all looks good to here but then I get this after pressing Y
Code:
tar (child): boot.tar.bz2: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now Traceback (most recent call last): File "./linaro-image-tools/linaro-android-media-create", line 130, in <module> unpack_android_binary_tarball(args.boot, BOOT_DIR) File "/home/dale/linaro-image-tools/linaro_image_tools/media_create/unpack_binary_tarball.py", line 27, in unpack_android_binary_tarball proc.wait() File "/home/dale/linaro-image-tools/linaro_image_tools/cmd_runner.py", line 100, in wait raise SubcommandNonZeroReturnValue(self._my_args, returncode) linaro_image_tools.cmd_runner.SubcommandNonZeroReturnValue: Sub process "['sudo', '-E', 'tar', '--numeric-owner', '-C', '/tmp/tmpyBoH6B/boot', '-jxf', 'boot.tar.bz2']" returned a non-zero value: 2
Can someone help me with the first error to start?
If you are in the advanced editor press the #-button above the text field. This will put code-tags ([code][/code]) into the text field, put code or ouput between those tags. This will preserve the format and put scrollbars on those boxes.
To the actual question, in which directory do you launch the command?
Than that is the mistake. If the files are in the downloads directory then you have to go there to launch the command or you have to specify the path to the files in the command.
I am not an Ubuntu user, but I assume that your downloads directory is the directory Downloads in your home directory.
In this case you have to use either:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.