AptPkg::System(3pm)

AptPkg::System3pm

Apt system abstraction class

Usage

use AptPkg::System;

Overview

The AptPkg::System module provides an interface to APT's system abstraction mechanism.

AptPkg::System

The AptPkg::System package implements the APT pkgSystem class.

An instance of the AptPkg::System class appropriate for the particular back-end packaging system (deb, rpm, etc.) may be fetched using the system method from AptPkg::Config.

A global instance of the libapt-pkg _system instance is provided as $AptPkg::System::_system, and may be imported.

The following methods are implemented:

label

Return the description of the packaging system, for example:

    Debian dpkg interface

for Debian systems.

lock

Lock the packaging system.

unlock(QUIET)

Unlock the packaging system, ignoring errors if QUIET is non-zero.

versioning

Return an instance of the AptPkg::Version class for this system.

Releases

12 releases since Debian 3.0 (Woody); the text changed 11 times.

  1. 3.0
  2. 3.1
  3. 4.0
  4. 5.0
  5. 6.0
  6. 7
  7. 8
  8. 9
  9. 10
  10. 11
  11. 12
  12. 13

Author

Brendan O'Dea <[email protected]>

From libapt-pkg-perl 0.1.42 in Debian 13 (Trixie). Parsed by carta from the page's man source.