E: sub process /usr/bin/dpkg


Hello, I need help please
Every time I finish updating Gateway “sudo apt-get update && sudo apt-get dist-upgrade”, this error appears:

Error Bad return status for module build on kernel: 4.9.0-6amd64 (x86_64)
dpkg: unrecoverable fatal error, aborting:
Consult /var/lib/dkms/virtualbox/5.2.18/build/make.log for more information
unable to flush updated status of virtualbox-guest-dkms : Read only file system
E: sub process /usr/bin/dpkg returned an error code 1
Problem unlinking the file /var/cache/aptcache.bin - pkgDpkgPM

virtualbox is updated