• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Can not remove telnetd

straddi

Basic Pleskian
Server operating system version
debian 9.13
Plesk version and microupdate number
18.0.44
Hello,
dpkg --audit gives me the following message:

The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retrieved using
dpkg --configure <package> or the configure menu option in dselect:
telnetd basic telnet server

Trying dpkg --configure telnetd
gives the error message
Setting up telnetd (0.17-41) ...
/var/lib/dpkg/info/telnetd.postinst: 8: /var/lib/dpkg/info/telnetd.postinst: update-inetd: not found
dpkg: error processing package telnetd (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
telnetd

Since I really only want to uninstall telnetd, I tried the following
apt-get --force-yes remove telnetd
that ends with

The following packages will be REMOVED:
telnetd
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 105 kB disk space will be freed.
Do you want to continue? [Y/n]y
(Reading database ... 123317 files and directories currently installed.)
Removing telnetd (0.17-41) ...
/var/lib/dpkg/info/telnetd.prerm: 6: /var/lib/dpkg/info/telnetd.prerm: update-inetd: not found
dpkg: error processing package telnetd (--remove):
subprocess installed pre-removal script returned error exit status 127
/var/lib/dpkg/info/telnetd.postinst: 41: /var/lib/dpkg/info/telnetd.postinst: update-inetd: not found
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
telnetd

How can I uninstall the application?

Thank you
Straddi
 
 
I try sudo apt-get remove telnetd

that ends with the same problem.

The following packages will be REMOVED:
telnetd
The following held packages will be changed:
telnetd
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 105 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 123317 files and directories currently installed.)
Removing telnetd (0.17-41) ...
/var/lib/dpkg/info/telnetd.prerm: 6: /var/lib/dpkg/info/telnetd.prerm: update-inetd: not found
dpkg: error processing package telnetd (--remove):
subprocess installed pre-removal script returned error exit status 127
/var/lib/dpkg/info/telnetd.postinst: 41: /var/lib/dpkg/info/telnetd.postinst: update-inetd: not found
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
telnetd
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Back
Top