Reposync: Difference between revisions

From wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 2: Line 2:


  $ reposync --newest-only --repoid=rhel-7-server-rpms --download_path=/work/www/html/rhel7/main --downloadcomps --download-metadata
  $ reposync --newest-only --repoid=rhel-7-server-rpms --download_path=/work/www/html/rhel7/main --downloadcomps --download-metadata
<br>
<br>


RHEL 7: remove old packages
RHEL 7: remove old packages


  $ rm -f $(repomanage --old rhel7/main/)
  $ rm -f $(repomanage --old rhel7/main/)

Latest revision as of 22:18, 6 December 2022

RHEL 7: reposync

$ reposync --newest-only --repoid=rhel-7-server-rpms --download_path=/work/www/html/rhel7/main --downloadcomps --download-metadata



RHEL 7: remove old packages

$ rm -f $(repomanage --old rhel7/main/)