summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-12-17 16:09:48 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-12-17 16:09:48 +0000
commitddfe0b7cf9747c7f285f1e875012cb860898c59d (patch)
tree54e510247a353935507f8aad7a63670b7d10188f
parent289ff19a60ff92e5d9c73a6e25840d10f525215c (diff)
downloadurpmi-ddfe0b7cf9747c7f285f1e875012cb860898c59d.tar
urpmi-ddfe0b7cf9747c7f285f1e875012cb860898c59d.tar.gz
urpmi-ddfe0b7cf9747c7f285f1e875012cb860898c59d.tar.bz2
urpmi-ddfe0b7cf9747c7f285f1e875012cb860898c59d.tar.xz
urpmi-ddfe0b7cf9747c7f285f1e875012cb860898c59d.zip
Trim obsolete documentation
-rw-r--r--urpm.pm56
1 files changed, 3 insertions, 53 deletions
diff --git a/urpm.pm b/urpm.pm
index ee63e36d..c38e7d13 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -3219,56 +3219,6 @@ __END__
urpm - Mandrakesoft perl tools to handle the urpmi database
-=head1 SYNOPSYS
-
- require urpm;
-
- my $urpm = new urpm;
- $urpm->read_config();
- $urpm->add_medium('medium_ftp',
- 'ftp://ftp.mirror/pub/linux/distributions/mandrake-devel/cooker/i586/media/main',
- 'synthesis.hdlist.cz',
- update => 0);
- $urpm->add_distrib_media('stable', 'removable://mnt/cdrom',
- update => 1);
- $urpm->select_media('contrib', 'update');
- $urpm->update_media(%options);
- $urpm->write_config();
-
- my $urpm = new urpm;
- $urpm->read_config(nocheck_access => $uid > 0);
- foreach (grep { !$_->{ignore} } @{$urpm->{media} || []}) {
- $urpm->parse_synthesis($_);
- }
- if (@files) {
- push @names, $urpm->register_rpms(@files);
- }
-
- my %packages;
- @names and $urpm->search_packages(\%packages, [ @names],
- use_provides => 1);
- if ($auto_select) {
- my (%to_remove, %keep_files);
-
- $urpm->select_packages_to_upgrade('', \%packages,
- \%to_remove, \%keep_files,
- use_parsehdlist => $complete);
- }
- $urpm->filter_packages_to_upgrade(\%packages,
- $ask_choice);
- $urpm->deselect_unwanted_packages(\%packages);
-
- my ($local_sources, $list) = $urpm->get_source_packages(\%packages);
- my %sources = $urpm->download_source_packages($local_sources,
- $list,
- 'force_local',
- $ask_medium_change);
- my @rpms_install = grep { $_ !~ /\.src.\.rpm/ } values %{
- $urpm->extract_packages_to_install(\%sources)
- || {}};
- my @rpms_upgrade = grep { $_ !~ /\.src.\.rpm/ } values %sources;
-
-
=head1 DESCRIPTION
C<urpm> is used by urpmi executables to manipulate packages and media
@@ -3276,12 +3226,12 @@ on a Mandrakelinux distribution.
=head1 SEE ALSO
-perl-URPM (obsolete rpmtools) package is used to manipulate at a lower
-level hdlist and rpm files.
+The perl-URPM package is used to manipulate at a lower level hdlist and rpm
+files.
=head1 COPYRIGHT
-Copyright (C) 2000-2004 Mandrakesoft <fpons@mandrakesoft.com>
+Copyright (C) 2000-2004 Mandrakesoft
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