Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 949726 Details for
Bug 1155514
Preupgrade fails on system check RHEL 6.6
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch
pa-contents-system-version.patch (text/plain), 721 bytes, created by
Petr Stodulka
on 2014-10-23 08:16:43 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Petr Stodulka
Created:
2014-10-23 08:16:43 UTC
Size:
721 bytes
patch
obsolete
>diff --git a/RHEL6_7/system/SystemVersion/check.sh b/RHEL6_7/system/SystemVersion/check.sh >index a069fd8..abe7d1b 100755 >--- a/RHEL6_7/system/SystemVersion/check.sh >+++ b/RHEL6_7/system/SystemVersion/check.sh >@@ -38,7 +38,7 @@ while read line; do > pkg_nvr=$(echo $line | cut -d "=" -f 2 | sed -e "s/^\s*//" -e "s/\s*$//") > > # head because of multilib pkgs..you know.. x86_64 and i686 versions installed at once... >- pkg_nvr_installed=$(rpm -q --qf "${QUERY_FORMAT}" $pkgname | head -n 1) >+ pkg_nvr_installed=$(rpm -q --qf "${QUERY_FORMAT}" $pkgname | sort -Vr | head -n 1) > [ $? -ne 0 ] && { > log_error "rpm" "package $pkgname is not installed or some else problem with rpm utility!" > exit $RESULT_ERROR
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1155514
:
949320
| 949726