Because of changes [1] in latest perl-Getopt-Long, urpmq fails if -Yf or --list-media switches are used. Perl bundles older (and "working") version of perl(Getopt::Long), but it is possible to install newer one by hand as it's also shipped as a separate pkg. At some point bundled version will be updated and we will face the same issue for sure. Possible fix is to remove 'gnu_compat' option from /usr/lib/perl5/vendor_perl/5.22.1/urpm/args.pm line 21: ..snip.. # Configuration of Getopt. urpmf is a special case, because we need to # parse non-alphanumerical options (-! -( -)) my @configuration = qw(bundling gnu_compat permute); ..snip.. However, I don't know if removing 'gnu_compat' causes some side effects. [1] https://rt.cpan.org/Public/Bug/Display.html?id=39052
$ rpm -q perl-Getopt-Long package perl-Getopt-Long is not installed $ urpmq -Yf nano nano-2.5.3-1.mga6.x86_64 $ rpm -q perl-Getopt-Long perl-Getopt-Long-2.480.0-1.mga6 $ urpmq -Yf nano Unknown option: Yf nano
CC: (none) => stephane.pontier
commit c64a6c718adf88b4adc3d0105a2e2c7a28709bc1 Author: Shlomi Fish <shlomif@...> Date: Mon Jul 11 12:42:10 2016 +0200 add 'no_ignore_case' to Getopt options (mga#17923) thus fixing t/superuser--orphans.t regressions --- Commit Link: http://gitweb.mageia.org/software/rpm/urpmi/commit/?id=c64a6c718adf88b4adc3d0105a2e2c7a28709bc1
Fixed
Status: NEW => RESOLVEDResolution: (none) => FIXED