Reindl Harald wrote: > > Am 09.02.2015 um 15:08 schrieb Neal Becker: >> [nbecker@nbecker1 ~]$ sudo dnf remove kernel*3.18.3* >> [sudo] password for nbecker: >> No match for argument: kernel*3.18.3* >> Error: No packages marked for removal. >> [nbecker@nbecker1 ~]$ sudo dnf remove kernel*3.18.3-201.fc21 >> No match for argument: kernel*3.18.3-201.fc21 >> Error: No packages marked for removal. >> [nbecker@nbecker1 ~]$ sudo yum remove kernel*3.18.3-201.fc21 >> Loaded plugins: fastestmirror, langpacks, merge-conf, versionlock >> Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast >> Resolving Dependencies >> --> Running transaction check >> ---> Package kernel-core.x86_64 0:3.18.3-201.fc21 will be erased >> ---> Package kernel-modules.x86_64 0:3.18.3-201.fc21 will be erased >> ---> Package kernel-modules-extra.x86_64 0:3.18.3-201.fc21 will be erased >> --> Finished Dependency Resolution > > you input is plain wrong > > you need to escape * by \* because otherwise you relie on luck and > undefined behavior depending in which directory your shell is You didn't look very closely. If bash had expanded the '*', there wouldn't be the message: No match for argument: kernel*3.18.3-201.fc21 And note that yum worked. -- -- Those who don't understand recursion are doomed to repeat it -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct