Re: Partial FC6 upgrade? RPM database

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

 



Tony Nelson wrote:
At 11:56 AM -0500 11/18/06, Jim Cornette wrote:
Tony Nelson wrote:

Well, I applied the aumix update via puplet and the RPM database is still OK.


This command verifies the various RPM database files:

    []# ( cd /var/lib/rpm ; for name in `find . ! -name '__db*' -type f -print` ; do echo "$name" ; /usr/lib/rpm/rpmdb_verify "$name" ; done )

Expect output if something is incorrect.  That output doesn't refer to the
offending file, hence the "echo" command before it.

Thanks! I suspected it would spew out information for each element, though I was not sure.


However, from reading RPM's source, the proper and undocumented command is:

    []$ rpm --verifydb

Thanks! I ran the command just now on my FC6 installation and this command came back with no output. At least I verified both databases with the email read and trials.


which seems to work fine as a normal user, as it opens the files read-only.

Since some files are not visible to normal users, I usually do verify operations as root. I also tried the command as a normal user and nothing was flagged. For rpm -qaV though, I found chroot files and intentionally hidden from the normal user to be flagged as missing if done as a normal user.

Jim

--
Experience is what you get when you didn't get what you wanted.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux