I’m trying to remove udev via: sudo apt-get purge udev but get the following:
The following information may help to resolve the situation:
The following packages have unmet dependencies: apache2.2-bin : Depends: libapr1 (>= 1.4.2) but it is not going to be installed Depends: libaprutil1 (>= 1.3.2+dfsg) but it is not going to be installed Depends: libaprutil1-dbd-sqlite3 but it is not going to be installed or libaprutil1-dbd-mysql but it is not going to be installed or libaprutil1-dbd-odbc but it is not going to be installed or libaprutil1-dbd-pgsql but it is not going to be installed or libaprutil1-dbd-freetds but it is not going to be installed Depends: libaprutil1-ldap but it is not going to be installed apache2.2-common : Depends: apache2-utils but it is not going to be installed Depends: procps but it is not going to be installed Recommends: ssl-cert but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
I have run:
sudo apt-get update; sudo apt-get upgrade; sudo apt-get dist-upgrade;
and none of these seem to make a difference. I’m on Ubuntu 12.04.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Try: <br><pre>sudo apt-get -y remove --purge udev</pre> <br>and: <br><pre>sudo apt-get -y autoremove</pre> <br>(or, perhaps, the other way around).
It seems I can’t remove udev as it has a number of core dependancies - maybe that’s what’s causing the error.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
