Note: yum doesn't support delta rpm, if only .drpm is available in,
repo mic2 will fail with an uncatched exception, this commit
will catch such exception and tell the user what happened, fix
bug #12993
self._cleanupRpmdbLocks(self.conf.installroot)
msger.disable_logstderr()
return ret
-
+ except rpmUtils.RpmUtilsError, e:
+ raise CreatorError("%s, notice: mic doesn't support delta rpm, please check whether all the packages have .rpm available" % e)
except yum.Errors.RepoError, e:
raise CreatorError("Unable to download from repo : %s" % (e,))
except yum.Errors.YumBaseError, e: