Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.