LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-30-2008, 04:57 AM   #1
luispt
LQ Newbie
 
Registered: Apr 2008
Posts: 10

Rep: Reputation: 0
Question How to use Deboostrap option to make deb's Tarball file


Yesterday I was playing around with deboostrap and in the manpage I discover the following OPTION:

--make-tarball FILE
Instead of bootstrapping, make a tarball (written to FILE) of the downloaded packages. The resulting tarball may be passed to a later --unpack-tarball.

I think this is fantastic, since I could just download once the instalation deb's and then make several instalations on other computers (instead of make 10 downloads I would do just one).

The problem is that when I use the "--make-tarball:" option the debootstrap returns a error: saying that an argument is necessary to the "--make-tarball" option.

I think it should be something like this:
Code:
sudo debootstrap --arch=i386 --make-tarball:/home/user/backup.tar.gz hardy /home/user/my_debootstrap
I think that with this command, debootstrap will create a tarball file with name backup.tar.gz in /home/user.

but I've tried several times and always give the same error:
--unpack-tarball needs an argument.


Can anybody help me with this? I've searched entire web and I couldn't found any good or valid example with --make-tarball option.

Thanks in advance for your help.


(Linux: giving advantage to human beings)
 
Old 07-30-2008, 10:56 PM   #2
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
you need an = instead of a : and I don't know if you can compress it on the fly, you might have to compress it afterward

sudo debootstrap --arch=i386 --make-tarball=/home/user/backup.tar hardy /home/user/my_debootstrap
sudo gzip backup.tar
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make install does not install daemons (clamd snortd). Is this a feature of tarball? Emmanuel_uk Linux - Newbie 3 11-15-2005 01:29 AM
How to del all the files expanded by an tarball file? hkl8324 Debian 18 06-14-2005 05:36 AM
Unable to build RPM file from tarball tkt Linux - Newbie 1 04-26-2005 02:29 AM
how to make rpm package from source tarball? demmylls Linux - General 2 03-10-2004 11:31 AM
how to make RPM packages off a tarball? chupacabra Linux - General 2 10-15-2002 11:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:33 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
Open Source Consulting | Domain Registration