I am attempting to patch the Dirty Cow vulnerability by running the following command on my Ubuntu 12.04 server:

sudo apt-get update && sudo apt-get dist-upgrade

This results in the follow error(s):

The following packages have unmet dependencies:
 lsb-base : Breaks: upstart (< 1.12.1-0ubuntu8)
            Breaks: upstart:i386 (< 1.12.1-0ubuntu8)
 plymouth : Depends: initramfs-tools but it is not going to be installed
            Recommends: plymouth-theme-ubuntu-text but it is not going to be installed or
 udev : Depends: initramfs-tools (>= 0.92bubuntu63) but it is not going to be installed
        Depends: util-linux (> 2.15~rc2)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

What do I need to do in order to fix these errors?

  • use one stable distro with its own repository Oct 27 '16 at 11:38
  • Are you suggesting that 12.04 is not stable?
    – richelliot
    Oct 27 '16 at 11:44
  • 12.04 is indeed supported - EOL is in april NEXT year @IporSircer
    – Orphans
    Oct 27 '16 at 13:06
  • then ask the question to the support. Oct 27 '16 at 13:06
  • Does that exact same error happen when you run sudo apt-get update alone without the && sudo apt-get dist-upgrade? Oct 27 '16 at 13:09

I recommend to fix the dependencies dist-upgrade is complaining about to run these commands in order separately to update and upgrade and thusly correct any dependencies that are not currently being met.

sudo apt-get update


sudo apt-get upgrade


sudo apt-get dist-upgrade

Together update with upgrade has helped correct a lot of issues I've stumbled into in the past. Update helps upgrade know where what when and how to upgrade.

A simplified example would be you have v.1, while dist-upgrade was requiring you to be in v.2 which running update only got you to v.1.5 while upgrade finished the job and got you to v.2 making your system welcoming and ready for dist-upgrade.

Glad to hear it helped!

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.