summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-03-20 08:37:27 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-03-20 08:37:27 +0000
commit190b6b2cf2a94e115abc25f75c707aa9de4cd0a8 (patch)
treef0f2fbb2d8b6efc991ff9392cb0ac21c3363cfed
parentd057196d86c7d10e9090017a8bc299da75e01d80 (diff)
downloadurpmi-190b6b2cf2a94e115abc25f75c707aa9de4cd0a8.tar
urpmi-190b6b2cf2a94e115abc25f75c707aa9de4cd0a8.tar.gz
urpmi-190b6b2cf2a94e115abc25f75c707aa9de4cd0a8.tar.bz2
urpmi-190b6b2cf2a94e115abc25f75c707aa9de4cd0a8.tar.xz
urpmi-190b6b2cf2a94e115abc25f75c707aa9de4cd0a8.zip
urpmi doesn't have a --auto-orphans parameter, fixes bug #48946
-rw-r--r--pod/urpmi.8.pod4
-rwxr-xr-xurpmi1
-rw-r--r--urpmi.bash-completion2
3 files changed, 1 insertions, 6 deletions
diff --git a/pod/urpmi.8.pod b/pod/urpmi.8.pod
index 7e274c91..8edba48f 100644
--- a/pod/urpmi.8.pod
+++ b/pod/urpmi.8.pod
@@ -107,10 +107,6 @@ Like B<--auto-select>, but also updates all relevant media before
selection of upgradeable packages is made. This avoids a previous call to
C<urpmi.update>.
-=item B<--auto-orphans>
-
-Remove all orphans without asking (see also C<urpme --auto-orphans>)
-
=item B<--no-md5sum>
Disable MD5SUM file checking when updating media.
diff --git a/urpmi b/urpmi
index fec56f1a..fa5b0c70 100755
--- a/urpmi
+++ b/urpmi
@@ -81,7 +81,6 @@ usage:
") . N(" --auto-update - update media then upgrade the system.
") . N(" --no-md5sum - disable MD5SUM file checking.
") . N(" --force-key - force update of gpg key.
-") . N(" --auto-orphans - remove orphans without asking
") . N(" --no-suggests - do not auto select \"suggested\" packages.
") . N(" --no-uninstall - never ask to uninstall a package, abort the installation.
") . N(" --no-install - don't install packages (only download)
diff --git a/urpmi.bash-completion b/urpmi.bash-completion
index 752606e7..ffd20dca 100644
--- a/urpmi.bash-completion
+++ b/urpmi.bash-completion
@@ -95,7 +95,7 @@ _urpmi()
# add dangereous option for everything else as rurpmi
if [[ ${COMP_WORDS[0]} != *rurpmi ]]; then
options="$options --root --use-distrib --env \
- --auto-orphans --replacepkgs --justdb \
+ --replacepkgs --justdb \
--allow-nodeps --allow-force --no-suggests --force \
--noscripts --auto-update --keep --nokeep \
--verify-rpm"