[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#480998: some debootstrap variants fail when run under sudo



Package: debootstrap
Version: 1.0.8
Severity: important


Some of the variants fail when run using sudo, instead of when logged in as
root. In particular, buildd and the standard install will fail, while minbase
will succeed.

$ sudo debootstrap --arch=i386 --variant=buildd --include=sudo,locales,less sid sid-build-ia32 http://mirrors.kernel.org/debian/ 
I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional base dependencies: bzip2 cpp-4.2 debian-archive-keyring g++-4.2 gcc-4.2 gnupg gpgv libbz2-1.0 libgcrypt11 libgdbm3 libgnutls26 libgpg-error0 libldap-2.4-2 libopencdk10 libreadline5 libsasl2-2 libstdc++6-4.2-dev libtasn1-3 libtimedate-perl libusb-0.1-4 linux-libc-dev lzma readline-common 
I: Checking component main on http://mirrors.kernel.org/debian...
[snip]
I: Configuring libopencdk10...
I: Configuring libgnutls26...
I: Configuring libldap-2.4-2...
I: Configuring gnupg...
I: Configuring debian-archive-keyring...
I: Configuring apt...
I: Configuring g++-4.2...
I: Configuring g++...
I: Configuring libstdc++6-4.2-dev...
W: Failure while configuring base packages.
W: Failure while configuring base packages.
W: Failure while configuring base packages.
W: Failure while configuring base packages.
W: Failure while configuring base packages.

Note that if the user is root, rather than a mortal using sudo, the same
commands succeed. This obviously shouldn't be the case.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (700, 'unstable'), (600, 'stable'), (550, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debootstrap depends on:
ii  binutils         2.18.1~cvs20080103-4+b1 The GNU assembler, linker and bina
ii  wget             1.11.1-1                retrieves files from the web

debootstrap recommends no packages.

-- no debconf information



Reply to: