Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

AptPkg::System

Name AptPkg::System
Version 1.4
Located at /usr/lib/x86_64-linux-gnu/perl5/5.34
File /usr/lib/x86_64-linux-gnu/perl5/5.34/AptPkg/System.pm
Is Core No
Search CPAN for this module AptPkg::System
Documentation AptPkg::System
Module Details AptPkg::System

NAME

AptPkg::System - APT system abstraction class


SYNOPSIS

use AptPkg::System;


DESCRIPTION

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.


SEE ALSO

AptPkg::Config(3pm), AptPkg::Version(3pm), AptPkg(3pm).


AUTHOR

Brendan O'Dea <bod@debian.org>

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026