1

"rpm -qf file_name" is giving the package name, although that file was deleted

view story
linux-howto

http://stackoverflow.com – For Suppose, i have installed a package having files file1, file2 and file3. After installation i have removed file3. But "rpm -qf file3" is giving the package name, even file3 was not there. And also "rpm -ql package" is also displaying all 3 files. How can i update rpm about that package to display only available files i.e. file1 and file2 when queried with "rpm -ql" (HowTos)