Bug 12690

Summary: rpm -q --last shows odd results
Product: [Retired] Red Hat Linux Reporter: Adrian Likins <alikins>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: alikins
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: 2000-06-19 19:46:35 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 Adrian Likins 2000-06-19 19:46:33 UTC
beta 1 install, a few thirdparty packages installed:

[root@test158 /root]# rpm -q --last
package substr($0,length($1)+2))} " is not installed
package %|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| is not installed
package V is not installed
package  is not installed
package installed)}|n   --pipe "sort -r -n | sed s,^[0-9]+ is not installed
package ,, | awk {printf("%-35s is not installed
package %-sn", is not installed
package $1, is not installed
package substr($0,length($1)+2))} " is not installed


Same results before and after a `rpm --rebuilddb`

And perhaps more interesting is that a:

	rpm --last

causes a segfault

Comment 1 Jeff Johnson 2000-07-09 15:53:21 UTC
There's a typo in /usr/lib/rpm/rpmpopt*,  fix is to delete 1st of duplicated
single quotes.