netbase update-inetd bug #282147, #236917, #275790 Workaround?
Hallo,
ich habe ein Problem mit einem dist-upgrade meines sarge/SID wegen der
netbase bugs #282147, #236917, #275790.
Setting up cupsys-bsd (1.1.22-1) ...
Couldn't reopen stdin at /usr/sbin/update-inetd line 29.
dpkg: error processing cupsys-bsd (--configure):
subprocess post-installation script returned error exit status 5
[...]
Errors were encountered while processing:
cupsys-bsd
cvs
proftpd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Der selbe Fehler also bei cvs und proftp.
Nach dem ich die Bugreports [1] las habe ich folgendes versucht:
Ich habe in /usr/sbin/update-inetd folgende 2 Zeilen eingefügt, ohne
Erfolg (kein wunder akls Nicht-Programmierer):
DEBIAN_FRONTEND=noninteractive
export DEBIAN_FRONTEND
und zwar vor diesem Bereich:
25 # hack to make update-inetd work in a script which calls debconf
26 if($ENV{DEBIAN_HAS_FRONTEND}) {
27 my $file = ($ENV{DEBIAN_FRONTEND} eq 'noninteractive') ?
28 '/dev/null' : '/dev/tty'; # see 4.13 changelog entry
29 open(STDIN, "<$file") or die "Couldn't reopen stdin";
30 open(STDOUT, ">$file") or die "Couldn't reopen stdout";
31 open(STDERR, ">$file") or die "Couldn't reopen stderr";
32 }
Daraus folgt:
dpkg: error processing proftpd (--configure):
subprocess post-installation script returned error exit status 9
Setting up cupsys-bsd (1.1.22-1) ...
Can't modify constant item in scalar assignment
at /usr/sbin/update-inetd line 29, near "DEBIAN_FRONTEND
# hack to make update-inetd work in a script which calls debconf
if"
syntax error at /usr/sbin/update-inetd line 29, near ") {"
Execution of /usr/sbin/update-inetd aborted due to compilation errors.
dpkg: error processing cupsys-bsd (--configure):
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
cvs
proftpd
cupsys-bsd
Line 29 entspricht line 26 aus oben aufgeführten Code-Ausschnitt (wegen
der eingefügten Zeilen zu DEBIAN_FRONTEND).
Weiß jemand, wie ich cvs, proftpd und cupsys-bsd richtig installiert
bekomme (post-installation script) ?
ciao
Gerhard
[1]
bugs in netbase:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=282147
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=236917
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=275790
cvs/unstable uptodate 1:1.12.9-7
proftpd/unstable uptodate 1.2.10-7
cupsys-bsd/unstable uptodate 1.1.22-1
Reply to: