]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/depcache.cc
allow conflicts in the same group again (Closes: #612099)
[apt.git] / apt-pkg / depcache.cc
index 5f59b6d49fc29634c289fb96a32e35dfc19bbec4..7c09d3a38fe4b6965feac4fa194aa43fa5e998cb 100644 (file)
@@ -339,7 +339,7 @@ bool pkgDepCache::CheckDep(DepIterator Dep,int Type,PkgIterator &Res)
    /* Check simple depends. A depends -should- never self match but 
       we allow it anyhow because dpkg does. Technically it is a packaging
       bug. Conflicts may never self match */
-   if (Dep.TargetPkg()->Group != Dep.ParentPkg()->Group ||
+   if (Dep.TargetPkg() != Dep.ParentPkg() ||
        (Dep->Type != Dep::Conflicts && Dep->Type != Dep::DpkgBreaks && Dep->Type != Dep::Obsoletes))
    {
       PkgIterator Pkg = Dep.TargetPkg();