Package: sysrqd
Version: 10-1
Severity: normal

Attempting to remove (rather than purge) sysrqd if the service has been
stopped results in an error, and appears to leave the package installed.
However, purge successfully removes the package.

    $ sudo aptitude remove sysrqd 
    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 REMOVED:        
      sysrqd                                       
    0 packages upgraded, 0 newly installed, 1 to remove and 6 not upgraded.
    Need to get 0B of archives. After unpacking 90.1kB will be freed.      
    Writing extended state information... Done                             
    (Reading database ... 373104 files and directories currently installed.)
    Removing sysrqd ...                                                     
    Stopping sysrq daemon: invoke-rc.d: initscript sysrqd, action "stop" failed.
    dpkg: error processing sysrqd (--remove):                                   
     subprocess installed pre-removal script returned error exit status 1       
    Starting sysrq daemon: sysrqd.                                              
    Errors were encountered while processing:                                   
     sysrqd                                                                     
    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
    Writing extended state information... Done
    Reading task descriptions... Done

    $ sudo aptitude purge sysrqd
    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 REMOVED:
      sysrqd{p}
    0 packages upgraded, 0 newly installed, 1 to remove and 6 not upgraded.
    Need to get 0B of archives. After unpacking 90.1kB will be freed.
    Do you want to continue? [Y/n/?]
    Writing extended state information... Done
    (Reading database ... 373104 files and directories currently installed.)
    Removing sysrqd ...
    Stopping sysrq daemon: sysrqd.
    Purging configuration files for sysrqd ...
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done
    Writing extended state information... Done
    Reading task descriptions... Done

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (700, 'unstable'), (600, 'stable'), (550, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sysrqd depends on:
ii  libc6                         2.9-12     GNU C Library: Shared libraries

sysrqd recommends no packages.

sysrqd suggests no packages.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to