Bug 510213 - rpm -Vv <pkg>, return code is always 1 when verbose mode is turn on
rpm -Vv <pkg>, return code is always 1 when verbose mode is turn on
Status: CLOSED NEXTRELEASE
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rpm (Show other bugs)
5.4
All Linux
low Severity low
: rc
: ---
Assigned To: packaging-team-maint
BaseOS QE Security Team
:
Depends On:
Blocks: 500798
  Show dependency treegraph
 
Reported: 2009-07-08 07:34 EDT by Petr Sklenar
Modified: 2013-03-07 09:21 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-03-07 09:21:28 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Petr Sklenar 2009-07-08 07:34:31 EDT
Description of problem:
return code is always 1 when verbose mode is turn on

Version-Release number of selected component (if applicable):
rpm-4.4.2.3-16.el5.x86_64
nightbuild rhel54-server-20090708

How reproducible:
always

Steps to Reproduce:
1. rpm -Vv <some_pkgs>
2. echo $?
# always 1

Actual results:

.live.[root@x86-64-5c-m1 tps]# rpm -q rpm
rpm-4.4.2.3-16.el5.x86_64
.live.[root@x86-64-5c-m1 tps]# rpm -V rpm
.live.[root@x86-64-5c-m1 tps]# echo $?
0
.live.[root@x86-64-5c-m1 tps]# rpm -Vv rpm
........    /bin/rpm
........    /etc/cron.daily/rpm
........  c /etc/logrotate.d/rpm
........    /etc/rpm
........    /usr/bin/gendiff
........    /usr/bin/rpm2cpio
........    /usr/bin/rpmdb
........    /usr/bin/rpmquery
........    /usr/bin/rpmsign
........    /usr/bin/rpmverify
........    /usr/lib/rpm
........    /usr/lib/rpm/amd64-linux
........    /usr/lib/rpm/amd64-linux/macros
........    /usr/lib/rpm/athlon-linux
........    /usr/lib/rpm/athlon-linux/macros
........    /usr/lib/rpm/config.guess
........    /usr/lib/rpm/config.sub
........    /usr/lib/rpm/convertrpmrc.sh
........    /usr/lib/rpm/freshen.sh
........    /usr/lib/rpm/geode-linux
........    /usr/lib/rpm/geode-linux/macros
........    /usr/lib/rpm/i386-linux
........    /usr/lib/rpm/i386-linux/macros
........    /usr/lib/rpm/i486-linux
........    /usr/lib/rpm/i486-linux/macros
........    /usr/lib/rpm/i586-linux
........    /usr/lib/rpm/i586-linux/macros
........    /usr/lib/rpm/i686-linux
........    /usr/lib/rpm/i686-linux/macros
........    /usr/lib/rpm/ia32e-linux
........    /usr/lib/rpm/ia32e-linux/macros
........    /usr/lib/rpm/macros
........    /usr/lib/rpm/mkinstalldirs
........    /usr/lib/rpm/noarch-linux
........    /usr/lib/rpm/noarch-linux/macros
........    /usr/lib/rpm/pentium3-linux
........    /usr/lib/rpm/pentium3-linux/macros
........    /usr/lib/rpm/pentium4-linux
........    /usr/lib/rpm/pentium4-linux/macros
........    /usr/lib/rpm/rpm2cpio.sh
........    /usr/lib/rpm/rpmd
........    /usr/lib/rpm/rpmdb_archive
........    /usr/lib/rpm/rpmdb_checkpoint
........    /usr/lib/rpm/rpmdb_deadlock
........    /usr/lib/rpm/rpmdb_dump
........    /usr/lib/rpm/rpmdb_load
........    /usr/lib/rpm/rpmdb_loadcvt
........    /usr/lib/rpm/rpmdb_printlog
........    /usr/lib/rpm/rpmdb_recover
........    /usr/lib/rpm/rpmdb_stat
........    /usr/lib/rpm/rpmdb_svc
........    /usr/lib/rpm/rpmdb_upgrade
........    /usr/lib/rpm/rpmdb_verify
........    /usr/lib/rpm/rpme
........    /usr/lib/rpm/rpmfile
........    /usr/lib/rpm/rpmi
........    /usr/lib/rpm/rpmk
........    /usr/lib/rpm/rpmpopt-4.4.2.3
........    /usr/lib/rpm/rpmq
........    /usr/lib/rpm/rpmrc
........    /usr/lib/rpm/rpmu
........    /usr/lib/rpm/rpmv
........    /usr/lib/rpm/tgpg
........    /usr/lib/rpm/x86_64-linux
........    /usr/lib/rpm/x86_64-linux/macros
........    /usr/share/doc/rpm-4.4.2.3
........  d /usr/share/doc/rpm-4.4.2.3/CHANGES
........  d /usr/share/doc/rpm-4.4.2.3/COPYING
........  d /usr/share/doc/rpm-4.4.2.3/COPYRIGHT-lua
........  d /usr/share/doc/rpm-4.4.2.3/CREDITS
........  d /usr/share/doc/rpm-4.4.2.3/ChangeLog
........  d /usr/share/doc/rpm-4.4.2.3/GROUPS
........  d /usr/share/doc/rpm-4.4.2.3/LEGAL.NOTICE-file
........  d /usr/share/doc/rpm-4.4.2.3/LICENSE-bdb
........  d /usr/share/doc/rpm-4.4.2.3/Makefile
........  d /usr/share/doc/rpm-4.4.2.3/Makefile.am
........  d /usr/share/doc/rpm-4.4.2.3/Makefile.in
........  d /usr/share/doc/rpm-4.4.2.3/Makefile.in.autoreconf
........  d /usr/share/doc/rpm-4.4.2.3/builddependencies
........  d /usr/share/doc/rpm-4.4.2.3/buildroot
........  d /usr/share/doc/rpm-4.4.2.3/conditionalbuilds
........  d /usr/share/doc/rpm-4.4.2.3/dependencies
........  d /usr/share/doc/rpm-4.4.2.3/format
........  d /usr/share/doc/rpm-4.4.2.3/hregions
........  d /usr/share/doc/rpm-4.4.2.3/macros
........  d /usr/share/doc/rpm-4.4.2.3/multiplebuilds
........  d /usr/share/doc/rpm-4.4.2.3/queryformat
........  d /usr/share/doc/rpm-4.4.2.3/relocatable
........  d /usr/share/doc/rpm-4.4.2.3/rollbacks
........  d /usr/share/doc/rpm-4.4.2.3/signatures
........  d /usr/share/doc/rpm-4.4.2.3/spec
........  d /usr/share/doc/rpm-4.4.2.3/triggers
........  d /usr/share/doc/rpm-4.4.2.3/tsort
........    /usr/share/locale/ca/LC_MESSAGES/rpm.mo
........    /usr/share/locale/cs/LC_MESSAGES/rpm.mo
........    /usr/share/locale/da/LC_MESSAGES/rpm.mo
........    /usr/share/locale/de/LC_MESSAGES/rpm.mo
........    /usr/share/locale/es/LC_MESSAGES/rpm.mo
........    /usr/share/locale/fi/LC_MESSAGES/rpm.mo
........    /usr/share/locale/fr/LC_MESSAGES/rpm.mo
........    /usr/share/locale/gl/LC_MESSAGES/rpm.mo
........    /usr/share/locale/is/LC_MESSAGES/rpm.mo
........    /usr/share/locale/it/LC_MESSAGES/rpm.mo
........    /usr/share/locale/ja/LC_MESSAGES/rpm.mo
........    /usr/share/locale/ko/LC_MESSAGES/rpm.mo
........    /usr/share/locale/nb/LC_MESSAGES/rpm.mo
........    /usr/share/locale/pl/LC_MESSAGES/rpm.mo
........    /usr/share/locale/pt/LC_MESSAGES/rpm.mo
........    /usr/share/locale/pt_BR/LC_MESSAGES/rpm.mo
........    /usr/share/locale/ro/LC_MESSAGES/rpm.mo
........    /usr/share/locale/ru/LC_MESSAGES/rpm.mo
........    /usr/share/locale/sk/LC_MESSAGES/rpm.mo
........    /usr/share/locale/sl/LC_MESSAGES/rpm.mo
........    /usr/share/locale/sr/LC_MESSAGES/rpm.mo
........    /usr/share/locale/sr@latin/LC_MESSAGES/rpm.mo
........    /usr/share/locale/sv/LC_MESSAGES/rpm.mo
........    /usr/share/locale/tr/LC_MESSAGES/rpm.mo
........    /usr/share/locale/zh_TW/LC_MESSAGES/rpm.mo
........  d /usr/share/man/ja/man8/rpm.8.gz
........  d /usr/share/man/ja/man8/rpm2cpio.8.gz
........  d /usr/share/man/ja/man8/rpmbuild.8.gz
........  d /usr/share/man/ja/man8/rpmcache.8.gz
........  d /usr/share/man/ja/man8/rpmgraph.8.gz
........  d /usr/share/man/man1/gendiff.1.gz
........  d /usr/share/man/man8/rpm.8.gz
........  d /usr/share/man/man8/rpm2cpio.8.gz
........  d /usr/share/man/pl/man1/gendiff.1.gz
........  d /usr/share/man/pl/man8/rpm.8.gz
........  d /usr/share/man/pl/man8/rpm2cpio.8.gz
........  d /usr/share/man/pl/man8/rpmbuild.8.gz
........  d /usr/share/man/pl/man8/rpmcache.8.gz
........  d /usr/share/man/pl/man8/rpmdeps.8.gz
........  d /usr/share/man/pl/man8/rpmgraph.8.gz
........  d /usr/share/man/ru/man8/rpm.8.gz
........  d /usr/share/man/ru/man8/rpm2cpio.8.gz
........  d /usr/share/man/sk/man8/rpm.8.gz
........    /var/lib/rpm
........    /var/spool/repackage
.live.[root@x86-64-5c-m1 tps]# echo $?
1

Expected results:
When rpm -V is 0 then rpm -Vv should be 0 too.

Additional info:
Comment 1 Panu Matilainen 2009-07-08 09:26:59 EDT
Heh, yup... the bug is about nine years old if not even older. Fixed upstream now, but I doubt it qualifies as a regression as it outdates even RHEL 2.1 :)
Comment 2 Panu Matilainen 2013-03-07 09:21:28 EST
Given how old the bug is and nobody else complaining... I dont think its worth the trouble fixing it in rhel-5 anymore. It's fixed in rhel-6 anyway.

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