Processed: Re: Bug#554912: dpkg: remove doesn't work for broken/not working packages

2009-11-12 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 554912 tspc
Bug #554912 [dpkg] dpkg: remove doesn't work for broken/not working packages
Bug reassigned from package 'dpkg' to 'tspc'.
Bug No longer marked as found in versions dpkg/1.14.25.
> retitle 554912 tspc: Fails to remove due to init script error
Bug #554912 [tspc] dpkg: remove doesn't work for broken/not working packages
Changed Bug title to 'tspc: Fails to remove due to init script error' from 
'dpkg: remove doesn't work for broken/not working packages'
> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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



Bug#554912: dpkg: remove doesn't work for broken/not working packages

2009-11-07 Thread Juergen Kosel
Package: dpkg
Version: 1.14.25
Severity: normal

Hello,

tspc doesn't work anymore. So when I tried to remove it, dpkg delivered
the following:

dpkg -r tspc
(Reading database ... 175350 files and directories currently installed.)
Removing tspc ...
Shutting down IPv6 tunnel: invoke-rc.d: initscript tspc, action "stop"
failed.
dpkg: error processing tspc (--remove):
 subprocess pre-removal script returned error exit status 1
Setting up IPv6 tunnel: Status error 303 in tunnel negociation: 303
Unsupported tunnel mode


Error is 303: 303 is not defined as a client error, might be a TSP error?
TSP session done
invoke-rc.d: initscript tspc, action "start" failed.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 tspc


I have seen such behaviour also with an foreign .deb provided by Brother
Inc. It looks like dpkg needs a force option to ignore the exit code of
broken scripts from packages to remove.

As a workaround to remove the broken packages, the init.d script need to
be patched, so that they call exit 0.


Greetings
Juergen


-- System Information:
Debian Release: 5.0.3
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'stable')
Architecture: i386 (i586)

Kernel: Linux 2.6.26-2-486
Locale: lang=de...@euro, lc_ctype=de...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages dpkg depends on:
ii  coreutils 6.10-6 The GNU core utilities
ii  libc6 2.7-18 GNU C Library: Shared libraries
ii  lzma  4.43-14Compression method of 7z
format in

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt  0.7.20.2+lenny1 Advanced front-end for dpkg

-- no debconf information




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