[Querying database] --- https://www.pld-linux.org/rpm5?rev=1386760519 +++ https://www.pld-linux.org/rpm5 @@ -24,15 +24,15 @@ </code> ==== 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> rpm -q -f /usr/src/linux/include/linux/fs.h </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" ==== You have to remove .poldek-cache directory if, after rpm/poldek ugrade, you see error similiar to the following:
Diff URL: https://www.pld-linux.org/rpm5?do=diff&r1=1386760519&r2=1386760602 -- This mail was generated by DokuWiki at https://www.pld-linux.org/ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
