LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-18-2014, 02:34 AM   #1
RamTeja
LQ Newbie
 
Registered: Feb 2014
Posts: 10

Rep: Reputation: Disabled
YUM No Match Error


Hi,
I'm getting following packages when i run yum list.
[root@vfiwdsqlrm1 ~]# yum list | grep gtk
GConf2-gtk.x86_64 2.28.0-6.el6 @local_repo
PackageKit-gtk-module.x86_64 0.5.8-21.el6 @local_repo
authconfig-gtk.x86_64 6.1.12-13.el6 @local_repo
gtk-vnc.x86_64 0.3.10-3.el6 @local_repo
gtk-vnc-python.x86_64 0.3.10-3.el6 @local_repo
gtk2.x86_64 2.18.9-12.el6 @anaconda-R edHatEnterpriseLinux-201301301459.x86_64/6.4
gtk2-engines.x86_64 2.18.4-5.el6 @local_repo
libcanberra-gtk2.x86_64 0.22-1.el6 @local_repo

but when i try to install the same i'm getitng the following error

[root@vfiwdsqlrm1 ~]# yum install gtk*
yum: No match.

I want to install all packages at a time not one by one. So i'm using *. Should i install any package for using *. Please reply me at the earliest.

Thanks in Advance,
Ram
 
Old 02-18-2014, 03:44 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
using * there will expand "gtk" to be a list of all files in your current directory that start with gtk. This is shell expansion bash doing this, and that wildcard will never get into yum for it to act upon. Just put in the list of package names directly and move on. Note that as yum does dependency resolution, installing the specific end package you want will install everything else it needs. installing everything just because they have "gtk" in the name is really not a smart idea.
 
Old 02-18-2014, 03:53 AM   #3
RamTeja
LQ Newbie
 
Registered: Feb 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
@acid_kewpie
Thanks for your reply but i can do the same command "yum install gtk*" in one server and getting an error in other. My intention is to know why this happened ? If i get the reason from some one i'll be glad !!
 
Old 02-18-2014, 06:47 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well it'll depend what files are in your current directory. it's a misuse / accident of the way you're running it. it's not meant to work.
 
Old 02-24-2014, 06:33 AM   #5
RamTeja
LQ Newbie
 
Registered: Feb 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
Resolved bcoz of my Colleague

No The reason is Shell. I was using KSH Shell before and changed it to Bash. Then it worked fine.

Thanks,
Ram
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Prob with yum: [Errno -1] Metadata file does not match checksum Trying other mirro tor_user Fedora 26 10-21-2015 08:37 PM
yum in fc4 error - metadata file does not match dark_prancer Linux - Newbie 6 03-17-2011 07:38 PM
How to force yum and rpm install only current archetecture match packages Rodnower Linux - Software 8 08-14-2010 01:29 PM
yum config error parsing file failed - yum won't run emuub Linux - Software 9 11-04-2008 06:48 AM
YUM - Metadata file does not match checksum erolleman Fedora 3 06-15-2007 04:54 PM


All times are GMT -5. The time now is 09:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration