yum.Errors

Exceptions and Errors thrown by yum.

YumBaseError

class yum.Errors.YumBaseError(value=None)

Bases: exceptions.Exception

Base Yum Error. All other Errors thrown by yum should inherit from this.

YumGPGCheckError

class yum.Errors.YumGPGCheckError(value=None)

Bases: yum.Errors.YumBaseError

YumDownloadError

class yum.Errors.YumDownloadError(value=None)

Bases: yum.Errors.YumBaseError

YumTestTransactionError

class yum.Errors.YumTestTransactionError(value=None)

Bases: yum.Errors.YumBaseError

YumRPMCheckError

class yum.Errors.YumRPMCheckError(value=None)

Bases: yum.Errors.YumBaseError

YumRPMTransError

class yum.Errors.YumRPMTransError(msg, errors)

Bases: yum.Errors.YumBaseError

This class means rpm’s .ts.run() returned known errors. We are compat. with YumBaseError in that we print nicely, and compat. with traditional usage of this error from runTransaction().

LockError

class yum.Errors.LockError(errno, msg, pid=0)

Bases: yum.Errors.YumBaseError

DepError

class yum.Errors.DepError(value=None)

Bases: yum.Errors.YumBaseError

RepoError

class yum.Errors.RepoError(value=None)

Bases: yum.Errors.YumBaseError

DuplicateRepoError

class yum.Errors.DuplicateRepoError(value=None)

Bases: yum.Errors.RepoError

NoMoreMirrorsRepoError

class yum.Errors.NoMoreMirrorsRepoError(value=None)

Bases: yum.Errors.RepoError

ConfigError

class yum.Errors.ConfigError(value=None)

Bases: yum.Errors.YumBaseError

MiscError

class yum.Errors.MiscError(value=None)

Bases: yum.Errors.YumBaseError

GroupsError

class yum.Errors.GroupsError(value=None)

Bases: yum.Errors.YumBaseError

InstallError

class yum.Errors.InstallError(value=None)

Bases: yum.Errors.YumBaseError

UpdateError

class yum.Errors.UpdateError(value=None)

Bases: yum.Errors.YumBaseError

RemoveError

class yum.Errors.RemoveError(value=None)

Bases: yum.Errors.YumBaseError

ReinstallError

class yum.Errors.ReinstallError(value=None)

Bases: yum.Errors.YumBaseError

ReinstallRemoveError

class yum.Errors.ReinstallRemoveError(value=None)

Bases: yum.Errors.ReinstallError

ReinstallInstallError

class yum.Errors.ReinstallInstallError(value=None, failed_pkgs=[])

Bases: yum.Errors.ReinstallError

DowngradeError

class yum.Errors.DowngradeError(value=None)

Bases: yum.Errors.YumBaseError

RepoMDError

class yum.Errors.RepoMDError(value=None)

Bases: yum.Errors.YumBaseError

PackageSackError

class yum.Errors.PackageSackError(value=None)

Bases: yum.Errors.YumBaseError

RpmDBError

class yum.Errors.RpmDBError(value=None)

Bases: yum.Errors.YumBaseError

CompsException

class yum.Errors.CompsException(value=None)

Bases: yum.Errors.YumBaseError

MediaError

class yum.Errors.MediaError(value=None)

Bases: yum.Errors.YumBaseError

PkgTagsError

class yum.Errors.PkgTagsError(value=None)

Bases: yum.Errors.YumBaseError

YumDeprecationWarning

class yum.Errors.YumDeprecationWarning(value=None)

Bases: exceptions.DeprecationWarning

Used to mark a method as deprecated.

YumFutureDeprecationWarning

class yum.Errors.YumFutureDeprecationWarning(value=None)

Bases: yum.Errors.YumDeprecationWarning

Used to mark a method as deprecated. Unlike YumDeprecationWarning, YumFutureDeprecationWarnings will not be shown on the console.