User Tools

Site Tools


rpm5

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
rpm5 [2013-12-11 12:15]
glen [Fixing database problems]
rpm5 [2013-12-11 12:16]
glen [Querying database]
Line 26: Line 26:
 ==== Querying database ==== ==== Querying database ====
  
-The semantics of rpm query option **-f** (**--file**) has changed in rpm 5.x; '''​rpm -q -f <​file-with-path>​'''​ will **not** resolve all symlinks in queried file's path. So the query (assuming ///​usr/​src/​linux//​ is a symlink to ///​usr/​src/​linux-A.B.C-R//​): ​+The semantics of rpm query option **-f** (**%%--file%%**) has changed in rpm 5.x; ''​rpm -q -f <​file-with-path>''​ will **not** resolve all symlinks in queried file's path. So the query (assuming ///​usr/​src/​linux//​ is a symlink to ///​usr/​src/​linux-A.B.C-R//​): ​
  
 <​code>​ <​code>​
Line 32: Line 32:
 </​code>​ </​code>​
  
-That returned //​kernel-headers-A.B.C-R.arch.rpm//​ with old rpm, will return nothing with rpm 5.x. You have to do '''​readlink -f'''​ first, or change to symlinked directory and do relative path query. ​+That returned //​kernel-headers-A.B.C-R.arch.rpm//​ with old rpm, will return nothing with rpm 5.x. You have to do ''​readlink -f''​ first, or change to symlinked directory and do relative path query. ​
  
 ==== poldek error "Too many open files" ==== ==== poldek error "Too many open files" ====
rpm5.txt ยท Last modified: 2015-01-13 16:01 by glen