Results 1 to 5 of 5
E: /var/cache/apt/archives/proftpd_1.2.10-22_i386.deb: subprocess new pre-removal script returned error exit status 100
Any ideas how to fix this?...
- 01-06-2006 #1Just Joined!
- Join Date
- Aug 2004
- Posts
- 92
Problems with synaptic, cant uninstall, nor reinstall an application.
E: /var/cache/apt/archives/proftpd_1.2.10-22_i386.deb: subprocess new pre-removal script returned error exit status 100
Any ideas how to fix this?
- 01-06-2006 #2Just Joined!
- Join Date
- Aug 2004
- Posts
- 92
More info
I get the error
When I try to remove, or re install proftpd via synaptic. Any tips how to fix this?Code:E: /var/cache/apt/archives/proftpd_1.2.10-22_i386.deb: subprocess new pre-removal script returned error exit status 100
And then I try apt-get remove proftpd and I get the errorCode:Preconfiguring packages ... (Reading database ... 56961 files and directories currently installed.) Preparing to replace proftpd 1.2.10-22 (using .../proftpd_1.2.10-22_i386.deb) ... invoke-rc.d: unknown initscript, /etc/init.d/proftpd not found. dpkg: warning - old pre-removal script returned error exit status 100 dpkg - trying script from the new package instead ... invoke-rc.d: unknown initscript, /etc/init.d/proftpd not found. dpkg: error processing /var/cache/apt/archives/proftpd_1.2.10-22_i386.deb (--unpack): subprocess new pre-removal script returned error exit status 100
Code:Reading package lists... Done Building dependency tree... Done The following packages will be REMOVED: proftpd proftpd-common 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 1507kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 56960 files and directories currently installed.) Removing proftpd ... invoke-rc.d: unknown initscript, /etc/init.d/proftpd not found. dpkg: error processing proftpd (--remove): subprocess pre-removal script returned error exit status 100 dpkg: proftpd-common: dependency problems, but removing anyway as you request: proftpd depends on proftpd-common (= 1.2.10-22). Removing proftpd-common ... Errors were encountered while processing: proftpd E: Sub-process /usr/bin/dpkg returned an error code (1
- 01-06-2006 #3
you might try running
Code:apt-get -f install
Brilliant Mediocrity - Making Failure Look Good
- 09-24-2006 #4Just Joined!
- Join Date
- Aug 2006
- Posts
- 2
Read this: http://www.debian-administration.org/articles/251
cd /var/lib/dpkg/info
Find the offending script - in my case, it was:
lighttpd.prerm
Edit script to taste - debian says comment out set -e, but in my case I needed to edit out entire script
Proceed - should run, or there may be other debris.
- 08-26-2007 #5Just Joined!
- Join Date
- Oct 2005
- Posts
- 2
Thank you tllucero
I was pulling my hair out until I googled up this post.
Man, you save my butt with the link to: http://www.debian-administration.org/articles/251
Hey, love ya
fireboy
Old 09-24-2006 #4 (permalink)
tllucero
Just Joined!
Join Date: Aug 2006
Posts: 2
Read this: http://www.debian-administration.org/articles/251
cd /var/lib/dpkg/info
Find the offending script - in my case, it was:
lighttpd.prerm
Edit script to taste - debian says comment out set -e, but in my case I needed to edit out entire script
Proceed - should run, or there may be other debris.



