LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...

Notices

Reply
 
Search this Thread
Old 11-05-2002, 05:57 PM   #1
Rodcl
Member
 
Registered: Apr 2002
Location: Manchester, England
Distribution: Slackware 9.1
Posts: 113

Rep: Reputation: 15
problems un/installing .deb packages


A long time ago i installed proftpd, after i stopped using it, i decided to uninstall it, but for some reason i can't.
Neither from APT nor the package manager will uninstall it.
I get :
Removing proftpd ...
dpkg:error processing proftpd ( --remove):
subprocessing post-removal script returned error exit status 10
Errors were encountered while processing:
proftpd
E:Sub-process /usr/bin/dpkg returned an error code (1)
rod@debian:

this is preventing me from updating or "apt-getting" new packages
every time i try to do it, i get the same error before installation (it actually stops it)
Has any debian user come across this or you reckon this could be a bug in the uninstallation scripts just like it mentioned before?
 
Old 11-05-2002, 06:32 PM   #2
aliensub
Member
 
Registered: Apr 2002
Location: Denmark
Distribution: OS X
Posts: 304

Rep: Reputation: 30
You have to use dpkg.
Try dpkg -remove proftpd

And be shure thatīs itīs not running, or if it tries to stop another running process, be shure that the service IS running.

I tried myself to remove netsaint, but made the same problem, it turned out that it wanted to stop apache, and if there where no apache to stop it made the error.
 
Old 11-06-2002, 05:15 PM   #3
Rodcl
Member
 
Registered: Apr 2002
Location: Manchester, England
Distribution: Slackware 9.1
Posts: 113

Original Poster
Rep: Reputation: 15
tried it, did get the same
 
Old 11-08-2002, 04:26 PM   #4
Rodcl
Member
 
Registered: Apr 2002
Location: Manchester, England
Distribution: Slackware 9.1
Posts: 113

Original Poster
Rep: Reputation: 15
Now i get something different:

apt-get -f install;echo RESULT=$?
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6 libc6-dev locales
The following packages will be REMOVED:
proftpd
3 packages upgraded, 0 newly installed, 1 to remove and 38 not upgraded.
1 packages not fully installed or removed.
Need to get 0B/9165kB of archives. After unpacking 397kB will be freed.
Do you want to continue? [Y/n] y
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Preconfiguring packages ...
(Reading database ... 61935 files and directories currently installed.)
Removing proftpd ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
dpkg: error processing proftpd (--remove):
subprocess post-removal script returned error exit status 10
Errors were encountered while processing:
proftpd
E: Sub-process /usr/bin/dpkg returned an error code (1)
RESULT=100

and stops here ....
 
Old 11-09-2002, 02:42 AM   #5
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Try dpkg with the -force options - that usually works for me.
 
Old 11-09-2002, 12:54 PM   #6
Rodcl
Member
 
Registered: Apr 2002
Location: Manchester, England
Distribution: Slackware 9.1
Posts: 113

Original Poster
Rep: Reputation: 15
tried the -force option, still the same
 
Old 11-09-2002, 01:24 PM   #7
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
The worst I had to do so far was to look for the executable - whereis proftp (in your case) and delete the sucker.After that try dpkg -P and -force or combinations or it.
Had a problem like yours with java and that did it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
When DEB packages need strange packages noteventime Linux - Software 0 11-29-2005 09:37 AM
Converting rpm to deb and installing problems vbguru12000 Debian 8 01-17-2005 11:46 AM
command for installing single DEB packages bob_man_uk Debian 5 02-20-2004 02:11 PM
Can apt4rpm use deb repositories or install .deb packages? raylpc Linux - General 0 08-18-2003 01:49 AM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 06:03 PM


All times are GMT -5. The time now is 03:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration