Bug 675147

Summary: sharutils doesn't provide uuencode uudecode
Product: [Fedora] Fedora Reporter: Michal Ambroz <rebus>
Component: sharutilsAssignee: Petr Pisar <ppisar>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-07 09:26:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michal Ambroz 2011-02-04 13:26:55 UTC
Description of problem:
sharutils package doesn't reference "provides" to the binaries it contains (shar, unshar, uuencode, uudecode) which makes them really difficut to find. It is not possible to find it for example using the yum.

Version-Release number of selected component (if applicable):
sharutils-4.10-1.fc14.i686

How reproducible:
100%

Steps to Reproduce:
1. rpm -q --provides sharutils-4.10-1.fc14.i686
2. yum install uuencode

  
Actual results:
$ rpm -q --provides sharutils-4.10-1.fc14.i686
sharutils = 4.10-1.fc14
sharutils(x86-32) = 4.10-1.fc14


Expected results:
$ rpm -q --provides sharutils-4.10-1.fc14.i686
sharutils = 4.10-1.fc14
sharutils(x86-32) = 4.10-1.fc14
shar
unshar
uudecode
uuencode

Comment 1 Petr Pisar 2011-02-07 09:26:05 UTC
Package Provides are designed to provide non-file-name or non-package-name capabilities. To search for a file name, you can use

$ yum provides '*/bin/uudecode'
Loaded plugins: auto-update-debuginfo, presto
Found 27 installed debuginfo package(s)
Enabling rpmfusion-free-updates-debuginfo: RPM Fusion for Fedora 14 - Free - Updates Debug
Enabling rpmfusion-free-debuginfo: RPM Fusion for Fedora 14 - Free - Debug
sharutils-4.10-1.fc14.x86_64 : The GNU shar utilities for packaging and
                             : unpackaging shell archives
Repo        : fedora
Matched from:
Filename    : /usr/bin/uudecode

or 

$repoquery --whatprovides '*/bin/uudecode'
sharutils-0:4.10-1.fc14.x86_64

Note you need to put a slash to the query string, otherwise yum will not search for a file name.

I understand it's hard to figure out which package to install to get uuencode utilities (as each distribution prefers different package), but satisfying your request would mean to Provide each file in every package. This is pointless as you can search for file names already by different query type.