Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Debian Linux Help
Reload this Page Problems with synaptic, cant uninstall, nor reinstall an application.
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Debian Linux Help Discussions related to Debian GNU/Linux.

Closed Thread
 
Thread Tools Display Modes
Old 01-06-2006   #1 (permalink)
MartinJ
Just 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?
MartinJ is offline  
Old 01-06-2006   #2 (permalink)
MartinJ
Just Joined!
 
Join Date: Aug 2004
Posts: 92
More info


I get the error

Code:
E: /var/cache/apt/archives/proftpd_1.2.10-22_i386.deb: subprocess new pre-removal script returned error exit status 100
When I try to remove, or re install proftpd via synaptic. Any tips how to fix this?

Code:
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
And then I try apt-get remove proftpd and I get the error

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
MartinJ is offline  
Old 01-06-2006   #3 (permalink)
Vergil83
Linux Guru
 
Vergil83's Avatar
 
Join Date: Mar 2004
Posts: 2,409
you might try running
Code:
apt-get -f install
__________________
Brilliant Mediocrity - Making Failure Look Good
Vergil83 is offline  
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.
tllucero is offline  
Old 08-26-2007   #5 (permalink)
fireboy
Just Joined!
 
Join Date: Oct 2005
Posts: 1
Thumbs up 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.
fireboy is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 10:11 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0