Difference between revisions of "Unable to Upgrade Ubuntu"

From IVS Wiki
Jump to: navigation, search
(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...")
(No difference)

Revision as of 17:15, 7 March 2018

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