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

Re: apt is no longer in base system created by debootstrap? (Re: Bug#562143: fails on cowbuilder --create)



On Sun, 27 Dec 2009 05:08:31 +0900
Junichi Uekawa <dancer@netfort.gr.jp> wrote:

> It seems like apt is not installed with debootstrap anymore.

with or by debootstrap?

works for me with plain 'sudo debootstrap sid 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 required dependencies: dash insserv libdb4.7 
I: Found additional base dependencies: libapr1 libaprutil1
libboost-iostreams1.40.0 libdb4.8 libexpat1 liblog4cxx10 libsqlite3-0
libudev0 
I: Checking component main on http://ftp.us.debian.org/debian... 
I: Retrieving libacl1 
I: Validating libacl1 
I: Retrieving adduser
I: Validating adduser
I: Retrieving libaprutil1
I: Validating libaprutil1
I: Retrieving libapr1
I: Validating libapr1
I: Retrieving apt-utils
I: Validating apt-utils
I: Retrieving apt
I: Validating apt
I: Retrieving aptitude
I: Validating aptitude

$ dpkg -l debootstrap
debootstrap               1.0.20

> And it seems to be staying like this.  
> 
> I'm not sure when this happened, but apt used to be
> build-essential=yes but now it's not.

Priority: important

That's usually enough.

debootrap/scripts/debian/sid 
     base="$(get_debs Priority: important)"

> > > At Wed, 23 Dec 2009 07:15:53 +0100,
> > > Soeren Sonnenburg wrote:
> > > > 
> > > > Package: cowbuilder
> > > > Version: 0.60
> > > > Severity: grave
> > > > 
> > > > I guess apt is missing ...
> > > > 
> > > > 
> > > > sudo cowbuilder --create
> > > > 
> > [...]
> > > > I: Configuring libtimedate-perl...
> > > > I: Configuring dpkg-dev...
> > > > I: Configuring build-essential...
> > > > I: Base system installed successfully.
> > > > I: debootstrap finished
> > > > I: copying local configuration
> > > > I: Installing apt-lines
> > > > I: Refreshing the base.tgz 
> > > > I: upgrading packages
> > > > I: mounting /proc filesystem
> > > > I: mounting /dev/pts filesystem
> > > > I: installing dummy policy-rc.d
> > > > chroot: failed to run command `/usr/bin/apt-get': No such file
> > > > or directory I: unmounting dev/pts filesystem
> > > > I: unmounting proc filesystem
> > > > pbuilder create failed
> > > >   forking: rm -rf /var/cache/pbuilder/base.cow 
> > > > 
> > > > 

$ sudo chroot debian/ apt-get update
Get:1 http://ftp.us.debian.org sid Release.gpg [835B]
Hit http://ftp.us.debian.org sid Release
Get:2 http://ftp.us.debian.org sid/main Packages/DiffIndex [2038B]
Fetched 2873B in 1s (1599B/s)
Reading package lists... Done

Not sure what codebuilder / pbuilder is doing otherwise but
default debootstrap seems OK.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/

Attachment: pgpW8oHa8MPow.pgp
Description: PGP signature


Reply to: