One exemplary example of how to or how to not to.

# yum clean all
Loaded plugins: langpacks
Cleaning repos: rawhide
Cleaning up everything

# yum --enablerepo \* clean all
Loaded plugins: langpacks
Cleaning repos: fedora fedora-debuginfo fedora-rawhide-kernel-nodebug 
fedora-rawhide-kernel-nodebug-debuginfo fedora-rawhide-kernel-nodebug-source
              : fedora-source rawhide rawhide-debuginfo rawhide-koji 
rawhide-source updates updates-debuginfo updates-source updates-testing
              : updates-testing-debuginfo updates-testing-source
Cleaning up everything

# yum --disablerepo \* --enablerepo rawhide-koji install 
kernel\*3.16.0-0.rc2.git0.1.fc21\* \*perf\*3.16.0-0.rc2.git0.1.fc21\* -x 
\*PAE\* -x \*debug\*
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package kernel.i686 0:3.16.0-0.rc2.git0.1.fc21 will be installed
---> Package kernel-core.i686 0:3.16.0-0.rc2.git0.1.fc21 will be installed
---> Package kernel-devel.i686 0:3.16.0-0.rc2.git0.1.fc21 will be installed
---> Package kernel-headers.i686 0:3.16.0-0.rc2.git0.1.fc21 will be installed
---> Package kernel-modules.i686 0:3.16.0-0.rc2.git0.1.fc21 will be installed
---> Package kernel-modules-extra.i686 0:3.16.0-0.rc2.git0.1.fc21 will be 
installed
---> Package kernel-tools.i686 0:3.16.0-0.rc2.git0.1.fc21 will be installed
---> Package kernel-tools-libs.i686 0:3.16.0-0.rc2.git0.1.fc21 will be installed
---> Package kernel-tools-libs-devel.i686 0:3.16.0-0.rc2.git0.1.fc21 will be 
installed
---> Package perf.i686 0:3.16.0-0.rc2.git0.1.fc21 will be installed
---> Package python-perf.i686 0:3.16.0-0.rc2.git0.1.fc21 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================
 Package                    Arch    Version                       Repository    
   Size
========================================================================================
Installing:
 kernel                     i686    3.16.0-0.rc2.git0.1.fc21      rawhide-koji  
   85 k
 kernel-core                i686    3.16.0-0.rc2.git0.1.fc21      rawhide-koji  
   17 M
 kernel-devel               i686    3.16.0-0.rc2.git0.1.fc21      rawhide-koji  
  8.9 M
 kernel-headers             i686    3.16.0-0.rc2.git0.1.fc21      rawhide-koji  
  984 k
 kernel-modules             i686    3.16.0-0.rc2.git0.1.fc21      rawhide-koji  
   16 M
 kernel-modules-extra       i686    3.16.0-0.rc2.git0.1.fc21      rawhide-koji  
  2.1 M
 kernel-tools               i686    3.16.0-0.rc2.git0.1.fc21      rawhide-koji  
  168 k
 kernel-tools-libs          i686    3.16.0-0.rc2.git0.1.fc21      rawhide-koji  
   92 k
 kernel-tools-libs-devel    i686    3.16.0-0.rc2.git0.1.fc21      rawhide-koji  
   88 k
 perf                       i686    3.16.0-0.rc2.git0.1.fc21      rawhide-koji  
  1.0 M
 python-perf                i686    3.16.0-0.rc2.git0.1.fc21      rawhide-koji  
  179 k

Transaction Summary
========================================================================================
Install  11 Packages

Total size: 46 M
Total download size: 46 M
Installed size: 95 M
Is this ok [y/d/N]:



# dnf clean all
Cleaning repos: rawhide
Cleaning up Everything

# dnf --enablerepo \* clean all
Cleaning repos: fedora-source rawhide-debuginfo fedora updates-debuginfo 
rawhide-source updates-testing-debuginfo fedora-debuginfo fedora-rawhide-kernel-
              : nodebug-debuginfo fedora-rawhide-kernel-nodebug-source 
updates-testing fedora-rawhide-kernel-nodebug rawhide updates-testing-source 
updates-
              : source rawhide-koji updates
Cleaning up Everything

# dnf --disablerepo \* --enablerepo rawhide-koji install 
kernel\*3.16.0-0.rc2.git0.1.fc21\* \*perf\*3.16.0-0.rc2.git0.1.fc21\* -x 
\*PAE\* -x \*debug\*
Fedora 21 - i386 - Koji                                 609 kB/s |  35 MB     
00:59
No package kernel*3.16.0-0.rc2.git0.1.fc21* available.
No package *perf*3.16.0-0.rc2.git0.1.fc21* available.
Error: Nothing to do.

# dnf --disablerepo \* --enablerepo rawhide-koji install 
kernel\*3.16.0-0.rc2.git0.1.fc21\* \*perf\*3.16.0-0.rc2.git0.1.fc21\* -x 
\*PAE\* -x \*debug\*
Fedora 21 - i386 - Koji                                 609 kB/s |  35 MB     
00:59
No package kernel*3.16.0-0.rc2.git0.1.fc21* available.
No package *perf*3.16.0-0.rc2.git0.1.fc21* available.
Error: Nothing to do.

# dnf --disablerepo \* --enablerepo rawhide-koji install 
kernel*3.16.0-0.rc2.git0.1.fc21* *perf*3.16.0-0.rc2.git0.1.fc21* -x *PAE* -x 
*debug*
No package kernel*3.16.0-0.rc2.git0.1.fc21* available.
No package *perf*3.16.0-0.rc2.git0.1.fc21* available.
Error: Nothing to do.

# dnf --disablerepo=\* --enablerepo=rawhide-koji install 
kernel*3.16.0-0.rc2.git0.1.fc21* *perf*3.16.0-0.rc2.git0.1.fc21* -x *PAE* -x 
*debug*
No package kernel*3.16.0-0.rc2.git0.1.fc21* available.
No package *perf*3.16.0-0.rc2.git0.1.fc21* available.
Error: Nothing to do.

# dnf --disablerepo=* --enablerepo=rawhide-koji install 
kernel*3.16.0-0.rc2.git0.1.fc21* *perf*3.16.0-0.rc2.git0.1.fc21* -x *PAE* -x 
*debug*
No package kernel*3.16.0-0.rc2.git0.1.fc21* available.
No package *perf*3.16.0-0.rc2.git0.1.fc21* available.
Error: Nothing to do.

# dnf --disablerepo=* --enablerepo=rawhide-koji install 
kernel*3.16.0-0.rc2.git0.1.fc21* *perf*3.16.0-0.rc2.git0.1.fc21* 
--exclude=*PAE* --exclude=*debug*
No package kernel*3.16.0-0.rc2.git0.1.fc21* available.
No package *perf*3.16.0-0.rc2.git0.1.fc21* available.
Error: Nothing to do.


poma
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to