LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2004, 02:24 AM   #1
Stauffenberg
LQ Newbie
 
Registered: Aug 2004
Location: Vienna
Distribution: Mandrake 9.2 Gentoo
Posts: 3

Rep: Reputation: 0
unpack tarball error


hi,

i am just trying to install gentoo from a mandrake 9.2 installation but already having problems unpacking the stage2-archive:

tar -xvjbf stage2-i686-2004.2.tar.bz2 /mnt/gentoo
tar: f: Ungültige Blockgröße *

any suggestions?


*that should be 'invalid block size' for you english-speaking folks
 
Old 08-08-2004, 02:32 AM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
tar -xvjf stage2-i686-2004.2.tar.bz2 /mnt/gentoo
 
Old 08-08-2004, 02:35 AM   #3
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
BTW, when sending outputs, either prepending the line with LANG=C or running unset LANG in prompt before helps with the error messages.

eg.
LANG=C tar -xvjbf stage2-i686-2004.2.tar.bz2 /mnt/gentoo
 
Old 08-08-2004, 02:38 AM   #4
Stauffenberg
LQ Newbie
 
Registered: Aug 2004
Location: Vienna
Distribution: Mandrake 9.2 Gentoo
Posts: 3

Original Poster
Rep: Reputation: 0
of course - thx

but actually it should be: tar -xvjpf -p as in preserve ...

but why is the error-message stating f: as the wrong parameter? or does that f: mean something different?
 
Old 08-08-2004, 03:25 AM   #5
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Ubuntu, FreeBSD
Posts: 1,449

Rep: Reputation: 48
It is saying "f" because the very next thing tar expects to see after a b is the blocksize. For example (assuming you needed a block size for your tape device):

tar -cvb 2048 -f /dev/tapedevice /directory_to_backup
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get upgrade error in dpkg (--unpack) for gcc,g++ forgox Debian 4 08-29-2004 05:22 PM
apt-get upgrade error in dpkg (--unpack) for gcc,g++ forgox Linux - Newbie 0 08-28-2004 03:23 PM
RPM unpack error?????? blizunt7 Linux - Newbie 6 04-01-2004 11:09 PM
how to create error log for tarball everythingand2 Linux - Newbie 1 11-22-2003 04:38 PM
tarball error rooman Linux - Newbie 3 04-15-2003 04:50 AM


All times are GMT -5. The time now is 10:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration