AptPkg::System (3)
Leading comments
Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) Standard preamble: ========================================================================
NAME
AptPkg::System - APT system abstraction classSYNOPSIS
use AptPkg::System;DESCRIPTION
The AptPkg::System module provides an interface toAPT
's system
abstraction mechanism.
AptPkg::System
The AptPkg::System package implements theAPT
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 QUIETis non-zero.
- versioning
- Return an instance of the AptPkg::Version class for this system.