Package Details: debootstrap 1.0.70-1

Package Base: debootstrap
Description: A tool used to create a Debian base system from scratch, without requiring the availability of dpkg or apt
Upstream URL:
Category: system
Licenses: GPL
Submitter: None
Maintainer: dolik.rce
Last Packager: dolik.rce
Votes: 215
First Submitted: 2005-12-18 07:52
Last Updated: 2015-05-20 15:19

Dependencies (4)


Latest Comments

Comment by dolik.rce

2015-04-06 19:43


Thanks for your suggestion, I appliead them almost verbatim - with a small exception of using case when writing the arch file.

Regarding the gpg: Yes it is neccessary to patch debootstrap to use gpgv1. The *-keyring dependencies are definitely optional and don't need to be installed. But when they are, they can save user from some hassle, especially with ubuntu (which requires additional arguments to work with https mirror if I remember correctly).

Comment by Bevan

2015-04-04 00:25


thanks for maintaining this package. I'd like to suggest some small changes. You can get a patch from (apply using patch -p1).

* Create arch file as part of the package and not in install
(It is set as configuration file so custom changes won't be overwritten by pacman)
* Add arch value for armv7h
* Simplify move from /usr/sbin to /usr/bin

Btw: I think we still need the gpg1v stuff in there. I just tried using the gpgv binary (from gnupg2) and it didn't work. Anyway debootstrap falls back to https if gnupg1 is not installed at all.

Comment by XenGi

2015-02-04 23:12

I want to check signatures for packages but it always fails with:

Error executing gpg1v to check Release signature

This seems to be because gpg1v is now called gpgv. I made a symlink and now it works. Just remove these 2 lines from PKGBUILD:

# doesn't work with gpg 2.x, patch to point to gpg1v
sed 's/gpgv/gpg1v/g;' -i "${pkgdir}/usr/bin/debootstrap" "${pkgdir}/usr/share/debootstrap/functions"

Comment by Tigrouzen

2014-12-22 10:55

If you want install Ubuntu don't install ubuntu-keyring or remove it.

Just open with sudoer /usr/bin/debootstrap

Change line 50 & 51 like this


Comment by garyvdm

2014-09-26 08:25

Please add ubuntu-keyring as a optional dep, as it is needed for installing ubuntu releases with debootstrap.

Comment by dolik.rce

2014-06-15 15:04

@strugee: Well, all I can say is that the exact same command works for me (both on i686 and amd64) and that I have no more ideas about what could cause the problem. I'm not sure if upstream maintainers will be willing to support debootstrap on non-Debian distro, but you can give it a try.

One more thing you could try, is to run the debootstrap like this:
sudo bash -xv debootstrap --arch amd64 --foreign wheezy /home/alex/Development/Debian/wheezy-amd64
It will produce much more verbose log, so you can actually see what command failed.

Comment by strugee

2014-06-15 07:49

@dolik.rce all are installed. Should I email the maintainers, do you think?

Comment by dolik.rce

2014-06-15 06:00

> optdepends: An array of package names that are not needed for the software to function but provides additional features.
> deboostrap does nothing but fail with an error if those two packages aren't installed. So those are not optdepends.

I know what optdepends mean. I made those two packages optional because felipec (further down in the comments) specifically stated that for his use-case deboostrap works fine without them. Unfortunately, I don't know what his use-case was, so I can't confirm it is still true.

> Either way, don't know why you're still tracking backports.

Sorry, I just keep forgetting about that...

Comment by dolik.rce

2014-06-15 05:42

@strugee: It looks like debootsrap having problems to decompress the downloaded packages. It works fine on my machine... The only thing that comes to my mind: Debian packages can be compressed using gzip, bzip2, lzma, or xz - are they all installed and accessible on your system?

Comment by strugee

2014-06-15 00:22

Hi, I've tried to use this package but it fails with an error: "stdin: not in compressed format" (in the logs). Full details are here[1]. Any idea why this is happening?


All comments