Comment 3 for bug 1519463

Revision history for this message
Andrew (am-public-o) wrote :

Hello. I just did an upgrade from 14.04 to 16.04.

My PC locked up during the process of dpkg setting up packages. I reset the machine and then ran this command:

sudo dpkg --configure -a

mySQL package failed to install and so I had to find that process and pkill the start process (from an alt terminal), then dpkg would continue.

I was left with an unstable system and could not obtain any network connection, eth0 or wlan0

I then ran sudo dpkg -C
Output:
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 apparmor User-space parser utility for AppArmor
 console-setup console font and keymap setup program
 console-setup-linux Linux specific part of console-setup
 kbd Linux console font and keytable utilities
 mysql-server MySQL database server (metapackage depending on the lates
 ubuntu-minimal Minimal core of Ubuntu

The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 haproxy fast and reliable load balancing reverse proxy
 initramfs-tools generic modular initramfs generator
 mysql-server-5.6 MySQL database server binaries and system database setup

I then ran these commands in this order:

sudo dpkg --configure initramfs-tools
sudo dpkg --configure apparmor
sudo dpkg --configure mysql-server mysql-server-5.6
sudo dpkg --configure kbd console-setup console-setup-linux
sudo dpkg --configure ubuntu-minimal

haproxy still not working but all of the rest are fine and the network subsequently regained a connection. Seems now to be a successful upgrade. I suggest you check your dpkg config with this command:

sudo dpkg -C