Package: runit-run
Version: 1.0.0
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts piuparts.d.o

Hi, 

during a test with piuparts I noticed your package failed to install. 

From the attached log (scroll to the bottom...):

  Unpacking runit-run (from .../runit-run_1.0.0_all.deb) ...
  
  This package diverts sysvinit's /sbin/init program.  After the first
  installation of the runit-run package, migrate essential services from
  sysvinit to runit, so that these will get started after reboot.  Then,
  use
  
   # /sbin/init.sysv 6
  
  to reboot the system with runit as process no 1.
  
  Please read the runit documentation before proceeding:
  
    http://smarden.org/runit/
  
  Press ENTER to continue, press Ctrl-C to abort... dpkg: error 
processing /var/cache/apt/archives/runit-run_1.0.0_all.deb (--unpack):
   subprocess new pre-installation script returned error exit status 1
  Errors were encountered while processing:
   /var/cache/apt/archives/runit-run_1.0.0_all.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)


I understand what you are trying to do, but this is the wrong way. 
Quoting: Policy 3.9.1 Prompting in maintainer scripts:

 Package maintainer scripts may prompt the user if necessary. Prompting must 
be done by communicating through a program, such as debconf, which conforms 
to the Debian Configuration Management Specification, version 2 or higher.


regards,
        Holger
Start: 2009-05-27 02:46:19 UTC

Package: runit-run
Priority: optional
Section: admin
Installed-Size: 180
Maintainer: Gerrit Pape <p...@smarden.org>
Architecture: all
Version: 1.0.0
Replaces: daemontools-run
Depends: runit (>= 1.8.0-3), sysv-rc, initscripts
Recommends: fgetty
Filename: pool/main/r/runit-run/runit-run_1.0.0_all.deb
Size: 11250
MD5sum: c9c463b01fea1e65828bc0b5602335a4
SHA1: 37127b90fa09c6b6281109254735812a2937f2dc
SHA256: 192c205dda5f7314bb8023b1538f6d640f77c373a2a884c3a82db4e092ad7381
Description: a UNIX init scheme with service supervision
 runit is a replacement for SysV-init and other init schemes.  It runs on
 Debian GNU/Linux, *BSD, MacOSX, and Solaris, and may be easily adapted
 to other Unix operating systems.  runit implements a simple three-stage
 concept.  Stage 1 performs the system's one-time initialization tasks.
 Stage 2 starts the system's uptime services (via the runsvdir program).
 Stage 3 handles the tasks necessary to shutdown and halt or reboot.
 .
 See http://smarden.org/runit/ for more information.
 .
 This package replaces the /sbin/init program and configures runit to run
 as process no 1 after the next reboot.
Tag: admin::boot, interface::daemon, network::server, role::program

Executing: sudo /org/piuparts.debian.org/sbin/piuparts --no-symlinks --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp -ad sid -b sid.tar.gz --mirror http://piatti.debian.org/debian/ runit-run
Guessed: debian
0m0.0s INFO: ------------------------------------------------------------------------------
0m0.0s INFO: To quickly glance what went wrong, scroll down to the bottom of this logfile.
0m0.0s INFO: FAQ available at http://wiki.debian.org/piuparts/FAQ
0m0.0s INFO: ------------------------------------------------------------------------------
0m0.0s INFO: piuparts version 0.36~20090526 starting up.
0m0.0s INFO: Command line arguments: /org/piuparts.debian.org/sbin/piuparts --no-symlinks --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp -ad sid -b sid.tar.gz --mirror http://piatti.debian.org/debian/ runit-run
0m0.0s INFO: Running on: Linux piatti 2.6.29.4-dsa-amd64 #1 SMP Mon May 25 13:46:27 CEST 2009 x86_64
0m0.0s DEBUG: Created temporary directory /org/piuparts.debian.org/tmp/tmpu_NPvK
0m0.0s DEBUG: Unpacking sid.tar.gz into /org/piuparts.debian.org/tmp/tmpu_NPvK
0m0.0s DEBUG: Starting command: ['tar', '-C', '/org/piuparts.debian.org/tmp/tmpu_NPvK', '-zxf', 'sid.tar.gz']
0m3.2s DEBUG: Command ok: ['tar', '-C', '/org/piuparts.debian.org/tmp/tmpu_NPvK', '-zxf', 'sid.tar.gz']
0m3.2s DEBUG: Created policy-rc.d and chmodded it.
0m3.2s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'apt-get', 'update']
0m16.8s DUMP: 
  Get:1 http://piatti.debian.org sid Release.gpg [1032B]
  Get:2 http://piatti.debian.org sid Release [94.4kB]
  Ign http://piatti.debian.org sid/main Packages/DiffIndex
  Ign http://piatti.debian.org sid/contrib Packages/DiffIndex
  Ign http://piatti.debian.org sid/non-free Packages/DiffIndex
  Get:3 http://piatti.debian.org sid/main Packages [7704kB]
  Get:4 http://piatti.debian.org sid/contrib Packages [71.6kB]
  Get:5 http://piatti.debian.org sid/non-free Packages [127kB]
  Fetched 7999kB in 1s (7354kB/s)
  Reading package lists...
0m16.8s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'apt-get', 'update']
0m16.8s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'mount', '-t', 'proc', 'proc', '/proc']
0m16.8s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'mount', '-t', 'proc', 'proc', '/proc']
0m16.8s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'apt-get', '-yf', 'upgrade']
0m22.2s DUMP: 
  Reading package lists...
  Building dependency tree...
  Reading state information...
  The following packages will be upgraded:
    debianutils dpkg gcc-4.4-base libc6 libgcc1 libncurses5 libstdc++6 login
    ncurses-base ncurses-bin passwd sed
  12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  Need to get 10.6MB of archives.
  After this operation, 471kB disk space will be freed.
  WARNING: The following packages cannot be authenticated!
    debianutils dpkg login ncurses-bin sed gcc-4.4-base libgcc1 libstdc++6 libc6
    libncurses5 ncurses-base passwd
  Authentication warning overridden.
  Get:1 http://piatti.debian.org sid/main debianutils 3.1.3 [48.7kB]
  Get:2 http://piatti.debian.org sid/main dpkg 1.15.2 [2191kB]
  Get:3 http://piatti.debian.org sid/main login 1:4.1.4.1-1 [758kB]
  Get:4 http://piatti.debian.org sid/main ncurses-bin 5.7+20090523-1 [308kB]
  Get:5 http://piatti.debian.org sid/main sed 4.2-1 [259kB]
  Get:6 http://piatti.debian.org sid/main gcc-4.4-base 4.4.0-5 [108kB]
  Get:7 http://piatti.debian.org sid/main libgcc1 1:4.4.0-5 [53.5kB]
  Get:8 http://piatti.debian.org sid/main libstdc++6 4.4.0-5 [341kB]
  Get:9 http://piatti.debian.org sid/main libc6 2.9-12 [4938kB]
  Get:10 http://piatti.debian.org sid/main libncurses5 5.7+20090523-1 [356kB]
  Get:11 http://piatti.debian.org sid/main ncurses-base 5.7+20090523-1 [180kB]
  Get:12 http://piatti.debian.org sid/main passwd 1:4.1.4.1-1 [1047kB]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 10.6MB in 0s (46.7MB/s)
  Can not write log, openpty() failed (/dev/pts not mounted?)
  (Reading database ... 5834 files and directories currently installed.)
  Preparing to replace debianutils 3.1.2 (using .../debianutils_3.1.3_amd64.deb) ...
  Unpacking replacement debianutils ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up debianutils (3.1.3) ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  (Reading database ... 5834 files and directories currently installed.)
  Preparing to replace dpkg 1.14.26 (using .../archives/dpkg_1.15.2_amd64.deb) ...
  Unpacking replacement dpkg ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up dpkg (1.15.2) ...
  Installing new version of config file /etc/logrotate.d/dpkg ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  (Reading database ... 5831 files and directories currently installed.)
  Preparing to replace login 1:4.1.3.1-1 (using .../login_1%3a4.1.4.1-1_amd64.deb) ...
  Unpacking replacement login ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up login (1:4.1.4.1-1) ...
  Installing new version of config file /etc/login.defs ...
  Installing new version of config file /etc/securetty ...
  Installing new version of config file /etc/pam.d/login ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  (Reading database ... 5830 files and directories currently installed.)
  Preparing to replace ncurses-bin 5.7+20090425-1 (using .../ncurses-bin_5.7+20090523-1_amd64.deb) ...
  Unpacking replacement ncurses-bin ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up ncurses-bin (5.7+20090523-1) ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  (Reading database ... 5830 files and directories currently installed.)
  Preparing to replace sed 4.1.5-8 (using .../archives/sed_4.2-1_amd64.deb) ...
  Unpacking replacement sed ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up sed (4.2-1) ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  (Reading database ... 5833 files and directories currently installed.)
  Preparing to replace gcc-4.4-base 4.4.0-3 (using .../gcc-4.4-base_4.4.0-5_amd64.deb) ...
  Unpacking replacement gcc-4.4-base ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up gcc-4.4-base (4.4.0-5) ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  (Reading database ... 5833 files and directories currently installed.)
  Preparing to replace libgcc1 1:4.4.0-3 (using .../libgcc1_1%3a4.4.0-5_amd64.deb) ...
  Unpacking replacement libgcc1 ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up libgcc1 (1:4.4.0-5) ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  (Reading database ... 5833 files and directories currently installed.)
  Preparing to replace libstdc++6 4.4.0-3 (using .../libstdc++6_4.4.0-5_amd64.deb) ...
  Unpacking replacement libstdc++6 ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up libstdc++6 (4.4.0-5) ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  (Reading database ... 5833 files and directories currently installed.)
  Preparing to replace libc6 2.9-9 (using .../libc6_2.9-12_amd64.deb) ...
  Unpacking replacement libc6 ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up libc6 (2.9-12) ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  (Reading database ... 5833 files and directories currently installed.)
  Preparing to replace libncurses5 5.7+20090425-1 (using .../libncurses5_5.7+20090523-1_amd64.deb) ...
  Unpacking replacement libncurses5 ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up libncurses5 (5.7+20090523-1) ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  (Reading database ... 5833 files and directories currently installed.)
  Preparing to replace ncurses-base 5.7+20090502-1 (using .../ncurses-base_5.7+20090523-1_all.deb) ...
  Unpacking replacement ncurses-base ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up ncurses-base (5.7+20090523-1) ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  (Reading database ... 5833 files and directories currently installed.)
  Preparing to replace passwd 1:4.1.3.1-1 (using .../passwd_1%3a4.1.4.1-1_amd64.deb) ...
  Unpacking replacement passwd ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up passwd (1:4.1.4.1-1) ...
0m22.2s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'apt-get', '-yf', 'upgrade']
0m22.2s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'apt-get', 'install', 'debfoster']
0m23.1s DUMP: 
  Reading package lists...
  Building dependency tree...
  Reading state information...
  The following NEW packages will be installed:
    debfoster
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 39.6kB of archives.
  After this operation, 123kB of additional disk space will be used.
  WARNING: The following packages cannot be authenticated!
    debfoster
  Authentication warning overridden.
  Get:1 http://piatti.debian.org sid/main debfoster 2.7-1 [39.6kB]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 39.6kB in 0s (0B/s)
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Selecting previously deselected package debfoster.
  (Reading database ... 5834 files and directories currently installed.)
  Unpacking debfoster (from .../debfoster_2.7-1_amd64.deb) ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up debfoster (2.7-1) ...
0m23.1s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'apt-get', 'install', 'debfoster']
0m23.1s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'debfoster', '-o', 'MaxPriority=required', '-o', 'UseRecommends=no', '-f', '-n', 'apt', 'debfoster']
0m23.1s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'debfoster', '-o', 'MaxPriority=required', '-o', 'UseRecommends=no', '-f', '-n', 'apt', 'debfoster']
0m23.1s DEBUG: Removing /org/piuparts.debian.org/tmp/tmpu_NPvK/var/lib/debfoster/keepers
0m23.1s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'dpkg', '--purge', 'debfoster']
0m23.1s DUMP: 
  (Reading database ... 5848 files and directories currently installed.)
  Removing debfoster ...
  Purging configuration files for debfoster ...
0m23.1s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'dpkg', '--purge', 'debfoster']
0m23.1s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'apt-get', 'clean']
0m23.1s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'apt-get', 'clean']
0m23.1s DEBUG: Copying scriptsdir to /org/piuparts.debian.org/tmp/tmpu_NPvK/tmp/scripts/
0m23.8s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'dpkg', '--get-selections', '*']
0m23.8s DUMP: 
  adduser						purge
  apt						install
  apt-utils					purge
  aptitude					purge
  base-files					install
  base-passwd					install
  bash						install
  bsdmainutils					purge
  bsdutils					install
  coreutils					install
  cpio						purge
  cron						purge
  debconf						install
  debconf-i18n					install
  debfoster					purge
  debian-archive-keyring				install
  debianutils					install
  dhcp3-client					purge
  dhcp3-common					purge
  diff						install
  dmidecode					purge
  dpkg						install
  e2fslibs					install
  e2fsprogs					install
  ed						purge
  findutils					install
  gcc-4.2-base					purge
  gcc-4.3-base					purge
  gcc-4.4-base					install
  gnupg						install
  gpgv						install
  grep						install
  groff-base					purge
  gzip						install
  hostname					install
  ifupdown					purge
  info						purge
  initscripts					install
  iproute						purge
  iptables					purge
  iputils-ping					purge
  libacl1						install
  libattr1					install
  libblkid1					install
  libbz2-1.0					install
  libc6						install
  libcomerr2					install
  libconsole					purge
  libcwidget3					purge
  libdb4.6					purge
  libdb4.7					install
  libdevmapper1.02.1				purge
  libept0						purge
  libgc1c2					install
  libgcc1						install
  libgcrypt11					purge
  libgdbm3					purge
  libgnutls26					purge
  libgpg-error0					purge
  liblocale-gettext-perl				install
  libncurses5					install
  libncursesw5					purge
  libnewt0.52					purge
  libpam-modules					install
  libpam-runtime					install
  libpam0g					install
  libpopt0					purge
  libreadline5					install
  libsasl2-2					purge
  libselinux1					install
  libsepol1					install
  libsigc++-2.0-0c2a				purge
  libslang2					install
  libss2						install
  libssl0.9.8					purge
  libstdc++6					install
  libtasn1-3					purge
  libtext-charwidth-perl				install
  libtext-iconv-perl				install
  libtext-wrapi18n-perl				install
  libusb-0.1-4					install
  libusb-1.0-0					purge
  libuuid1					install
  libvolume-id1					purge
  libwrap0					purge
  libxapian15					purge
  login						install
  logrotate					purge
  lsb-base					install
  lzma						install
  makedev						purge
  man-db						purge
  manpages					purge
  mawk						install
  mktemp						install
  module-init-tools				purge
  mount						install
  nano						purge
  ncurses-base					install
  ncurses-bin					install
  net-tools					purge
  netbase						purge
  netcat-traditional				purge
  passwd						install
  perl-base					install
  procps						purge
  readline-common					install
  rsyslog						purge
  sed						install
  sensible-utils					install
  sysv-rc						install
  sysvinit					install
  sysvinit-utils					install
  tar						install
  tasksel						purge
  tasksel-data					purge
  tcpd						purge
  traceroute					purge
  tzdata						install
  udev						purge
  util-linux					install
  vim-common					purge
  vim-tiny					purge
  wget						purge
  whiptail					purge
  zlib1g						install
0m23.8s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'dpkg', '--get-selections', '*']
0m23.8s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'apt-get', '-y', 'install', 'runit-run']
0m25.2s DUMP: 
  Reading package lists...
  Building dependency tree...
  Reading state information...
  The following packages were automatically installed and are no longer required:
    libgc1c2
  Use 'apt-get autoremove' to remove them.
  The following extra packages will be installed:
    runit
  Suggested packages:
    socklog-run
  Recommended packages:
    fgetty
  The following NEW packages will be installed:
    runit runit-run
  0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  Need to get 130kB of archives.
  After this operation, 725kB of additional disk space will be used.
  WARNING: The following packages cannot be authenticated!
    runit runit-run
  Authentication warning overridden.
  Get:1 http://piatti.debian.org sid/main runit 2.0.0-1 [119kB]
  Get:2 http://piatti.debian.org sid/main runit-run 1.0.0 [11.2kB]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 130kB in 0s (250kB/s)
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Selecting previously deselected package runit.
  (Reading database ... 5834 files and directories currently installed.)
  Unpacking runit (from .../runit_2.0.0-1_amd64.deb) ...
  Selecting previously deselected package runit-run.
  Unpacking runit-run (from .../runit-run_1.0.0_all.deb) ...
  
  This package diverts sysvinit's /sbin/init program.  After the first
  installation of the runit-run package, migrate essential services from
  sysvinit to runit, so that these will get started after reboot.  Then,
  use
  
   # /sbin/init.sysv 6
  
  to reboot the system with runit as process no 1.
  
  Please read the runit documentation before proceeding:
  
    http://smarden.org/runit/
  
  Press ENTER to continue, press Ctrl-C to abort... dpkg: error processing /var/cache/apt/archives/runit-run_1.0.0_all.deb (--unpack):
   subprocess new pre-installation script returned error exit status 1
  Errors were encountered while processing:
   /var/cache/apt/archives/runit-run_1.0.0_all.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
0m25.2s ERROR: Command failed (status=100): ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'apt-get', '-y', 'install', 'runit-run']
  Reading package lists...
  Building dependency tree...
  Reading state information...
  The following packages were automatically installed and are no longer required:
    libgc1c2
  Use 'apt-get autoremove' to remove them.
  The following extra packages will be installed:
    runit
  Suggested packages:
    socklog-run
  Recommended packages:
    fgetty
  The following NEW packages will be installed:
    runit runit-run
  0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  Need to get 130kB of archives.
  After this operation, 725kB of additional disk space will be used.
  WARNING: The following packages cannot be authenticated!
    runit runit-run
  Authentication warning overridden.
  Get:1 http://piatti.debian.org sid/main runit 2.0.0-1 [119kB]
  Get:2 http://piatti.debian.org sid/main runit-run 1.0.0 [11.2kB]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 130kB in 0s (250kB/s)
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Selecting previously deselected package runit.
  (Reading database ... 5834 files and directories currently installed.)
  Unpacking runit (from .../runit_2.0.0-1_amd64.deb) ...
  Selecting previously deselected package runit-run.
  Unpacking runit-run (from .../runit-run_1.0.0_all.deb) ...
  
  This package diverts sysvinit's /sbin/init program.  After the first
  installation of the runit-run package, migrate essential services from
  sysvinit to runit, so that these will get started after reboot.  Then,
  use
  
   # /sbin/init.sysv 6
  
  to reboot the system with runit as process no 1.
  
  Please read the runit documentation before proceeding:
  
    http://smarden.org/runit/
  
  Press ENTER to continue, press Ctrl-C to abort... dpkg: error processing /var/cache/apt/archives/runit-run_1.0.0_all.deb (--unpack):
   subprocess new pre-installation script returned error exit status 1
  Errors were encountered while processing:
   /var/cache/apt/archives/runit-run_1.0.0_all.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  
0m25.2s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'umount', '/proc']
0m25.2s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpu_NPvK', 'umount', '/proc']
0m25.5s DEBUG: Removed directory tree at /org/piuparts.debian.org/tmp/tmpu_NPvK

End: 2009-05-27 02:46:44 UTC

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to