User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fr; rv:1.9.0.5) Gecko/2008121622 Ubuntu/8.04 (hardy) Firefox/3.0.5 Since upgrading yum to 3.2.20-5, yum shell fails whith lines containing arguments like --security. Before this upgrade, I was using yum-cron and yum-security to daily update security relevant updates and some other packages like this: # cat /etc/yum/yum-daily.yum --- update firefox thunderbird flash-plugin AdobeReader_fra java-* openssh* openssl yum-security update --security ts run exit --- yum-cron uses yum shell tu execute this script. If i run yum update --security, there is no probleme: # yum update --security Modules complémentaires chargés : allowdowngrade, changelog, downloadonly, refresh-packagekit, security Configuration du processus de mise à jour Aucun paquetage marqué pour mise à jour But if I run yum shell whith the file above I've got an error: # yum shell /etc/yum/yum-daily.yum Modules complémentaires chargés : allowdowngrade, changelog, downloadonly, refresh-packagekit, security Configuration du shell Yum Configuration du processus de mise à jour Configuration du processus de mise à jour Aucune correspondance pour l'argument : --security No package --security available. Leaving Shell I didn't see this error message before upgrading yum. Reproducible: Always Steps to Reproduce: 1.Install yum-security 2.Create a file sample.txt containing: update --security ts run exit 3.run "yum shell sample.txt" Actual Results: This message: No Match for argument: --security No package --security available. Leaving Shell Expected Results: Should have searched for security updates. Reproduced on fedora 8, fedora 9 and fedora 10
Actually this has never worked, the new code is just pointing it out to you. On 3.2.19 and 3.2.20-5+ try: yum shell <<EOL update alfjdlakjflkamflamflakmf EOL ...the 3.2.19 doesn't say anything, but they are both doing the same thing (nothing). I'll move this to a feature request for rawhide, but it's probably not going to be available until at least Fedora 11.
FWIW - I switched from yum-updatesd to yum-cron because I thought it would give me this functionality (automated security-only updates); if yum-updatesd gets it, that would solve the problem as far as I'm concerned.
Thank you for the bug report. This particular bug was fixed and a update package was published for download for this Fedora release. You can obtain the updated package by typing 'yum update yum' or using the graphical updater, Software Update. Please feel free to report any further bugs you find, or make further reports if this bug is not fixed after you install the update. --- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers
Bug Closed as this was updated for the current release. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers