Ubuntu – Stuck at fsck “/dev/sda1: clean xxx/xxx files […] ” after upgrade to Ubuntu 16 from 14

bootfscknvidiaupgradexorg

I've updated my Ubuntu distro, and since then everytime I boot the system I am stuck at the fsck screen

/dev/sda1: clean xxx/xxx files, xxx/xxx blocks

I`ve already trying accessing tty and installing xorg and/or nvidia drivers but keep getting the same error message from sudo apt-get install:

apt-get: relocation error: /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0: symbol….

I had a GPU installed in my system at the time of the distro upgrade, but I've also tried a multitude of "fixes" with the GPU deactivated by the BOOT settings and none seem to work neither.

Can anyone help me with that?
Thanks

Edit 1:
Following the demand on a comment, I loged into recovery root and:

# sudo blkid 
/dev/sdb: PTUUID="000d2ed6" PTTYPE="dos"
/dev/sata1: UUID="6ad5e12f-8d6f-4659-b5d4-8fe9eb9d11df" TYPE="ext4" PARTUUID="c537cdcf-01"

# cat /etc/fstab/
# /etc/fstab: static file system information
# 
# Use 'blkid' to print the universally unique identifier for a 
# device; this may be used with a UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options>     <dump>   <pass>
# / was on /dev/sda1 during installation
UUID=6ad5e12f-8d6f-4659-b5d4-8fe9eb9d11df /     ext4    errors=remount-ro  0     1

# free -h
           total     used    free    shared    buff/cache    availabe
Mem:        7.7G      37M    7.5G      8.2M          162M        7.4G
Swap:         0B       0B      0B

# swap on
# _ (no output here)

Best Answer

  • I finally managed to fix my problem. It looks like it was caused by issues from PPA for Ubuntu toolchain. I downloaded (from tty terminal) the debian of package libstdc++6 for Xenial at http://packages.ubuntu.com/xenial/libstdc++6

    In my case (amd64) I did the following (on tty, Cntrl + Alt + F1 on the "error" screen):

    # wget http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.4_amd64.deb
    # dpkg -i libstdc++6_5.4.0-6ubuntu1~16.04.4_amd64.deb
    # reboot
    

    And voilà, that solved the problem :)

  • Related Question