Package: module-assistant
Version: 0.10.8

The exit code of module-assistant prepare changes when adding the
--non-inter argument.  It return success without it, and 249 when it
is present.  Here is the output from two test runs:

  # module-assistant --text-mode --non-inter prepare ; echo $?
  Getting source for kernel version: 2.6.18-4-686
  Kernel headers available in /lib/modules/2.6.18-4-686/build
  apt-get-y install build-essential

  Done!
  249
  # module-assistant --text-mode prepare ; echo $?
  Getting source for kernel version: 2.6.18-4-686
  Kernel headers available in /lib/modules/2.6.18-4-686/build
  apt-get install build-essential
  Reading package lists... Done
  Building dependency tree... Done
  build-essential is already the newest version.
  0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

  Done!
  0
  #

I would like to run it in interactive mode from a script and check if
the prepare run succeed, and this is impossible at the moment.

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

Versions of packages module-assistant depends on:
ii  libtext-wrapi18n-perl         0.06-5     internationalized substitute of Te
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction

Versions of packages module-assistant recommends:
ii  liblocale-gettext-perl        1.05-1     Using libc functions for internati

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to