[Buildd-tools-devel] Bug#355038: updatechroot doesn't cope with file:/ deb sources lines in the chroot

Martin Michlmayr tbm at cyrius.com
Thu Mar 2 22:43:48 UTC 2006


Package: sbuild
Version: 0.36
Severity: minor

I'm trying to build the archive on mips with GCC 4.1; the latest
version is currently not in experimental, so I simply created a
/build/apt respository with the .debs in it.  While running "apt-get
update" from within the changeroot, updatechroot doesn't cope with
this situation:

185:tbm at bigsur: ~/debian/build] /usr/share/sbuild/updatechroot unstable
Ign file: gcc-4.1 Release.gpg
Ign file: gcc-4.1 Release
Ign file: gcc-4.1/main Packages
Err file: gcc-4.1/main Packages
  File not found
Hit ftp://ftp-uxsup.csx.cam.ac.uk unstable Release.gpg
Hit ftp://ftp-uxsup.csx.cam.ac.uk unstable Release
Hit ftp://ftp-uxsup.csx.cam.ac.uk unstable/main Packages
Hit ftp://ftp-uxsup.csx.cam.ac.uk unstable/main Sources
Failed to fetch file:/build/apt/dists/gcc-4.1/main/binary-mips/Packages.gz  File not found
Reading package lists... Done
W: Couldn't stat source package list file: gcc-4.1/main Packages (/home/tbm/build/chroot-unstable/var/lib/apt/lists/_build_apt_dists_gcc-4.1_main_binary-mips_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
zsh: exit 100   /usr/share/sbuild/updatechroot unstable


And then after running "apt-get update" in the chroot:

186:tbm at bigsur: ~/debian/build] /usr/share/sbuild/updatechroot unstable
Ign file: gcc-4.1 Release.gpg
Ign file: gcc-4.1 Release
Ign file: gcc-4.1/main Packages
Err file: gcc-4.1/main Packages
  File not found
Get:1 ftp://ftp-uxsup.csx.cam.ac.uk unstable Release.gpg [189B]
Hit ftp://ftp-uxsup.csx.cam.ac.uk unstable Release
Hit ftp://ftp-uxsup.csx.cam.ac.uk unstable/main Packages
Hit ftp://ftp-uxsup.csx.cam.ac.uk unstable/main Sources
Fetched 189B in 0s (1375B/s)
Failed to fetch file:/build/apt/dists/gcc-4.1/main/binary-mips/Packages.gz  File not found
Reading package lists... 99%
187:tbm at bigsur: ~/debian/build]



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages sbuild depends on:
ii  adduser                       3.80       Add and remove users and groups
ii  apt                           0.6.43     Advanced front-end for dpkg
ii  dpkg-dev                      1.13.11    package building tools for Debian
ii  grep-dctrl                    2.6.7      Grep Debian package information
ii  perl                          5.8.7-10   Larry Wall's Practical Extraction 
ii  postfix [mail-transport-agent 2.2.6-1    A high-performance mail transport 
ii  sudo                          1.6.8p9-4  Provide limited super user privile

Versions of packages sbuild recommends:
ii  debootstrap                   0.3.3      Bootstrap a basic Debian system
ii  fakeroot                      1.5.6      Gives a fake root environment

-- no debconf information

-- 
Martin Michlmayr
http://www.cyrius.com/




More information about the Buildd-tools-devel mailing list