Enumeration

PackageKitInfoEnum

Declaration

enum PackageKit.InfoEnum

Description [src]

The enumerated types used in Packages(). The values fall into three groups:

State, what a package is: AVAILABLE, INSTALLED, BLOCKED, and the attributes UNTRUSTED and TRUSTED.

Planned action, what would happen to a package: INSTALL to UPDATE_ENHANCEMENT. These are returned by GetUpdates() and by simulated transactions.

Progress, what is happening to a package right now: PREPARING to CLEANUP. These are only emitted while a transaction is modifying the system.

Members

PK_INFO_ENUM_UNKNOWN

Package status is unknown.

  • Value: 0
  • Available since: 1.0
PK_INFO_ENUM_AVAILABLE

Package is available to be installed.

  • Value: 1
  • Available since: 1.0
PK_INFO_ENUM_INSTALLED

Package is installed.

  • Value: 2
  • Available since: 1.0
PK_INFO_ENUM_BLOCKED

Package has an update that is blocked.

  • Value: 3
  • Available since: 1.0
PK_INFO_ENUM_UNTRUSTED

Package is not signed or can not be verified.

  • Value: 4
  • Available since: 1.0
PK_INFO_ENUM_TRUSTED

Package is signed and verified.

  • Value: 5
  • Available since: 1.0
PK_INFO_ENUM_INSTALL

Package is intended for installation. Since 1.3.0.

  • Value: 6
  • Available since: 1.0
PK_INFO_ENUM_REMOVE

Package is intended for removal. Since 1.3.0.

  • Value: 7
  • Available since: 1.0
PK_INFO_ENUM_REINSTALL

Package is intended for reinstallation. Since 2.0.0.

  • Value: 8
  • Available since: 1.0
PK_INFO_ENUM_DOWNGRADE

Package is intended for downgrade. Since 1.3.0.

  • Value: 9
  • Available since: 1.0
PK_INFO_ENUM_OBSOLETE

Package is intended for removal because another package replaces it. Since 1.3.0.

  • Value: 10
  • Available since: 1.0
PK_INFO_ENUM_UPDATE

Package is intended to be updated. Since 2.0.0.

  • Value: 11
  • Available since: 1.0
PK_INFO_ENUM_UPDATE_SECURITY

Package is intended to be updated and has a security fix. Since 2.0.0.

  • Value: 12
  • Available since: 1.0
PK_INFO_ENUM_UPDATE_ENHANCEMENT

Package is intended to be updated, the update is an enhancement. Since 2.0.0.

  • Value: 13
  • Available since: 1.0
PK_INFO_ENUM_PREPARING

Package is preparing for installation/removal.

  • Value: 14
  • Available since: 1.0
PK_INFO_ENUM_DOWNLOADING

Package is being downloaded.

  • Value: 15
  • Available since: 1.0
PK_INFO_ENUM_INSTALLING

Package is being installed.

  • Value: 16
  • Available since: 1.0
PK_INFO_ENUM_UPDATING

Package is being updated.

  • Value: 17
  • Available since: 1.0
PK_INFO_ENUM_REINSTALLING

Package is being reinstalled.

  • Value: 18
  • Available since: 1.0
PK_INFO_ENUM_DOWNGRADING

Package is being downgraded.

  • Value: 19
  • Available since: 1.0
PK_INFO_ENUM_REMOVING

Package is being removed.

  • Value: 20
  • Available since: 1.0
PK_INFO_ENUM_OBSOLETING

Package is being removed because another package replaces it.

  • Value: 21
  • Available since: 1.0
PK_INFO_ENUM_CLEANUP

The old version of an updated package is being removed.

  • Value: 22
  • Available since: 1.0

Type functions

pk_info_enum_from_string

Converts a text enumerated type to its unsigned integer representation.

since: 0.5.0

pk_info_enum_to_localised_past

Converts a enumerated type to its localized description.

since: 0.7.2

pk_info_enum_to_localised_present

Converts a enumerated type to its localized description.

since: 0.7.2

pk_info_enum_to_string

Converts a enumerated type to its text representation.

since: 0.5.0