ManaTools::Shared::urpmi_backend::tools - urpmi backend tools object
use ManaTools::Shared::urpmi_backend::tools; my $urpm_tools = ManaTools::Shared::urpmi_backend::tools->new();
This module is a backend to some urpmi funcitionalities
You can find documentation for this module with the perldoc command: perldoc ManaTools::Shared::urpmi_backend::tools
ManaTools::Shared::urpmi_backend::DB
Angelo Naselli <anaselli@linux.it>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation.
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.
a ManaTools::Shared::urpmi_backend::DB object
$urpm: an urpm object
DESCRIPTION
This method returns a list of update media (here for convenience, implemented in ManaTools::Shared::urpmi_backend::DB)
text: a string that is converted or left to utf8
DESCRIPTION
This method ensure the given string is utf8
# description: package description field
DESCRIPTION
Retrieve the rpm desctiption
$pkg: package
DESCRIPTION
This method returns the urpm format name e.g. name-version-release.arch
$package: package to find (URPM::Package) or package name
DESCRIPTION
This method returns if a package is installed
$package: package to find (URPM::Package) or package name
DESCRIPTION
This method returns the full name of the package if installed
This method returns if the system is mageia linux
This method returns if the vendor is mageia or mandriva
$package: package (URPM::Package)
DESCRIPTION
This method returns the package id meant as (name;version-release;arch;vendor)
$p: package (URPM::Package) $urpm: urpm object
DESCRIPTION
Returns the medium that contains the URPM::Package $pkg
$pkg_string: package fullname
DESCRIPTION
Returns package id meant as "name;varsion-release;arch;vendor"
$urpm: urpm object $package_id: package id (see fullname_to_package_id)
DESCRIPTION
Returns URPM::Package package
$pkg: package (URPM::Package) or package name (string)
DESCRIPTION
Returns package id of the given package
$urpm: urpm object $pkg: package (URPM::Package) or package name (string)
DESCRIPTION
Returns package to upgrade