> NO, you don't give the *file name*, you give the base package name, in > this case 'flash-plugin'. The repo metadata supplies the proper > version+release (10.0.22.87-release) and arch (i386 or posibly x86_64). > The .rpm gets added somewhere in the bowels of yum, as needed to fetch > the proper file (.hdr is also append when the header is fetched). > > You have to understand that there is an important difference between > package *names* and the names of the package *files*. Generally, the > RPM files in a repository are built up from pieces: a base package > name, its version & release string, its arch, and a file extension > (.rpm for actual packages, .hdr for headers, which contain just the > information needed to process dependencies). You only ever give yum > the base package name [sometimes qualified with the arch] (except in > the *special* case of 'install-local'). You also only give the base > package name (*possibly* qualified with a version+release and/or arch) > to rpm's query and erase (-q & -e) functions. You do give the actual > file name for the install and update functions (-i and -U) of rpm. > > This can seem confusing to novice users of RPM (less so with yum, since > there is a greater level of overal consistency). Think of it like this: > yum always deals in packages by *name* at the UI level (yum takes care > of the mapping between packages *names*and the package *files*). In the > case of RPM, you install or update a package with a package file. Once > installed, the package *file* is no longer of use to RPM, since what is > installed is the *package* not the package file itself. ah OK thanks so much! OK I just ran it again, still can't get it right, I'm still doing something wrong... [root@localhost tmp]# yum -y install flash-plugin Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * adobe-linux-i386: linuxdownload.adobe.com * base: centos.omnispring.com * updates: ftp.lug.udel.edu * addons: mirrors.unbornmedia.com * extras: updates.interworx.info Setting up Install Process Parsing package install arguments Package flash-plugin - 10.0.22.87-release.i386 is already installed. Nothing to do [root@localhost tmp]# [root@localhost tmp]# yum -y install flash_player Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * adobe-linux-i386: linuxdownload.adobe.com * base: centos.omnispring.com * updates: ftp.lug.udel.edu * addons: mirrors.unbornmedia.com * extras: updates.interworx.info Setting up Install Process Parsing package install arguments No package flash_player available. Nothing to do [root@localhost tmp]# yum -y install flash-player Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * adobe-linux-i386: linuxdownload.adobe.com * base: centos.omnispring.com * updates: ftp.lug.udel.edu * addons: mirrors.gigenet.com * extras: updates.interworx.info Setting up Install Process Parsing package install arguments No package flash-player available. Nothing to do [root@localhost tmp]# yum -y install flash_plugin Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * adobe-linux-i386: linuxdownload.adobe.com * base: centos.omnispring.com * updates: ftp.lug.udel.edu * addons: mirrors.unbornmedia.com * extras: updates.interworx.info Setting up Install Process Parsing package install arguments No package flash_plugin available. Nothing to do
Rediscover Hotmail�: Get quick friend updates right in your inbox. Check it out. |
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos