NAME
urpm::lock - urpm/rpm DB locking related routines for urpmi
SYNOPSIS
DESCRIPTION
CLASS FUNCTIONS
- rpm_db($urpm, $b_exclusive, %options)
-
Lock rpm DB.
Lock policy concerning chroot : lock rpm db in chroot
Options: nofatal, wait
- urpmi_db($urpm, $b_exclusive, %options)
-
Lock urpmi DB.
Lock policy concerning chroot : lock urpmi db in /
Options: nofatal, wait
METHODS
- new($_class, $urpm, $file, $db_name, $b_exclusive, %options)
-
Create a new lock. You don't want to use it directly. Either use urpmi_db() or rpm_db().
Options:
nofatal
wait
- unlock($lock)
-
Free a lock.
COPYRIGHT
Copyright (C) 2005 MandrakeSoft SA
Copyright (C) 2005-2010 Mandriva SA
Copyright (C) 2011-2020 Mageia