Description of problem: I'm not sure if this is a problem with rpm or popt. I have a ~/.popt file with some aliases, for example, include the architecture when querying a package: rpm alias --arch \ --qf '%{name}-%{version}-%{release}.%{arch}\n' \ --POPTdesc=$"show package architecture" This worked in Fedora 8. $ rpm -q --arch kernel kernel-2.6.26.6-49.fc8.x86_64 After upgrading to Fedora 10, I get $ rpm -q --arch kernel --arch: unknown option Version-Release number of selected component (if applicable): rpm-4.6.0-0.rc1.7.x86_64 popt-1.13-4.fc10.x86_64 How reproducible: Every time Steps to Reproduce: 1. Create a ~/.popt file with an alias 2. Run rpm with the new alias Actual results: an error saying 'unknown option' Expected results: the alias works Additional info: Running strace on rpm shows that it does not even read my ~/.popt file
Yup, disabling ~/.popt and /etc/poptrc was supposed to be a temporary workaround for something but didn't remember to flip it back on. Fixed in rpm 4.6.0-rc2 in rawhide now, F10 will get it as an update after a bit of rawhide testing time.
rpm-4.6.0-0.rc3.1.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/rpm-4.6.0-0.rc3.1.fc10
rpm-4.6.0-0.rc3.1.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update rpm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2008-11332
rpm-4.6.0-0.rc3.1.fc10 reads my ~/.popt file again. Thanks!
rpm-4.6.0-0.rc3.1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.