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.
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.
Why are you trying to remove udev?
It seems I can’t remove udev as it has a number of core dependancies - maybe that’s what’s causing the error.
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).