Unable to upgrade to v0.23a. Failing at updating system packages

I haven’t found any solution so posting it here.

Here’s the log:

-----------------------------------------
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 linux-headers-generic : Depends: linux-headers-3.13.0-132-generic but it is not installed
E: Unmet dependencies. Try using -f.
-----------------------------------------

Any kind of help is highly appreciated. :slight_smile:

What does apt-get -f install say?

/boot partition might be full run an apt-get autoremove and then apt-get install -f and then re-run MIAB setup script.

Apologies for the late reply. It seems there are unmet dependencies and running apt-get autoremove or apt-get install -f doesn’t fix the issue. This is what I am gettng:

 linux-headers-generic : Depends: linux-headers-3.13.0-132-generic but it is not installed

And if I try to install that, another dependency error pops up.

run apt-get update please

Doesn’t resolve the issue.

Did you try apt-get dist-upgrade instead of the usual apt-get upgrade?

Doesn’t work. Same error pops up. I’ll just create a new instance and migrate everything there.

Yes, this should fix any problems. Install a fresh 14.04, then rsync the /home/user-data stuff over to it and then run the curl command to install Mail-in-a-Box.

what you want to do is ‘sudo nano ~/mailinabox/setup/functions.sh’, then go to line 48 (inside of ‘apt_install’ function) and make the line read ‘apt_get_quiet install --force-yes $PACKAGES’…

then try the package again.