source: { id => src_rpm_file|spec_file }
media: [ {
start => int, end => int, name => string, url => string,
virtual => bool, media_info_dir => string, with_synthesis => string,
no-media-info => bool,
iso => string, downloader => string,
ignore => bool, update => bool, modified => bool, really_modified => bool,
unknown_media_info => bool,
} ],
options: hashref of urpm options
several paths:
mediacfgdir: path of mediacfg.d (/etc/urpmi/mediacfg.d)
skiplist: path of skip.list (/etc/urpmi/skip.list),
instlist: path of inst.list (/etc/urpmi/inst.list),
prefer_list: path of prefer.list (/etc/urpmi/prefer.list),
prefer_vendor_list: path of prefer.vendor.list (/etc/urpmi/prefer.vendor.list),
private_netrc: path of netrc (/etc/urpmi/netrc),
statedir: state directory (/var/lib/urpmi),
cachedir: cache directory (/var/cache/urpmi),
root: path of the rooted system (when using global urpmi config),
urpmi_root: path of the rooted system (when both urpmi & rpmdb are chrooted)
Several subs:
error: sub for relaying other errors
log: sub for relaying messages if --verbose
print: sub for always displayed messages, enable to redirect output for eg: installer
info: sub for messages displayed unless --quiet
All "URPM" methods are available on an urpm object.
Sources is a hash of id -> source rpm filename.
See also submodules: gurpmi, urpm::args, urpm::bug_report, urpm::cdrom, urpm::cfg, urpm::download, urpm::get_pkgs, urpm::install, urpm::ldap, urpm::lock, urpm::main_loop, urpm::md5sum, urpm::media, urpm::mirrors, urpm::msg, urpm::orphans, urpm::parallel_ka_run, urpm::parallel, urpm::parallel_ssh, urpm::prompt, urpm::removable, urpm::select, urpm::signature, urpm::sys, urpm::util, urpm::xml_info_pkg, urpm::xml_info
Copyright (C) 2005-2010 Mandriva SA
Copyright (C) 2011-2017 Mageia
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.