package tspc 2.1.1-6.1ubuntu1 failed to install/upgrade: subprocess pre-removal script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tspc (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: tspc
aptitude remove tspc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
The following packages will be REMOVED:
radvd{u} tspc
0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 455kB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 123855 files and directories currently installed.)
Removing radvd ...
Stopping radvd: No /usr/sbin/radvd found running; none killed.
radvd.
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: No common authentication mechanism found
Did you forget to specify a username?
Authentification error
Error is 7: AUTHENTIFICATIO
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
Processing triggers for man-db ...
Errors were encountered while processing:
tspc
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
Initialising package states... Done
Writing extended state information... Done
/var/log/tspc.log
2008/12/31 10:44:22 tspc: tspAuthenticate: Did you forget to specify a username?
2008/12/31 10:44:22 tspc: tspSetupTunnel: Authentification error
2008/12/31 10:44:22 tspc: tspMain: Error is 7: AUTHENTIFICATIO
2008/12/31 10:44:22 tspc: tspMain: TSP session done
Login credentials have not changed!
ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess pre-removal script returned error exit status 1
Package: tspc 2.1.1-6.1ubuntu1
SourcePackage: tspc
Title: package tspc 2.1.1-6.1ubuntu1 failed to install/upgrade: subprocess pre-removal script returned error exit status 1
Uname: Linux 2.6.27-9-generic x86_64
This affects me too, the only way to make the package cleanly remove is to edit /etc/init.d/tspc and change it to simply be:
"#!/bin/sh
exit 0"
The cause is the package attempts to set up the ipv6 tunnel on removing the package, thus if the user didn't configure it before removing it, they can't remove it.