Public bug reported:

Setting up atftpd (0.7.git20120829-1) ...
*** WARNING: ucf was run from a maintainer script that uses debconf, but
             the script did not pass --debconf-ok to ucf. The maintainer
             script should be fixed to not stop debconf before calling ucf,
             and pass it this parameter. For now, ucf will revert to using
             old-style, non-debconf prompting. Ugh!

             Please inform the package maintainer about this problem.
Need debconf to interact
dpkg: error processing atftpd (--configure):
 subprocess installed post-installation script returned error exit status 2
No apport report written because MaxReports has already been reached
                                                                    Errors were 
encountered while processing:
 atftpd
E: Sub-process /usr/bin/dpkg returned an error code (1)


The invocation of ucf comes from rlinetd's update-inetd, called from 
atftpd.postinst, which needed to prompt me about edits to 
/etc/rlinetd.d/tftp_udp:

$ sudo /usr/share/debconf/frontend bash -ex /var/lib/dpkg/info/atftpd.postinst 
configure
(...)
+ BASEDIR=/var/lib/tftpboot
+ '[' '!' -d /var/lib/tftpboot ']'
+ '[' -e /etc/init.d/atftpd ']'
+ /etc/init.d/atftpd stop
+ '[' true = false ']'
++ echo '--tftpd-timeout 300 --retry-timeout 5     --mcast-port 1758 
--mcast-addr 239.239.239.0-255 --mcast-ttl 2 --maxthread 100 --verbose=5  
/var/lib/tftpboot'
++ tr -s ' '
+ INETOPTS='--tftpd-timeout 300 --retry-timeout 5 --mcast-port 1758 
--mcast-addr 239.239.239.0-255 --mcast-ttl 2 --maxthread 100 --verbose=5 
/var/lib/tftpboot'
+ update-inetd --group BOOT --add 'tftp         dgram   udp4    wait    nobody 
/usr/sbin/tcpd /usr/sbin/in.tftpd --tftpd-timeout 300 --retry-timeout 5 
--mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 2 --maxthread 100 
--verbose=5 /var/lib/tftpboot'       
*** WARNING: ucf was run from a maintainer script that uses debconf, but
             the script did not pass --debconf-ok to ucf. The maintainer
             script should be fixed to not stop debconf before calling ucf,
             and pass it this parameter. For now, ucf will revert to using
             old-style, non-debconf prompting. Ugh!        
                                                           
             Please inform the package maintainer about this problem.
Need debconf to interact

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: atftpd 0.7.git20120829-1
ProcVersionSignature: Ubuntu 3.2.0-52.78-generic 3.2.48
Uname: Linux 3.2.0-52-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Fri Sep  6 18:04:59 2013
MarkForUpload: True
ProcEnviron:
 TERM=screen-bce
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: atftp
UpgradeStatus: Upgraded to raring on 2013-09-06 (0 days ago)

** Affects: atftp (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: rlinetd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug raring

** Also affects: rlinetd (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1222009

Title:
  atftpd fails to install/upgrade if update-inetd needs to interact

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/atftp/+bug/1222009/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to