Re: showing %ghost files with rpm -q

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On February 20, 2007 2:31:39 PM -0500 Jeff Johnson <n3npq.jbj@xxxxxxxxx> wrote:
On 2/19/07, Frank Cusack <fcusack@xxxxxxxxxxx> wrote:
Sometime after rpm-4.0.2, %ghost files stopped showing up in rpm -ql
output. How do I show them?  Is there a change I can make to rpmpopt to
show them by default?

This is especially annoying because you can do rpm -ql followed by rpm -e
and find that files not listed by rpm -ql were removed.


Hmmm, rpm-4.0.2 ios so ancient I cannot remember.

Here's the rpm-4.4.8 behavior, I know of no change for quite some years.
$ grep '%ghost' filesystem.spec
%ghost %config(missingok) %verify(not size md5 mode user link rdev
group mtime) /mnt/cdrom
%ghost %config(missingok) %verify(not size md5 mode user link rdev
group mtime) /mnt/floppy
- %%ghost /mnt/cdrom, /mnt/floppy (fixes #52046)

$ rpm -ql filesystem | grep cdrom
/mnt/cdrom
$ rpm -ql --noghost filesystem | grep cdrom
$

Note that %ghost is displayed unless --noghost is added.

[frank@shell:~]$ rpm -qf /var/lib/rpm/__db.001
rpm-4.2.1-9
[frank@shell:~]$ rpm -ql rpm | grep __db
[frank@shell:~]$ rpm --version
RPM version 4.2.1

But it works correctly in 4.4.7.  So I guess it broke sometime after 4.0.2
and was fixed sometime after 4.2.1.

thanks
-frank

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux