summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pod/urpmq.8.pod8
-rw-r--r--urpm/args.pm1
-rw-r--r--urpmi.bash-completion2
-rwxr-xr-xurpmq2
4 files changed, 10 insertions, 3 deletions
diff --git a/pod/urpmq.8.pod b/pod/urpmq.8.pod
index 8da9a7e6..ed4a7649 100644
--- a/pod/urpmq.8.pod
+++ b/pod/urpmq.8.pod
@@ -106,8 +106,12 @@ packages. (Can be used by the superuser only.)
=item B<--force>
-Continue when requesting
-packages that are not available.
+Continue when requesting packages that are not available.
+
+=item B<--ignorearch>
+
+Allow to search packages whose architecture isn't compatible with the
+architecture of the host.
=item B<--parallel> I<alias>
diff --git a/urpm/args.pm b/urpm/args.pm
index b586cacd..706a1d0a 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -217,6 +217,7 @@ my %options_spec = (
'list-url' => \$options{list_url},
'list-nodes' => \$options{list_nodes},
'list-aliases' => \$options{list_aliases},
+ 'ignorearch' => \$options{ignorearch},
'dump-config' => \$options{dump_config},
'src|s' => \$options{src},
sources => \$options{sources},
diff --git a/urpmi.bash-completion b/urpmi.bash-completion
index 11a03dc5..9f4188c8 100644
--- a/urpmi.bash-completion
+++ b/urpmi.bash-completion
@@ -136,7 +136,7 @@ _urpmq()
--list --list-url --list-media --list-nodes --list-aliases \
--src --sources --force --parallel --wget --curl \
--changelog --proxy --proxy-user --env --dump-config \
- --use-distrib --searchmedia' -- $cur))
+ --use-distrib --searchmedia --ignorearch' -- $cur))
else
# return available packages (unless it is clearly a file) and rpm files
if [[ "$cur" != */* ]]; then
diff --git a/urpmq b/urpmq
index b3af9103..195ecc81 100755
--- a/urpmq
+++ b/urpmq
@@ -61,6 +61,7 @@ usage:
") . N(" --src - next package is a source package (same as -s).
") . N(" --sources - give all source packages before downloading (root only).
") . N(" --force - force invocation even if some packages do not exist.
+") . N(" --ignorearch - allow to query rpms for unmatched architectures.
") . N(" --parallel - distributed urpmi across machines of alias.
") . N(" --use-distrib - configure urpmi on the fly from a distrib tree.
This permit to querying a distro.
@@ -199,6 +200,7 @@ if ($urpm::args::options{list_aliases}) {
fuzzy => $urpm::args::options{fuzzy},
caseinsensitive => $urpm::args::options{caseinsensitive},
all => $urpm::args::options{all},
+ ignorearch => $urpm::args::options{ignorearch},
) or $urpm::args::options{force}
or exit 1;
}