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

Bug#357454: debian-cd: debootstrap call in makefile missing target



Package: debian-cd
Version: 2.2.23
Severity: normal

I'm trying to use debian-cd without a complete mirror (actually, I'm using
a Debian-edu cd as my mirror), and debian-cd fails to generate the list of
packages debootstrap need to install. in the Makefile, there is several
calls to debootstrap like this:
  /usr/sbin/debootstrap --arch $(ARCH) --print-debs $(CODENAME) 

if that command is run, you will get and error: 
 finnarne@fajx300:/usr/src/debian-edu/debian-cd$ /usr/sbin/debootstrap \
                                                --arch i386 --print-debs sarge
 I: usage: [OPTION]... <suite> <target> [<mirror> [<script>]]
 I: Try `debootstrap --help' for more information.
 E: You must specify a suite and a target.

Those lines are piped into the list of packages to fetch. 

Adding a target solves the problem:
 /usr/sbin/debootstrap --arch $(ARCH) --print-debs $(CODENAME) $(TMP)/tmpstrap

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=nb_NO, LC_CTYPE=nb_NO (charmap=ISO-8859-1)

Versions of packages debian-cd depends on:
ii  apt                       0.6.43.3       Advanced front-end for dpkg
ii  apt-utils                 0.6.43.3       APT utility programs
ii  bc                        1.06-19        The GNU bc arbitrary precision cal
ii  cpp                       4:4.0.2-2      The GNU C preprocessor (cpp)
ii  debootstrap               0.3.3          Bootstrap a basic Debian system
ii  grep-dctrl                2.6.7          Grep Debian package information
ii  lynx                      2.8.5-2sarge1  Text-mode WWW Browser
ii  make                      3.80+3.81.b4-1 The GNU version of the "make" util
ii  mkisofs                   4:2.01+01a03-5 Creates ISO-9660 CD-ROM filesystem
ii  perl [libdigest-md5-perl] 5.8.8-2        Larry Wall's Practical Extraction 
ii  sysutils                  2.0.1          Miscellaneous small system utiliti

Versions of packages debian-cd recommends:
ii  debianutils                   2.15.3     Miscellaneous utilities specific t
pn  hfsutils                      <none>     (no description available)
ii  jigdo-file                    0.7.2-2    Download Debian CD images from any

-- no debconf information



Reply to: