Bug 604626

Summary: MAN: yum-verify man page uses 'pretty' quotes in examples, and thus they don't work
Product: Red Hat Enterprise Linux 6 Reporter: Jan Hutař <jhutar>
Component: man-pages-overridesAssignee: Ivana Varekova <varekova>
Status: CLOSED ERRATA QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: ovasik, psklenar, slukasik, syeghiay, varekova
Target Milestone: rcKeywords: ManPageChange, Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 659740 (view as bug list) Environment:
Last Closed: 2011-05-19 14:28:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 582655, 659740    

Description Jan Hutař 2010-06-16 11:13:56 UTC
Description of problem:
According to manual page, mentioned command should:

> EXAMPLES
>      [...]
>      To verify the binaries that are in a bin directory, use:
> 
>             yum verify --verify-filenames=’*bin/*’

but it does not.


Version-Release number of selected component (if applicable):
yum-3.2.27-9.el6.noarch
yum-plugin-verify-1.1.26-9.el6.noarch


How reproducible:
always (tested on 1 RHEL6 i386 system)


Steps to Reproduce:
1. # rpm -qf /bin/tracepath6
   iputils-20071127-12.el6.i686
2. # rpm -V iputils
3. # mv /bin/tracepath6{,.BACKUP}
4. # rpm -V iputils
   missing     /bin/tracepath6
5. # yum verify --verify-filenames=’*bin/*’
   Loaded plugins: aliases, changelog, downloadonly, presto, protect-packages, refresh-packagekit, rhnplugin, security, tmprepo,
                 : verify, versionlock
   This system is not registered with RHN.
   RHN support will be disabled.
   verify done
6. # echo $?
   0


Actual results:
yum command in point "5." do not report any missing file and ends with 0


Expected results:
yum command should report missing file as:

# yum verify iputils
Loaded plugins: aliases, changelog, downloadonly, presto, protect-packages, refresh-packagekit, rhnplugin, security, tmprepo,
              : verify, versionlock
This system is not registered with RHN.
RHN support will be disabled.
==================== Installed Packages ====================
iputils.i686 : Network monitoring tools including ping
    File: /bin/tracepath6
        Problem:  file is missing
verify done

Comment 1 RHEL Program Management 2010-06-16 11:33:45 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 seth vidal 2010-06-17 18:24:48 UTC
I can't seem to make this happen in the upstream version of yum/yum-verify

on F13.

Comment 4 James Antill 2010-06-17 19:20:39 UTC
Dito. however I will note that the quotes in your example:

    yum verify --verify-filenames=’*bin/*’

are: ’ == 0xe2 0x80 0x99

not: ' == 0x27

...which would explain it, if that's what you typed.

Comment 14 errata-xmlrpc 2011-05-19 14:28:37 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0780.html