Bug 710822 - Yum displays package names in non-utilitarian format
Summary: Yum displays package names in non-utilitarian format
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-05 03:15 UTC by Kam Leo
Modified: 2014-01-21 23:18 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-06 13:00:51 UTC
Type: ---


Attachments (Terms of Use)

Description Kam Leo 2011-06-05 03:15:26 UTC
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:

Comment 1 seth vidal 2011-06-06 13:00:51 UTC
since I'm not a utilitarian then that makes sense.


Note You need to log in before you can comment on or make changes to this bug.