The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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

check_fs_writable()

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

migrate_back_rpmdb_db_to_4_6($urpm, $root)

Downgrade rpmdb from external libdb-4.6.so to internal DB 4.3.27 (mdv2008.1 -> mdv2009.0)

migrate_back_rpmdb_db_to_4_6($urpm, $root)

Downgrade rpmdb from rpm-4.9 to 4.8.1 (both linked with db4.8.30) db (eg: when installing mga1 in a chroot from mga2+, mga#4590)

migrate_back_rpmdb_db_version($urpm, $root)

Check if we need to migrate back rpmdb to an older libdb after completing the upgrade/installation.

migrate_rpmdb_to_sqlite($urpm)

Migrate rpmdb to the new sqlite backend.

migrate_forward_rpmdb_db_version($urpm)

Check if we need to migrate rpmdb to a new backend prior to use it and do it if needed.

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

Copyright (C) 2011-2020 Mageia