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

Bug#513498: which_deb: i386 is hardcoded in several places, fails on amd64

Package: debian-cd
Version: 3.1.0
Severity: normal


on my amd64 system, this bit fails:

  ifdef MIRROR
  LATEST_DB := $(MIRROR)/$(shell $(which_deb) $(MIRROR) $(CODENAME) debootstrap)
          @rm -rf $(DB_DIR)
          $(Q)dpkg -x $(LATEST_DB) $(DB_DIR)
          $(Q)if [ ! -e $(DEBOOTSTRAP_DIR) ] ; then \
                  ln -sf share $(DB_DIR)/usr/lib ; \

The reason is because which_deb returns no output.  which_deb has:

  if ($pkg eq "debootstrap") {
      $pkgdata = grab_bin_info($pth, "i386", $pkg);
  } elsif ($pkg eq "silo") {
      $pkgdata = grab_bin_info($pth, "sparc", $pkg);
  } elsif ($pkg eq "syslinux") {
      $pkgdata = grab_bin_info($pth, "i386", "syslinux-common");
      if (length($pkgdata) < 3) {
          $pkgdata = grab_bin_info($pth, "i386", "syslinux");
  } elsif ($pkg eq "yaboot") {
      $pkgdata = grab_bin_info($pth, "powerpc", $pkg);

If I change the 'i386' for debootstrap with 'amd64', then that part
works.  Again I can't say how serious this is because it still fails
later on, and I'm still debugging.



-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages debian-cd depends on:
ii  apt                     0.7.20           Advanced front-end for dpkg
ii  bc                      1.06.94-3        The GNU bc arbitrary precision cal
ii  cpp                     4:4.3.2-2        The GNU C preprocessor (cpp)
ii  curl                    7.18.2-8         Get a file from an HTTP, HTTPS or 
ii  dctrl-tools [grep-dctrl 2.13.1           Command-line tools to process Debi
ii  genisoimage             9:1.1.9-1        Creates ISO-9660 CD-ROM filesystem
ii  libcompress-zlib-perl   2.012-1          Perl module for creation and manip
ii  lynx                    2.8.7dev9-2.1    Text-mode WWW Browser (transitiona
ii  lynx-cur                2.8.7dev9-2.1    Text-mode WWW Browser with NLS sup
ii  make                    3.81-5           The GNU version of the "make" util
ii  perl [libdigest-md5-per 5.10.0-19        Larry Wall's Practical Extraction 
ii  tofrodos                1.7.8.debian.1-1 Converts DOS <-> Unix text files, 

Versions of packages debian-cd recommends:
ii  hfsutils                   3.2.6-11      Tools for reading and writing Maci
ii  netpbm                     2:10.0-12     Graphics conversion tools
ii  syslinux-common            2:3.71+dfsg-5 Kernel loader which uses a FAT, ex

debian-cd suggests no packages.

-- no debconf information

Reply to: