urpm::sys - OS-related routines for urpmi
Get the list of packages that should not be upgraded or installed, typically from the inst.list or skip.list files.
Find used mount point from a pathname
Return the size of the partition and its free space in KiB
Checks if the main filesystems are writable for urpmi to install files in
Downgrade rpmdb from external libdb-4.6.so to internal DB 4.3.27 (mdv2008.1 -> mdv2009.0)
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)
Check if we need to migrate back rpmdb to an older libdb after completing the upgrade/installation.
Migrate rpmdb to the new sqlite backend.
Check if we need to migrate rpmdb to a new backend prior to use it and do it if needed.
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 (C) 2005 MandrakeSoft SA
Copyright (C) 2005-2010 Mandriva SA
Copyright (C) 2011-2020 Mageia
To install urpmi, copy and paste the appropriate command in to your terminal.
cpanm
cpanm urpmi
CPAN shell
perl -MCPAN -e shell install urpmi
For more information on module installation, please visit the detailed CPAN module installation guide.