Yum says package "ntp" is not available which is not true

Tony Nelson tonynelson at georgeanelson.com
Sat Aug 4 22:58:55 UTC 2007


At 9:25 PM +0200 8/4/07, Dennis Jacobfeuerborn wrote:
 ...
>There is something really weird going on here:
>
>[root at nexus etc]# rpm -ql ntp
>package ntp is not installed
>[root at nexus etc]# rpm -ql ntp-4.2.4p2-3.fc8
>/etc/ntp
>/etc/ntp.conf
>/etc/ntp/crypto
>/etc/ntp/crypto/pw
>/etc/ntp/keys
>...
>
>Why doesn't rpm recognize the package with the name "ntp"? I even removed
>the package with "rpm -e --nodeps ntp-4.2.4p2-3.fc8" (again just saying
>"ntp" isn't enough) and reinstalled it but that doesn't help.
>
>I also tried to check the db:
>[root at nexus ~]# package-cleanup --problems
>Setting up yum
>No Repositories Available to Set Up
>Reading local RPM database
>Processing all local requires
>No problems found
>
>That doesn't look quite right...

That doesn't check the database files.  If the option hasn't been removed
yet, "rpm --verifydb" will check the individual files, though not the
referential integrity, of the RPM database.
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the fedora-devel-list mailing list