dpkg errors - Debian 8
My sites stopped working, and the terminal is showing the below error (multiple times with multiple packages). Please help me fix it:
dpkg: error processing package nfs-common (--configure):
subprocess installed post-installation script returned error exit status 10
Setting up dbconfig-common (1.8.47+nmu3+deb8u1) …
This appears to be an unresolved dependency issue. When encountering this, the first thing I recommend doing is running the following command which may help resolve this dependency trouble:
mount -o barrier=0 /dev/sda
mount -o exec,barrier=0 /dev/sda
mount -t proc proc proc/
mount -t sysfs sys sys/
mount -o bind /dev dev/
mount -t devpts pts dev/pts/
chroot /media/sda /bin/bash
dpkg --configure -a
Another thing you could look at is your disk space, to make sure that your Linode being out of space isn't the problem. To check that, simply run:
while i am checking with
it's showing /dev/root has used the 99%
/dev/root 9.9G 9.2G 144M 99% /
That looks like the storage on your Linode is nearly full. We're unable to view the internals of your server, so I wouldn't be able to investigate what is using up the storage. To address a full disk, there are a couple things I could recommend:
Delete unneeded files, possibly the tmp files. This guide walks you through identifying and removing tmp files. These are often just what they look like: temporary files that become stored on the server, but aren't needed after a certain about of time.
Resize the Linode's disk: Reallocate storage if there's any additional storage available on your Linode. This happens when a Linode is resized and the option to resize the disk isn't selected, or if you had an upgrade that you've performed and didn't resize the disk after to
Add a Block Storage volume: Block Storage volumes are essentially a virtual flash drive that you can attach to a Linode. They provide a bit more flexibility to your storage needs, so you can scale the size of the volume as needed.
Resize the Linode. If you've maxed out the storage on your plan and need additional storage, and Block Storage is not something you're interested in, then resizing the Linode to a larger plan would provide you with additional storage.