Bug 675147 - sharutils doesn't provide uuencode uudecode
Summary: sharutils doesn't provide uuencode uudecode
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: sharutils
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-04 13:26 UTC by Michal Ambroz
Modified: 2011-02-07 09:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-07 09:26:05 UTC
Type: ---


Attachments (Terms of Use)

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.


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