package tspc 2.1.1-6.1ubuntu1 failed to install/upgrade: subprocess pre-removal script returned error exit status 1

Bug #312676 reported by Jake Bunce
10
This bug affects 1 person
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: AUTHENTIFICATION_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
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: AUTHENTIFICATION_ERROR
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

Revision history for this message
Jake Bunce (j.bunce) wrote :
Revision history for this message
Jack Coulter (jscinoz) wrote :

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.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 298553, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

Changed in tspc (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.