Kevin Kofler wrote:
Matej Cepl <mcepl <at> redhat.com> writes:
Don't want to fight on any side of this perenial religious war,
but just to note that package-cleanup --problems (package-cleanup
is in yum-utils package) works pretty well for the first issue.
I got the yum-utils package and tried yum package-cleanup --problems
does not work. Do not know why not.
Karl
That's the equivalent of apt-get check (i.e. only fixes existing breakage). It
won't help when yum is erroring on the update because the update would break a
dependency, apt-get dist-upgrade will actually offer to remove the broken
package to allow the upgrade to proceed in such cases. Also note that apt-get
check will actually offer to _fix_ the breakage, not just list it.
Note that apt won't actually let you do anything other than fixing the breakage
on a system with broken dependencies, it's built on the invariant that no
dependency should ever be broken. Fixing will first try to install missing
packages and/or upgrade the broken packages to newer versions if that fixes the
breakage, and if it doesn't, it will remove the broken packages.
All your solutions (also the --exclude one) involve lots of manual work whereas
apt will try to figure out a solution automatically.
Kevin Kofler