For every error printed following
$ sudo apt upgrade
in the form of
dpkg: error processing archive /var/cache/apt/archives/libgl1-mesa-dri_19.2.8-0ubuntu018.04.3_i386.deb (--unpack):
unable to make backup link of './usr/lib/i386-linux-gnu/dri/vmwgfx_dri.so' before installing new version: Input/output error
Reinstalling /etc/drirc that was moved away
Errors were encountered while processing:
/var/cache/apt/archives/libgl1-mesa-dri_19.2.8-0ubuntu018.04.3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
remove the referenced file, i.e.,
$ sudo rm -rf /usr/lib/i386-linux-gnu/dri/vmwgfx_dri.so
then proceed.