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 [2012-09-22 15:35]
glen code blocks
rpm5 [2012-10-08 14:09]
baggins _noauto changes
Line 17: Line 17:
  
 ==== Fixing database problems ==== ==== Fixing database problems ====
-You can't just do '''​rm -rf /​var/​lib/​rpm/​__db*'''​ to fix problems anymore, also **--rebuilddb** is largely obsolete in rpm-5.3.x and isn't likely to "​fix"​ anything. Instead: ​+You can't just do '''​rm -rf /​var/​lib/​rpm/​%%__db*%%'''​ to fix problems anymore, also **--rebuilddb** is largely obsolete in rpm-5.3.x and isn't likely to "​fix"​ anything. Instead: ​
  
 <​file>​cd /​var/​lib/​rpm <​file>​cd /​var/​lib/​rpm
Line 70: Line 70:
  
 <​file>​%{load:/​usr/​lib/​rpm/​macros.d/​perl} <​file>​%{load:/​usr/​lib/​rpm/​macros.d/​perl}
 +</​file>​
 +
 +==== Excluding dependencies ====
 +
 +'''​%%_noauto*%%'''​ macros have been changed to '''​%%__noauto*%%'''​ (notice double %%'​_'​%%).\\
 +Also regexp patterns changed slightly, and '​('​ must be escaped now, for example:
 +
 +<​file>​%define __noautoreq '​perl\\(something::​.*\\)'​
 </​file>​ </​file>​
  
rpm5.txt ยท Last modified: 2015-01-13 16:01 by glen