return true;
}
- // if it's exactly the same package, ignore this request silently.
-
if (isParallelInstall( item )) {
- return true;
-#if 0
ResolverInfoMisc_Ptr misc_info = new ResolverInfoMisc( RESOLVER_INFO_TYPE_INSTALL_PARALLEL, item, RESOLVER_INFO_PRIORITY_VERBOSE );
misc_info->setOtherPoolItem( getParallelInstall( item ) );
addError( misc_info );
return false;
-#endif
}
if (is_soft)
if (status.isToBeInstalled())
return true;
+ if (isParallelInstall( item )) {
+ ResolverInfoMisc_Ptr misc_info = new ResolverInfoMisc( RESOLVER_INFO_TYPE_INSTALL_PARALLEL, item, RESOLVER_INFO_PRIORITY_VERBOSE );
+ misc_info->setOtherPoolItem( getParallelInstall( item ) );
+ addError( misc_info );
+ return false;
+ }
+
ResStatus::TransactByValue by = ResStatus::SOLVER;
if (item.status().isToBeInstalled()
&& item.status().getTransactByValue() > ResStatus::SOLVER) {
&& info->other->kind() == item->kind()
&& info->other->name() == item->name()
&& item->edition().compare(info->other->edition()) == 0
- && item->arch() == info->other->arch())
+ && item->arch() == info->other->arch()
+ && item->source() != info->other->source()) // if it's exactly the same package, ignore it silently.
{
info->flag = true;
info->foundItem = item;