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) …

3 Replies

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:

dpkg-reconfigure -a

If that doesn't work for you, I recommend booting your Linode into Rescue Mode and running a file system check. Once that completes, run the following (in this order):

mount -o barrier=0 /dev/sda
mount -o exec,barrier=0 /dev/sda
cd /media/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
apt-get update
apt-get upgrade

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:

df -h

while i am checking with
df-h
it's showing /dev/root has used the 99%

Please check
/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.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct