• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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