> Is there a work-around for this problem or any other way to update all the
 > installed files, eg. some rpm option that
 > updates only the **installed** packages on the system?

Somebody suggested to me using autorpm, which works well, apart from
the bad problem with the menu package which opens the RPM db after rpm
exits and causes successive rpm commands to fail.  Either remove menu
or set DURING_INSTALL=1 to fix that.

To save you wading through the man pages, drop something like the file
below into /etc/autorpm.d/addons/cooker-updates.conf

Obviously, replace /opt/mdk/cooker by your place in /usr where you
mirror.

Hope this helps.  

Maybe autorpm should be in main distro?


 - D.





----cut here-----

directory ("/opt/mdk/cooker/Mandrake/RPMS/") {
 
   # The reports in the source blocks contain less useful
   # information than the report for the Queues.  If this
   # is set to the same name as the Report_Queues command
   # then only one mail will be sent containing all the
   # information.
   Report_To ("${ReportDest}");
   #Report_To ("");
 
   # Don't upgrade kernel packages...
   #Regex_Ignore ("^kernel-");
   #Regex_Ignore("^rpm-");          
   #Recursive (Yes);
   #Regex_Dir_Accept("${Arch}");
 
   action (updated) {
      # Uncomment to automatically install these official updates
      Install (Auto);
      #Install (Interactive);
   }
 
   action (new) {
      # Interactively install these new packages
      # (you don't have them installed currently, so you might not want them)
      Install (Interactive);
   }
}    

Reply via email to