Results 1 to 3 of 3
The proftpd package on my system is broken and I get an error when I try to fix it, reinstall, or remove it. Any insight would be greatly appreciated. I ...
- 01-13-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 2
proftpd package broken, unable to fix
The proftpd package on my system is broken and I get an error when I try to fix it, reinstall, or remove it. Any insight would be greatly appreciated. I show the various errors I encounter below. The problem will be solved if any one of these commands works without encountering an error...
>> sudo apt-get -f install
>>sudo apt-get remove proftpdCode:Reading package lists... Done Building dependency tree... Done Correcting dependencies... Done The following extra packages will be installed: proftpd Suggested packages: proftpd-doc The following packages will be upgraded: proftpd 1 upgraded, 0 newly installed, 0 to remove and 69 not upgraded. Need to get 0B/360kB of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? y Preconfiguring packages ... Selecting previously deselected package proftpd. (Reading database ... 77367 files and directories currently installed.) Preparing to replace proftpd 1.2.10-27ubuntu3 (using .../proftpd_1.2.10-27ubuntu3.1_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-27ubuntu3.1_i386.deb (--unpack): subprocess new pre-removal script returned error exit status 100 Errors were encountered while processing: /var/cache/apt/archives/proftpd_1.2.10-27ubuntu3.1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Code:Reading package lists... Done Building dependency tree... Done The following packages will be REMOVED: proftpd 0 upgraded, 0 newly installed, 1 to remove and 69 not upgraded. Need to get 0B of archives. After unpacking 1077kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 77366 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 Errors were encountered while processing: proftpd E: Sub-process /usr/bin/dpkg returned an error code (1)
The same errors are encountered when I try using synaptic to fix/remove/install proftpd. Let me know if you have any idea how to fix this or if you need any additional info.
- 01-13-2007 #2
Try killing the process first: sudo /etc/init.d/proftpd stop
The remove and reinstall it.Debian Sid LXDE Kernel liquorix CPU Pentium IV 2.80GHz GeForce 9400 GT
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
- 01-13-2007 #3Just Joined!
- Join Date
- Jan 2007
- Posts
- 2
Trying your suggestion:
Has the following result:
Originally Posted by craigevil
$ sudo /etc/init.d/proftpd stop
proftpd isn't working, which is why it needs to be reinstalled in the first place.Code:sudo: /etc/init.d/proftpd: command not found


Reply With Quote
