diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-09 14:04:25 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-09 14:04:25 +0000 |
commit | dc5524b0906cf3111c49cd16396b22668b6d7ee2 (patch) | |
tree | 9e1774b16d2f4ce3b4f764b4ba25853e9db2b526 /urpm | |
parent | b07ef84b0bef0bb8ae4a2bea7bd7211fcceffe96 (diff) | |
download | urpmi-dc5524b0906cf3111c49cd16396b22668b6d7ee2.tar urpmi-dc5524b0906cf3111c49cd16396b22668b6d7ee2.tar.gz urpmi-dc5524b0906cf3111c49cd16396b22668b6d7ee2.tar.bz2 urpmi-dc5524b0906cf3111c49cd16396b22668b6d7ee2.tar.xz urpmi-dc5524b0906cf3111c49cd16396b22668b6d7ee2.zip |
- urpmi
o explicit error when using "urpmi ---install-src" as user with remote media
o add support for "suggests": a newly suggested package is installed as if
required, but one can remove it afterwards, or use --no-suggests
- urpmf
o handle --suggests
all the work is done in perl-URPM 1.69
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/args.pm | 2 | ||||
-rw-r--r-- | urpm/select.pm | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm index 403e52b6..68feea57 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -94,6 +94,7 @@ my %options_spec = ( $urpm->{options}{'priority-upgrade'} = ''; }, force => \$::force, + 'no-suggests' => sub { $urpm->{options}{'no-suggests'} = 1 }, 'allow-nodeps' => sub { $urpm->{options}{'allow-nodeps'} = 1 }, 'allow-force' => sub { $urpm->{options}{'allow-force'} = 1 }, 'parallel=s' => \$::parallel, @@ -342,6 +343,7 @@ foreach my $k (qw( requires size sourcerpm + suggests summary url vendor diff --git a/urpm/select.pm b/urpm/select.pm index 24b844f8..7544e83b 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -165,6 +165,7 @@ sub search_packages { #- callback_choices #- keep #- nodeps +#- no_suggests sub resolve_dependencies { #- $state->{selected} will contain the selection of packages to be #- installed or upgraded |