[buildd-tools-devel] Bug#606143: Bug#606143: netbase: Installation in build chroot breaks package builds

Julian Andres Klode jak at debian.org
Tue Dec 7 12:18:37 UTC 2010


On Di, 2010-12-07 at 11:52 +0000, Roger Leigh wrote:
> On Mon, Dec 06, 2010 at 08:21:05PM +0100, Julian Andres Klode wrote:
> > On Mo, 2010-12-06 at 20:07 +0100, Julien Cristau wrote:
> > > On Mon, Dec  6, 2010 at 19:58:30 +0100, Julian Andres Klode wrote:
> > > 
> > > > Package: netbase
> > > > Version: 4.43
> > > > Severity: critical
> > > > 
> > > > I don't really know what happens, but installing netbase
> > > > in a chroot freshly created by cdebootstrap or into an
> > > > old one in use for multiple months results in:
> > > > 
> > > >   Configuration file `/etc/services'
> > > >    ==> File on system created by you or by a script.
> > > >    ==> File also in package provided by package maintainer.
> > > >      What would you like to do about it ?  Your options are:
> > > >       Y or I  : install the package maintainer's version
> > > >       N or O  : keep your currently-installed version
> > > >         D     : show the differences between the versions
> > > >         Z     : start a shell to examine the situation
> > > >    The default action is to keep your current version.
> > > >   *** services (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing netbase (--configure):
> > > >    EOF on stdin at conffile prompt
> > > > 
> > > > I'm attaching the complete log of the failed build.
> > > > 
> > > tell schroot to not mess with the chroot's /etc/services.
> > Reassigning the bug:
> > 
> > $ sudo chroot /srv/chroot/sid ls -l /etc/services
> > ls: cannot access /etc/services: No such file or directory
> > $ schroot -c sid -- ls -l /etc/services
> > -rw-r--r-- 1 root root 17430 Dec  6 19:17 /etc/services
> > $ sudo chroot /srv/chroot/sid ls -l /etc/services
> > ls: cannot access /etc/services: No such file or directory
> > 
> > Worst thing after using -source:
> > $ sudo chroot /srv/chroot/sid ls -l /etc/services
> > ls: cannot access /etc/services: No such file or directory
> > $ schroot -c sid-source -- ls -l /etc/services
> > -rw-r--r-- 1 root root 17430 Dec  6 19:19 /etc/services
> > $ sudo chroot /srv/chroot/sid ls -l /etc/services
> > -rw-r--r-- 1 root root 17430 Dec  6 19:19 /etc/services
> > 
> > This behaviour is not acceptable. It causes build failures.
> 
> Note that sbuild (git master) should have this fixed.  It
> uses dpkg --force-confold on all package installations which
> should prevent this type of installation failure.
> 
> I'll try your failing package with the current sbuild and
> schroot to see if it's fixed.
> 
> I would like to know exactly which versions of sbuild and
> schroot you are using.

sbuild (Debian sbuild) 0.60.5 (14 Nov 2010)
schroot (Debian sbuild) 1.4.15 (21 Okt 2010)

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.







More information about the Buildd-tools-devel mailing list