Hide Forgot
Description of problem: Yum displays packages in a format that is not readily usable as a parameter in the command line. For example: $ yum list kernel* Loaded plugins: refresh-packagekit Installed Packages kernel.i686 2.6.38.6-27.fc15 @updates kernel-PAE.i686 2.6.38.6-26.rc1.fc15 @anaconda-InstallationRepo-201105131946.i686 kernel-PAE.i686 2.6.38.6-27.fc15 @updates kernel-PAE-devel.i686 2.6.38.6-26.rc1.fc15 @anaconda-InstallationRepo-201105131946.i686 kernel-PAE-devel.i686 2.6.38.6-27.fc15 @updates kernel-headers.i686 2.6.38.6-27.fc15 @updates Available Packages kernel-PAEdebug.i686 2.6.38.6-27.fc15 updates kernel-PAEdebug-devel.i686 2.6.38.6-27.fc15 updates kernel-debug.i686 2.6.38.6-27.fc15 updates kernel-debug-devel.i686 2.6.38.6-27.fc15 updates kernel-devel.i686 2.6.38.6-27.fc15 updates kernel-doc.noarch 2.6.38.6-27.fc15 updates The command "sudo yum remove kernel-PAE.i686 2.6.38.6-26.rc1.fc15" will fail to remove a specific package. A user would need to manipulate and recompose the output values to get the correct package name. Version-Release number of selected component (if applicable): 3.2.29-5.fc15 How reproducible: Always Steps to Reproduce: 1. yum list kernel* 2. 3. Actual results: $ yum list kernel* Loaded plugins: refresh-packagekit Installed Packages kernel.i686 2.6.38.6-27.fc15 @updates kernel-PAE.i686 2.6.38.6-26.rc1.fc15 @anaconda-InstallationRepo-201105131946.i686 kernel-PAE.i686 2.6.38.6-27.fc15 @updates kernel-PAE-devel.i686 2.6.38.6-26.rc1.fc15 @anaconda-InstallationRepo-201105131946.i686 kernel-PAE-devel.i686 2.6.38.6-27.fc15 @updates kernel-headers.i686 2.6.38.6-27.fc15 @updates Available Packages kernel-PAEdebug.i686 2.6.38.6-27.fc15 updates kernel-PAEdebug-devel.i686 2.6.38.6-27.fc15 updates kernel-debug.i686 2.6.38.6-27.fc15 updates kernel-debug-devel.i686 2.6.38.6-27.fc15 updates kernel-devel.i686 2.6.38.6-27.fc15 updates kernel-doc.noarch 2.6.38.6-27.fc15 updates Expected results: Package names presented in same format/structure as from the repository. The same format as output by rpm; e.g. $ rpm -qa kernel* kernel-headers-2.6.38.6-27.fc15.i686 kernel-2.6.38.6-27.fc15.i686 kernel-PAE-2.6.38.6-26.rc1.fc15.i686 kernel-PAE-devel-2.6.38.6-26.rc1.fc15.i686 kernel-PAE-2.6.38.6-27.fc15.i686 kernel-PAE-devel-2.6.38.6-27.fc15.i686 Output that is usable with cut, copy, or paste operations without requiring additional manipulation. Additional info:
since I'm not a utilitarian then that makes sense.