Bug 75424
Summary: | rpm -qa --last generates warning when piped through head | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Richard Lloyd <rkl> |
Component: | rpm | Assignee: | Paul Nasrat <nobody+pnasrat> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-04-19 18:46:51 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: |
Description
Richard Lloyd
2002-10-08 13:30:32 UTC
Hmmm, this WORKSFORME. I can't tell where the failure is coming from. The --last option is simply some pipe fitting onto "rpm -qa" output from a popt alias contained in /usr/lib/rpm/rpmpopt-4.1: rpm alias --last --qf '%|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| %{NAME}-%{VERSION}-%{RELEASE} %|INSTALLTIME?{%{INSTALLTIME:date}}:{(not installed)}|\n' \ --pipe "sort -r -n | sed 's,^[0-9]\+ ,,' | awk '{printf(\"%-45s %-s\n\", $1, substr($0,length($1)+2))}' " \ --POPTdesc=$"list package(s) by install time, most recent first" Can you try to identify which of the components (i.e. sort/sed/awk) is failing, and cook the mess down to a reproducible case? Thanks ... Closing due to inactivity. If this issue still occurs with current releases, please reopen and set the release in which you've encountered the problem. |