Changes

Jump to navigation Jump to search
m
signal-event yum-modify and Repository template
Line 104: Line 104:  
The following code uses the dag repository as an example and sets the status to disabled.  
 
The following code uses the dag repository as an example and sets the status to disabled.  
 
The repository is configured to be used via the command line with the --enablerepo= option  
 
The repository is configured to be used via the command line with the --enablerepo= option  
 
+
{{Repository|dag}}
db yum_repositories set dag repository \
  −
Name 'Dag - EL4' \
  −
BaseURL 'http://apt.sw.be/redhat/el4/en/$basearch/dag' \
  −
EnableGroups no \
  −
GPGCheck yes \
  −
GPGKey http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \
  −
Visible no \
  −
Exclude freetype,htop,iptraf,rsync,syslinux \
  −
status disabled
      
*How do I remove yum repositories
 
*How do I remove yum repositories
    
  db yum_repositories delete repositoryname
 
  db yum_repositories delete repositoryname
  expand-template /etc/yum.conf
+
  signal-event yum-modify
    
*How do I disable a repository to allow future use via command line with the --enablerepo= option
 
*How do I disable a repository to allow future use via command line with the --enablerepo= option
    
  db yum_repositories repositoryname setprop status disabled
 
  db yum_repositories repositoryname setprop status disabled
  expand-template /etc/yum.conf
+
  signal-event yum-modify
    
====Other popular repositories====
 
====Other popular repositories====

Navigation menu