Hide Forgot
Description of problem: When I want to update with yum on the console, so I must check if some directories or files are in the current directory. I have only a slow mobile broadband connection to the internet that larger downloads are a big task for me and the delta mechanism of fedora-updating is perfect for me. After I check which updates are available I choose which are most important for me to update it now and the others later. And here is little annoying bug. The selective updating is only functional when there is no directory or file in the current directory which has the same pattern-matching. An example: The "kernel"-package is an update-package. I use "yum update k*". This is functionally so long as no directory and no file with "k*" is in the current directory. Version-Release number of selected component (if applicable): Fedora 16, yum 3.4.3 How reproducible: every time Steps to Reproduce: 1. su 2. yum update-check 3. choose one update-package, of the available updates (for example: "kernel" 4. mkdir k 5. yum update k* (6. to remove the temporarly created directory: "rmdir k") Actual results: this aborted with an error, that the package "k" isn't available Expected results: the update-package "kernel" gets downloaded and installed Additional info: This error happens with every pattern (like for instance "telepathy"-package -> mkdir test -> yum update te* -> and so on)
This is a feature of the shell, not yum. Just use some quoting to prevent the pattern expansion BEFORE it's passed to yum. $ echo T* TEST $ echo "T*" T* $ echo 'T*' T* $ echo T\* T*