Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

_rpm odd behavior



Disclaimer: I know next to nothing about rpm.

I have no RPM database, but rpm -qcp shouldn't need one.
I believe that the behavior in case 3 is the correct one.
What's going on?

1% rpm -qcp <TAB>
1% rpm -qcp failed to open /var/lib/rpm/packages.rpm: No such file or directory

rpmQuery: rpmdbOpen() failed
zsh-3.0.7-4.i386.rpm
Completing RPM package file
zsh-3.0.7-4.i386.rpm 
Completing ftp URL prefix
ftp:// 


2% rpm -qcp<TAB>
2% rpm -qcpfailed to open /var/lib/rpm/packages.rpm: No such file or directory

rpmQuery: rpmdbOpen() failed
failed to open /var/lib/rpm/packages.rpm: No such file or directory

rpmQuery: rpmdbOpen() failed
failed to open /var/lib/rpm/packages.rpm: No such file or directory

rpmQuery: rpmdbOpen() failed
failed to open /var/lib/rpm/packages.rpm: No such file or directory

rpmQuery: rpmdbOpen() failed
failed to open /var/lib/rpm/packages.rpm: No such file or directory

rpmQuery: rpmdbOpen() failed
failed to open /var/lib/rpm/packages.rpm: No such file or directory

rpmQuery: rpmdbOpen() failed
failed to open /var/lib/rpm/packages.rpm: No such file or directory

rpmQuery: rpmdbOpen() failed                                                 F  
Completing corrections
-F          -- freshen mode
-K          -- signature check mode
-U          -- upgrade mode
-V          -- verify mode
-b          -- build mode (spec file)
-e          -- uninstall mode
-i          -- install mode
-t          -- build mode (tar file)
-v          -- verbose mode
-y          -- verify mode
Completing original
-qcp 


3% rpm -qpc <TAB>
3% rpm -qpc zsh-3.0.7-4.i386.rpm
Completing RPM package file
zsh-3.0.7-4.i386.rpm 
Completing ftp URL prefix
ftp:// 
 
4% rpm -qpc<TAB>
4% rpm -qpczsh-3.0.7-4.i386.rpm 
Completing RPM package file
zsh-3.0.7-4.i386.rpm 
Completing ftp URL prefix
ftp:// 



Messages sorted by: Reverse Date, Date, Thread, Author