I used do-release-upgrade to move from 14.04 to 16.04. It seemed to go through, although there were a number of packages listed afterwards that were not upgraded successfully.

Booting straight into 16.04 the system halts with:

Failed to start Load Kernel Modules
  See 'systemctl status systemd-modules-load.service' 
[ OK ] Started Journal Service 
[ OK ] Created slice system-systemd\x2dbacklight.slice

I went to try dpkg --configure -a from Recovery Mode, following What to do after Failed to start Load Kernel Modules

This failed because I have no network access (ping gives Network is unreachable)

This is when I have a network cable connection, that works fine when I boot a live image on the same laptop

  • Have also used the process outlined on help.ubuntu.com/community/LiveCdRecovery. Can mount the host file system and chroot in fine. Ping to my router is fine, but apt-get update still fails. Jan 30, 2017 at 10:22
  • 'root@ubuntu:/# nameserver ........... Traceback (most recent call last): File "/usr/lib/command-not-found", line 27, in <module> from CommandNotFound.util import crash_guard File "/usr/lib/python3/dist-packages/CommandNotFound/__init__.py", line 3, in <module> from CommandNotFound.CommandNotFound import CommandNotFound File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 9, in <module> import gdbm ImportError: No module named 'gdbm'' Jan 30, 2017 at 10:30

1 Answer 1


I did a clean install over my system partitions, keeping my home partition, because there were all kinds of messages about missing perl libraries when trying to configure the network. Installed my most frequently used apps from the command line, and the config settings in my home partition meant that I am up and running again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.