E: Sub-process /usr/bin/dpkg returned an error code (1)

  • Posted October 10, 2014

I wanted to reinstall MySQL database earlier today and when I want to install them back, this error happens. Can anyone please help me with this?


Nvm. Solved. Thanks!

What file should I delete? In which folder? Because Idk how to reduce it ):

As it says: Avail 0

I typed df -h and this is the result

root@azalelnation:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        79G   76G     0 100% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
udev            3.9G  4.0K  3.9G   1% /dev
tmpfs           799M  332K  799M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            3.9G     0  3.9G   0% /run/shm
none            100M     0  100M   0% /run/user
overflow        1.0M  768K  256K  75% /tmp

Does this really look like it’s full? the /dev/vda1 still has 3 gigabytes left

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I’ve checked /var/lib/mysql and there is nothing in it. How do I solve this? Oh and uh, I don’t really know much about linux… Sorry if I annoy you with my lack of knowledge

ERROR: There’s not enough space in /var/lib/mysql/