Mike Bird composed on 2019-07-14 16:04 (UTC-0700):
Felix Miata wrote:
> insserv: FATAL: service rpcbind is missed in the
runlevels 2 3 4 5 to use
> service nfs-common
(1) If you don't really need NFS you could try
purging it.
I really do, but...
(2) Otherwise let's check that you have the right
Buster versions:
$ (dpkg -l rpcbind; dpkg -l nfs-common) | grep
'^ii'
ii rpcbind 0.2.3-0.6 amd64 converts RPC program numbers into
universal addresses
ii nfs-common 1:1.3.4-2.1 amd64 NFS support files common to
client and server
# (dpkg -l rpcbind; dpkg -l nfs-common) | grep '^ii'
ii rpcbind 1.2.5-0.3 amd64 converts RPC program numbers into universal
addresses
ii nfs-common 1:1.3.4-2.5 amd64 NFS support files common to client and
server
...
(3) If the versions are correct take a look at both
relevant files:
$ head /etc/init.d/rpcbind
#!/bin/sh
#
# start/stop rpcbind daemon.
### BEGIN INIT INFO
# Provides: rpcbind
# Required-Start: $network $local_fs
# Required-Stop: $network $local_fs
# Default-Start: S
# Default-Stop: 0 1 6
$ head /etc/init.d/nfs-common
#!/bin/bash
### BEGIN INIT INFO
# Provides: nfs-common
# Required-Start: $portmap $time
# Required-Stop: $time
# Default-Start: S
# Default-Stop: 0 1 6
# Short-Description: NFS support files common to client and server
# Description: NFS is a popular protocol for file sharing across
No fault found.
(4) If yours are different try reinstalling them, or
purging and reinstalling
them, or as a last resort editing them to look like the above.
# apt purge rpcbind libnfsidmap2 nfs-common nfs-kernel-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libtirpc-common libtirpc3
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
libnfsidmap2* nfs-common* nfs-kernel-server* rpcbind*
0 upgraded, 0 newly installed, 4 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 ... 74629 files and directories currently installed.)
Removing libnfsidmap2:amd64 (0.25-5.1) ...
Setting up tdm-trinity (4:14.0.7~pre11-0debian10.0.0+5) ...
insserv: FATAL: service rpcbind is missed in the runlevels 2 3 4 5 to use service
nfs-common
insserv: exiting now!
dpkg: error processing package tdm-trinity (--configure):
installed tdm-trinity package post-installation script subprocess returned error exit
status 1
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...
Errors were encountered while processing:
tdm-trinity
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@big31:~# dpkg-query -l | egrep 'rpcbind|nfs'
ic nfs-common 1:1.3.4-2.5 amd64 NFS support files common to client and server
ic nfs-kernel-server 1:1.3.4-2.5 amd64 support for NFS kernel server
ic rpcbind 1.2.5-0.3 amd64 converts RPC program numbers into universal
addresses
# dpkg-reconfigure tdm-trinity
/usr/sbin/dpkg-reconfigure: tdm-trinity is broken or not fully installed
# apt reinstall tdm-trinity
W: Package nfs-kernel-server had been marked to reinstall, but the file for the current
installed version <none> is not available
W: Package nfs-common had been marked to reinstall, but the file for the current installed
version <none> is not available
The following packages will be REINSTALLED:
tdm-trinity
The following packages will be REMOVED:
libtirpc-common{u} libtirpc3{u}
0 packages upgraded, 0 newly installed, 1 reinstalled, 2 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 306 kB will be freed.
Do you want to continue? [Y/n/?] y
E: Internal Error, No file name for tdm-trinity:amd64
# apt install --fix-broken
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libtirpc-common libtirpc3
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up tdm-trinity (4:14.0.7~pre11-0debian10.0.0+5) ...
insserv: FATAL: service rpcbind is missed in the runlevels 2 3 4 5 to use service
nfs-common
insserv: exiting now!
dpkg: error processing package tdm-trinity (--configure):
installed tdm-trinity package post-installation script subprocess returned error exit
status 1
Errors were encountered while processing:
tdm-trinity
E: Sub-process /usr/bin/dpkg returned an error code (1)
:~(
--
Evolution as taught in public schools is religion, not science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata ***
http://fm.no-ip.com/