Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6125

Ubuntu issue with .tar.bz2 [closed]

$
0
0

I am running through the LinkedIn learning "intro to linux" course and I'm on the tar video/practice. For some reason .tar.bz2 creates an empty archive and then I get an error when I try to unpack it.

It has me run in my Ubuntu VM:

tar -caf myfiles.tar /Exercise\ Files/tar -caf myfiles.tar.bz2 /Exercise\ Files/tar -caf myfiles.tar.gz /Exercise\ Files/mv myfiles.tar.bz2 /unpack1cd /unpack1tar -xf myfiles.tar.bz2

After creating the three archives, the video has me ls -l to show they were created and that something is actually in them. The first issue is that the .tar.bz2 archive shows as empty.The second is when I try tar -xf myfiles.tar.bz2 I get an error tar: this doesn't look like a tar archive. tar (child): Bzip2 cannot exec: no such file or directory.

Is there something I'm missing or need to install? I also noticed the archive sizes were slightly different (his showed like 117k and mine showed 170k).


Viewing all articles
Browse latest Browse all 6125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>