Skip to content

Instantly share code, notes, and snippets.

@guest271314
Created June 20, 2020 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guest271314/98eac0b673bf124e3154b7ce2fdf0c34 to your computer and use it in GitHub Desktop.
Save guest271314/98eac0b673bf124e3154b7ce2fdf0c34 to your computer and use it in GitHub Desktop.
Upgrade 18.04 i386

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment