Unable to Upgrade Ubuntu

From IVS Wiki
Revision as of 18:15, 7 March 2018 by IVSWikiBlue (talk | contribs) (Created page with "==UnicodeDecodeError: 'utf-8' codec can't decode byte== # '''grep -avx '.*' /var/lib/dpkg/status''' #: This will display any not utf-8 characters in the file # '''sudo nano /v...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

UnicodeDecodeError: 'utf-8' codec can't decode byte

  1. grep -avx '.*' /var/lib/dpkg/status
    This will display any not utf-8 characters in the file
  2. sudo nano /var/lib/dpkgs/status
  3. Locate the bad characters and delete them
  4. Save the file

/boot is out of space

  1. dpkg -l | grep linux-image
    This will display all the kernels currently installed. All but the most recent can be safely deleted.
  2. apt-get remove old-linux-kernel-package-name
    ex: apt-get remove linux-image-3.13.0-32-generic