Thierry Vignaud > urpmi-7.9 > urpm::sys

Download:
urpmi-7.9.tgz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View/Report Bugs
Source   Latest Release: urpmi-8.02

NAME ^

urpm::sys - OS-related routines for urpmi

SYNOPSIS ^

DESCRIPTION ^

get_packages_list($file, $o_extra)

Get the list of packages that should not be upgraded or installed, typically from the inst.list or skip.list files.

find_a_mntpoint($dir)

Find used mount point from a pathname

df($mntpoint)

Return the size of the partition and its free space in KiB

first_free_loopdev()

Returns the first unused loop device, or an empty string if none is found.

check_fs_writable()

Checks if the main filesystems are writeable for urpmi to install files in

apply_delta_rpm($deltarpm, $o_dir, $o_pkg)

Create a plain rpm from an installed rpm and a delta rpm (in the current directory) Returns the new rpm filename in case of success. Params :

  • $deltarpm : full pathname of the deltarpm
  • $o_dir : directory where to put the produced rpm (optional)
  • $o_pkg : URPM::Package object corresponding to the deltarpm (optional)

COPYRIGHT ^

Copyright (C) 2005 MandrakeSoft SA

Copyright (C) 2005-2010 Mandriva SA

syntax highlighting: