Bug#924279: sbuild-debian-developer-setup fails within docker

2019-03-11 Thread Tong Sun
On Mon, Mar 11, 2019 at 9:00 PM Johannes Schauer wrote:
>
> Quoting Tong Sun (2019-03-12 01:38:06)
> > OH! I found I have to read your comment a second time before realizing what
> > you were saying.
> >
> > OK, going pass that now I'm facing another problem:
> >
> > $ sudo /usr/bin/sbuild-debian-developer-setup
> > . . .
> > I: SUITE: unstable
> > I: TARGET: /srv/chroot/unstable-amd64-sbuild
> > I: MIRROR: http://localhost:3142/deb.debian.org/debian
> > I: Running debootstrap --arch=amd64 --variant=buildd --verbose
> > --include=fakeroot,build-essential,eatmydata --components=main
> > --resolve-deps --no-merged-usr unstable
> > /srv/chroot/unstable-amd64-sbuild
> > http://localhost:3142/deb.debian.org/debian
> > I: Target architecture can be executed
> > I: Retrieving InRelease
> > I: Retrieving Release
> > E: Failed getting release file
> > http://localhost:3142/deb.debian.org/debian/dists/unstable/Release
> > E: Error running debootstrap at /usr/bin/sbuild-createchroot line 424.
> > sbuild-createchroot failed:  at /usr/bin/sbuild-debian-developer-setup line 
> > 53.
> >
> > It failed getting release file.
> >
> > Is it only me getting above? Thx
>
> the package sbuild-debian-developer-setup depends on apt-cacher-ng or
> apt-cacher. Both are apt caching services which provide a local http mirror at
> http://localhost:3142. The error you are getting sounds as if you disabled the
> services after installing them.

Ah, yes!

somehow the apt-cacher-ng service is not started under docker

thanks for your help Johannes!



Bug#924279: sbuild-debian-developer-setup fails within docker

2019-03-11 Thread Johannes Schauer
Quoting Tong Sun (2019-03-12 01:38:06)
> OH! I found I have to read your comment a second time before realizing what
> you were saying.
> 
> OK, going pass that now I'm facing another problem:
> 
> $ sudo /usr/bin/sbuild-debian-developer-setup
> . . .
> I: SUITE: unstable
> I: TARGET: /srv/chroot/unstable-amd64-sbuild
> I: MIRROR: http://localhost:3142/deb.debian.org/debian
> I: Running debootstrap --arch=amd64 --variant=buildd --verbose
> --include=fakeroot,build-essential,eatmydata --components=main
> --resolve-deps --no-merged-usr unstable
> /srv/chroot/unstable-amd64-sbuild
> http://localhost:3142/deb.debian.org/debian
> I: Target architecture can be executed
> I: Retrieving InRelease
> I: Retrieving Release
> E: Failed getting release file
> http://localhost:3142/deb.debian.org/debian/dists/unstable/Release
> E: Error running debootstrap at /usr/bin/sbuild-createchroot line 424.
> sbuild-createchroot failed:  at /usr/bin/sbuild-debian-developer-setup line 
> 53.
> 
> It failed getting release file.
> 
> Is it only me getting above? Thx

the package sbuild-debian-developer-setup depends on apt-cacher-ng or
apt-cacher. Both are apt caching services which provide a local http mirror at
http://localhost:3142. The error you are getting sounds as if you disabled the
services after installing them.


signature.asc
Description: signature


Bug#924279: sbuild-debian-developer-setup fails within docker

2019-03-11 Thread Tong Sun
On Sun, Mar 10, 2019 at 11:13 PM Johannes Schauer wrote:
>
> Quoting Tong Sun (2019-03-10 23:57:17)
> > When I run sbuild-debian-developer-setup within docker, this is what I'll 
> > get:
> >
> > root/# sbuild-debian-developer-setup
> > Please run sudo /usr/bin/sbuild-debian-developer-setup at
> > /usr/bin/sbuild-debian-developer-setup line 40.
> > root/# /usr/bin/sbuild-debian-developer-setup
> > Please run sudo /usr/bin/sbuild-debian-developer-setup at
> > /usr/bin/sbuild-debian-developer-setup line 40.
> >
> > A quick web search reveals that sbuild-debian-developer-setup has been
> > working within docker before so please consider fixing it.
>
> did you consider following the instruction that you see twice in the output
> above?

OH! I found I have to read your comment a second time before realizing
what you were saying.

OK, going pass that now I'm facing another problem:

$ sudo /usr/bin/sbuild-debian-developer-setup
. . .
I: SUITE: unstable
I: TARGET: /srv/chroot/unstable-amd64-sbuild
I: MIRROR: http://localhost:3142/deb.debian.org/debian
I: Running debootstrap --arch=amd64 --variant=buildd --verbose
--include=fakeroot,build-essential,eatmydata --components=main
--resolve-deps --no-merged-usr unstable
/srv/chroot/unstable-amd64-sbuild
http://localhost:3142/deb.debian.org/debian
I: Target architecture can be executed
I: Retrieving InRelease
I: Retrieving Release
E: Failed getting release file
http://localhost:3142/deb.debian.org/debian/dists/unstable/Release
E: Error running debootstrap at /usr/bin/sbuild-createchroot line 424.
sbuild-createchroot failed:  at /usr/bin/sbuild-debian-developer-setup line 53.

It failed getting release file.

Is it only me getting above? Thx



Bug#924279: sbuild-debian-developer-setup fails within docker

2019-03-10 Thread Johannes Schauer
Quoting Tong Sun (2019-03-10 23:57:17)
> When I run sbuild-debian-developer-setup within docker, this is what I'll get:
> 
> root/# sbuild-debian-developer-setup
> Please run sudo /usr/bin/sbuild-debian-developer-setup at
> /usr/bin/sbuild-debian-developer-setup line 40.
> root/# /usr/bin/sbuild-debian-developer-setup
> Please run sudo /usr/bin/sbuild-debian-developer-setup at
> /usr/bin/sbuild-debian-developer-setup line 40.
> 
> A quick web search reveals that sbuild-debian-developer-setup has been
> working within docker before so please consider fixing it.

did you consider following the instruction that you see twice in the output
above?


signature.asc
Description: signature


Bug#924279: sbuild-debian-developer-setup fails within docker

2019-03-10 Thread Tong Sun
Package: sbuild-debian-developer-setup
Version: 0.78.1-1
Severity: normal

Dear Maintainer,

When I run sbuild-debian-developer-setup within docker, this is what I'll get:

root/# sbuild-debian-developer-setup
Please run sudo /usr/bin/sbuild-debian-developer-setup at
/usr/bin/sbuild-debian-developer-setup line 40.
root/# /usr/bin/sbuild-debian-developer-setup
Please run sudo /usr/bin/sbuild-debian-developer-setup at
/usr/bin/sbuild-debian-developer-setup line 40.

A quick web search reveals that sbuild-debian-developer-setup has been
working within docker before so please consider fixing it.

thanks


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-1012-azure (SMP w/2 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8),
LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages sbuild-debian-developer-setup depends on:
ii  apt-cacher-ng   3.2-1
ii  cron [cron-daemon]  3.0pl1-132
ii  perl5.28.1-4
ii  sbuild  0.78.1-1
ii  schroot 1.6.10-6+b1

sbuild-debian-developer-setup recommends no packages.

sbuild-debian-developer-setup suggests no packages.

-- no debconf information