Results 1 to 10 of 16
|
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
11-16-2009 #1
[SOLVED] half installed package night mare
I have tried to set up an IPv6 tunnel, which I've done before, and it worked. I tried now on my home server (not really an important device), and the installation of tspc went horribly wrong.
I ended up having an incomplete install of tspc, which I then tried to remove again, but every time I try to remove it, it tries to stop the process, which it can't, quits and tries to finish the installation, which it can't.
Now I want to remove the package, and try another, but I can't figure out a way, using either google or the man pages.
Please help.
By the way, error code was 303 for TSPC and 1 for dpkg.
-
11-16-2009 #2
First try
If that fails, tryCode:sudo apt-get install -f
Code:sudo apt-get update sudo apt-get autoclean sudo apt-get clean sudo dpkg --remove -force --force-remove-reinstreq tspc
-
11-17-2009 #3
for the first option I received
and for the last bitCode:apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up tspc (2.1.1-6ubuntu2) ... 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 processing tspc (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: tspc E: Sub-process /usr/bin/dpkg returned an error code (1)
by the way, they are done using root.Code:dpkg --remove -force --force-remove-reinstreq tspc dpkg: conflicting actions -f (--field) and -r (--remove) Type dpkg --help for help about installing and deinstalling packages[*]; Use `dselect' or `aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Type dpkg --license for copyright license and lack of warranty (GNU GPL)[*]. Options marked[*] produce a lot of output - pipe it through `less' or `more' !
-
11-17-2009 #4
Sorry, try it like this.
Code:sudo dpkg --remove --force-remove-reinstreq tspc
-
11-18-2009 #5
This (quite annoyingly) put out the following:
Code:(Reading database ... 54951 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
-
11-23-2009 #6
Bounce,
Sorry the problem still hasn't been solved.
-
11-23-2009 #7Linux Guru
- Join Date
- Jul 2008
- Posts
- 4,600
Don't know if this reply will help Bemk but here it is
you are right, 'apt-get remove' does not do the job throughly, the solution to your problem, IMHO, can be solved this way, which is what i do in order to remove everything pertaining to the package in question:
apt-get install deborphan debfoster
#apt-get remove --purge package
#apt-get clean
the later will clean the /var
#debfoster
will show files and libraries still left after the apt-get remove --purge, if you don't recognize a library, keep it, later on, deborphan will give you a list of 'orphaned' libraries that are hanging with no use, and are safe to nuke.
if you make a mistake with debfoster, type 'u' and will ask you again if you want to keep it. When you are thru with it, invoke deborphan.
#deborphan
will give a list of libraries that are hanging just taking space, to get rid of them:
#deborphan | xargs apt-get -y remove purge
when thru with that:
#apt-get clean
recently after a dist-ugrade to sid, it installed emacs21, i removed it, and debfoster found some files like emacsen, etc.
now, i don't know if dpkg --purge is any better, i should try that sometime.I refuse to let fear and fear of others rule my life. It puts my humanity at risk.
Accepting Death is the only way to stay alive.
-
11-24-2009 #8
Sorry Roky, but it already tried to reinstall at
This is starting to get really annoying.Code:apt-get remove --purge tspc
Here is the exact output:
Code:apt-get remove --purge tspc Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: tspc* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 213kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 56225 files and directories currently installed.) Removing tspc ... Shutting down IPv6 tunnel: invoke-rc.d: initscript tspc, action "stop" failed. dpkg: error processing tspc (--purge): subprocess pre-removal script returned error exit status 1 Setting up IPv6 tunnel: Status error 501 in tunnel negociation: 501 Invalid IPv4 address Error is 501: 501 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 E: Sub-process /usr/bin/dpkg returned an error code (1)
-
11-24-2009 #9Linux Guru
- Join Date
- Jul 2008
- Posts
- 4,600
Sorry Bemk. That was my best shot for now.
TSP seems to not want to leave like a bad case of Syphilis or Aids. I don't know if apt-get has a better kill package option than purge. Reed 9 also gave some good commands. You are right. This is annoying. I hope better minds than mine will kick into this thread.Error is 501: 501 is not defined as a client error, might be a TSP error?I refuse to let fear and fear of others rule my life. It puts my humanity at risk.
Accepting Death is the only way to stay alive.
-
11-24-2009 #10



