Am Donnerstag 05 November 2009 schrieb Lionel Elie Mamane:
> severity 554631 serious
> thanks
> 
> On Thu, Nov 05, 2009 at 08:39:24PM +0100, Martin Steigerwald wrote:
> > Upgrade of capi4hylafax fails like this (with LANG=C so that
> > output is in english):
> >
> > shambhala:~> LANG=C aptitude safe-upgrade
> > Preparing to replace capi4hylafax 1:01.03.00.99.svn.300-12 (using
> > .../capi4hylafax_1%3a01.03.00.99.svn.300-13_i386.deb) ... Stopping
> > capi4hylafax: c2faxrecvinvoke-rc.d: initscript capi4hylafax, action
> > "stop" failed. dpkg: warning: old pre-removal script returned error
> > exit status 1
> 
> Argh, it returns 1 when it is already stopped. That's a bug indeed. To
> work around that bug, start capi4hylafax and try the upgrade again.
> 

Doesn't work either. Init script does not seem to be able to either start 
or stop capi4hyladax. Its not critical for me cause I just set it up for 
an article quite some time ago and do not use it regularily.

shambhala:~> export LANG=C        
shambhala:~> /etc/init.d/capi4hylafax start
Starting capi4hylafax: c2faxrecv.          
shambhala:~> ps aux | grep c2fax
root      7123  0.0  0.0   1872   552 pts/0    R+   22:08   0:00 grep 
c2fax
shambhala:~> aptitude safe-upgrade
Reading package lists... Done     
Building dependency tree          
Reading state information... Done 
Reading extended state information       
Initializing package states... Done      
Reading task descriptions... Done        
The following packages will be upgraded: 
  capi4hylafax                           
The following packages are RECOMMENDED but will NOT be installed:
  isdnactivecards                                                
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/211kB of archives. After unpacking 81.9kB will be used. 
Do you want to continue? [Y/n/?]                                       
Writing extended state information... Done                             
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory     
Reading package fields... Done                                             
Reading package status... Done                                             
Retrieving bug reports... 0% Fail                                          
Error retrieving bug reports from the server with the following error 
message:
 W: getaddrinfo: Temporary failure in name resolution 
(http://bugs.debian.org:80)
It appears that your network connection is down. Check network 
configuration and try again
Retry downloading bug information?[Y/n]? n
Abort the installation[Y/n]? n
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
(Reading database ... 347487 files and directories currently installed.)
Preparing to replace capi4hylafax 1:01.03.00.99.svn.300-12 (using 
.../capi4hylafax_1%3a01.03.00.99.svn.300-13_i386.deb) ...
Stopping capi4hylafax: c2faxrecvstart-stop-daemon: warning: failed to kill 
7119: No such process
invoke-rc.d: initscript capi4hylafax, action "stop" failed.
dpkg: warning: old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Stopping capi4hylafax: c2faxrecvstart-stop-daemon: warning: failed to kill 
7119: No such process
invoke-rc.d: initscript capi4hylafax, action "stop" failed.
dpkg: error processing 
/var/cache/apt/archives/capi4hylafax_1%3a01.03.00.99.svn.300-13_i386.deb 
(--unpack):
 subprocess new pre-removal script returned error exit status 1
insserv: warning: current start runlevel(s) (empty) of script 
`capi4hylafax' overwrites defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script 
`capi4hylafax' overwrites defaults (0 1 6).
insserv: warning: current start runlevel(s) (empty) of script 
`capi4hylafax' overwrites defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script 
`capi4hylafax' overwrites defaults (0 1 6).
insserv: warning: current stop runlevel(s) (0 1 6) of script `screen-
cleanup' overwrites defaults (empty).
insserv: warning: current stop runlevel(s) (0 1 6) of script `sysfsutils' 
overwrites defaults (empty).
insserv: warning: current stop runlevel(s) (0 1 6) of script `pppd-dns' 
overwrites defaults (empty).
insserv: warning: current stop runlevel(s) (0 1 6) of script 
`cpufrequtils' overwrites defaults (empty).
insserv: warning: current stop runlevel(s) (0 6) of script `hdparm' 
overwrites defaults (empty).
insserv: warning: current stop runlevel(s) (0 6) of script `pcmciautils' 
overwrites defaults (empty).
insserv: warning: current stop runlevel(s) (0 1 6) of script `console-
screen.sh' overwrites defaults (empty).
Errors were encountered while processing:
 /var/cache/apt/archives/capi4hylafax_1%3a01.03.00.99.svn.300-13_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done

shambhala:~#255> /etc/init.d/capi4hylafax start
Starting capi4hylafax: c2faxrecv.
shambhala:~> /etc/init.d/capi4hylafax stop
Stopping capi4hylafax: c2faxrecvstart-stop-daemon: warning: failed to kill 
7444: No such process
shambhala:~#1>

Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

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

Reply via email to