I’ve been having some trouble with nfs-server and found advice to purge rpcbind. Looks like it wanted to take network-osmc with it and I didn’t realize until too late. Now I have no networking to get in and reinstall. How can I get out of this mess I’ve made?
osmc@osmc:/etc$ sudo apt-get purge rpcbind
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
armv7-connman-osmc armv7-irqbalance-osmc armv7-libafpclient-osmc bluez busybox cifs-utils fake-hwclock iptables kmod libnfnetlink0 libnl-3-200 libnl-genl-3-200
module-init-tools nano python-dbus python-dbus-dev rbp2-image-3.18.13-1-osmc sudo wireless-firmware-osmc wpasupplicant
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
armv7-network-osmc* nfs-common* nfs-kernel-server* rbp2-device-osmc* rpcbind*
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 1,209 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 56634 files and directories currently installed.)
Removing rbp2-device-osmc (1.2.2) ...
dpkg: error processing package rbp2-device-osmc (--purge):
subprocess installed pre-removal script returned error exit status 1
Removing nfs-kernel-server (1:1.2.8-9) ...
Purging configuration files for nfs-kernel-server (1:1.2.8-9) ...
dpkg: warning: while removing nfs-kernel-server, directory '/var/lib/nfs/v4recovery' not empty so not removed
dpkg: rpcbind: dependency problems, but removing anyway as you requested:
nfs-common depends on rpcbind.
Removing rpcbind (0.2.1-6) ...
Purging configuration files for rpcbind (0.2.1-6) ...
dpkg: armv7-network-osmc: dependency problems, but removing anyway as you requested:
rbp2-device-osmc depends on armv7-network-osmc.
Removing armv7-network-osmc (1.5.5) ...