Dear All I want to add "yum" to my CentOS 5.2 so I downloaded the rpm package from the www.pbone.net . But I didn't have success in installing it so please let me know if there is another way to accomplish this job ? Thank you in advance
On Wed, Dec 23, 2009 at 11:44:16AM +0000, hadi motamedi wrote:
Dear All I want to add "yum" to my CentOS 5.2 so I downloaded the rpm package from the www.pbone.net . But I didn't have success in installing it so please let me know if there is another way to accomplish this job ? Thank you in advance
Yum is installed by default in CentOS 5.x. Just run 'yum'.
Ray
On Wed, Dec 23, 2009 at 12:00 PM, Ray Van Dolson rayvd@bludgeon.org wrote:
On Wed, Dec 23, 2009 at 11:44:16AM +0000, hadi motamedi wrote:
Dear All I want to add "yum" to my CentOS 5.2 so I downloaded the rpm package from the www.pbone.net . But I didn't have success in installing it so please
let
me know if there is another way to accomplish this job ? Thank you in advance
Yum is installed by default in CentOS 5.x. Just run 'yum'.
Ray _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Thanks for your reply . But for unknown reasons the yum is not available on my CentOS . [root@mss-1 tmp]# more /etc/redhat-release CentOS release 5.2 (Final) [root@mss-1 tmp]# yum -bash: yum: command not found Can you please let me know how can I install it ?
On Wed, Dec 23, 2009 at 12:03:58PM +0000, hadi motamedi wrote:
On Wed, Dec 23, 2009 at 12:00 PM, Ray Van Dolson rayvd@bludgeon.org wrote:
On Wed, Dec 23, 2009 at 11:44:16AM +0000, hadi motamedi wrote:
Dear All I want to add "yum" to my CentOS 5.2 so I downloaded the rpm package from the www.pbone.net . But I didn't have success in installing it so please
let
me know if there is another way to accomplish this job ? Thank you in advance
Yum is installed by default in CentOS 5.x. Just run 'yum'.
Thanks for your reply . But for unknown reasons the yum is not available on my CentOS . [root@mss-1 tmp]# more /etc/redhat-release CentOS release 5.2 (Final) [root@mss-1 tmp]# yum -bash: yum: command not found Can you please let me know how can I install it ?
Strange. What's the output of rpm -q yum?
You could manually install the RPM's from:
http://mirror.stanford.edu/yum/pub/centos/5/os/
Pick the correct architecture... and you'll have to resolve some dependancies manually.
Ray
On Wed, Dec 23, 2009 at 12:08 PM, Ray Van Dolson rayvd@bludgeon.org wrote:
On Wed, Dec 23, 2009 at 12:03:58PM +0000, hadi motamedi wrote:
On Wed, Dec 23, 2009 at 12:00 PM, Ray Van Dolson rayvd@bludgeon.org
wrote:
On Wed, Dec 23, 2009 at 11:44:16AM +0000, hadi motamedi wrote:
Dear All I want to add "yum" to my CentOS 5.2 so I downloaded the rpm package
from
the www.pbone.net . But I didn't have success in installing it so
please
let
me know if there is another way to accomplish this job ? Thank you in advance
Yum is installed by default in CentOS 5.x. Just run 'yum'.
Thanks for your reply . But for unknown reasons the yum is not available
on
my CentOS . [root@mss-1 tmp]# more /etc/redhat-release CentOS release 5.2 (Final) [root@mss-1 tmp]# yum -bash: yum: command not found Can you please let me know how can I install it ?
Strange. What's the output of rpm -q yum?
You could manually install the RPM's from:
http://mirror.stanford.edu/yum/pub/centos/5/os/
Pick the correct architecture... and you'll have to resolve some dependancies manually.
Ray _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
The output is as : [root@mss-1 tmp]# rpm -qa |grep yum yum-arch-2.2.2-2.el5.kb
On Wed, Dec 23, 2009 at 12:12:16PM +0000, hadi motamedi wrote:
On Wed, Dec 23, 2009 at 12:08 PM, Ray Van Dolson rayvd@bludgeon.org wrote:
On Wed, Dec 23, 2009 at 12:03:58PM +0000, hadi motamedi wrote:
On Wed, Dec 23, 2009 at 12:00 PM, Ray Van Dolson rayvd@bludgeon.org
wrote:
On Wed, Dec 23, 2009 at 11:44:16AM +0000, hadi motamedi wrote:
Dear All I want to add "yum" to my CentOS 5.2 so I downloaded the rpm package
from
the www.pbone.net . But I didn't have success in installing it so
please
let
me know if there is another way to accomplish this job ? Thank you in advance
Yum is installed by default in CentOS 5.x. Just run 'yum'.
Thanks for your reply . But for unknown reasons the yum is not available
on
my CentOS . [root@mss-1 tmp]# more /etc/redhat-release CentOS release 5.2 (Final) [root@mss-1 tmp]# yum -bash: yum: command not found Can you please let me know how can I install it ?
Strange. What's the output of rpm -q yum?
You could manually install the RPM's from:
http://mirror.stanford.edu/yum/pub/centos/5/os/
Pick the correct architecture... and you'll have to resolve some dependancies manually.
Ray
The output is as : [root@mss-1 tmp]# rpm -qa |grep yum yum-arch-2.2.2-2.el5.kb
Strange. when I run that on my Centos 5.4, I get:
# rpm -q yum yum-3.2.22-20.el5.centos
which I would assume to be different than "yum-arch-..." I DO NOT find yum-arch at all. Dunno what yum-arch contains, but I wonder if it is not a complete yum installation. On the off-chance that it is, you could try:
ls -l `rpm -ql yum-arch-2.2.2-2.el5.kb` | less
to see what files it contains, and whether all of them are actually still on your disk, or not.
And as others have suggested, you may want/need to download the appropriate yum rpm file from a Centos mirror and install it with rpm before you can actually use yum.
On Wed, Dec 23, 2009 at 2:45 PM, fred smith fredex@fcshome.stoneham.ma.uswrote:
On Wed, Dec 23, 2009 at 12:12:16PM +0000, hadi motamedi wrote:
On Wed, Dec 23, 2009 at 12:08 PM, Ray Van Dolson rayvd@bludgeon.org
wrote:
On Wed, Dec 23, 2009 at 12:03:58PM +0000, hadi motamedi wrote:
On Wed, Dec 23, 2009 at 12:00 PM, Ray Van Dolson <rayvd@bludgeon.org
wrote:
On Wed, Dec 23, 2009 at 11:44:16AM +0000, hadi motamedi wrote:
Dear All I want to add "yum" to my CentOS 5.2 so I downloaded the rpm
package
from
the www.pbone.net . But I didn't have success in installing it
so
please
let
me know if there is another way to accomplish this job ? Thank you in advance
Yum is installed by default in CentOS 5.x. Just run 'yum'.
Thanks for your reply . But for unknown reasons the yum is not
available
on
my CentOS . [root@mss-1 tmp]# more /etc/redhat-release CentOS release 5.2 (Final) [root@mss-1 tmp]# yum -bash: yum: command not found Can you please let me know how can I install it ?
Strange. What's the output of rpm -q yum?
You could manually install the RPM's from:
http://mirror.stanford.edu/yum/pub/centos/5/os/
Pick the correct architecture... and you'll have to resolve some dependancies manually.
Ray
The output is as : [root@mss-1 tmp]# rpm -qa |grep yum yum-arch-2.2.2-2.el5.kb
Strange. when I run that on my Centos 5.4, I get:
# rpm -q yum yum-3.2.22-20.el5.centos
which I would assume to be different than "yum-arch-..." I DO NOT find yum-arch at all. Dunno what yum-arch contains, but I wonder if it is not a complete yum installation. On the off-chance that it is, you could try:
ls -l `rpm -ql yum-arch-2.2.2-2.el5.kb` | less
to see what files it contains, and whether all of them are actually still on your disk, or not.
And as others have suggested, you may want/need to download the appropriate yum rpm file from a Centos mirror and install it with rpm before you can actually use yum.
-- ---- Fred Smith -- fredex@fcshome.stoneham.ma.us----------------------------- The Lord is like a strong tower. Those who do what is right can run to him for safety.
--------------------------- Proverbs 18:10 (niv)
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Thank you for your help . To this end , I tried as the followings : " [root@mss-1 tmp]# rpm -Uvh yum-arch-2.2.2-2.el5.kb.noarch.rpm warning: yum-arch-2.2.2-2.el5.kb.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 3e13cf5b Preparing... ########################################### [100%] package yum-arch-2.2.2-2.el5.kb is already installed [root@mss-1 tmp]# whereis yum yum: [root@mss-1 tmp]# " Can you please let me know why the yum is still unavailable?
hadi motamedi wrote:
... package yum-arch-2.2.2-2.el5.kb is already installed [root@mss-1 tmp]# whereis yum yum: [root@mss-1 tmp]#
try...
# rpm -V yum
if the package is intact, there should be no output (after a few seconds of thinking), otherwise it will list anything thats wrong, like missing files.
# rpm -V --verbose yum
should output a list of all the files in that package, including...
........ c /etc/logrotate.d/yum ........ /etc/yum ........ c /etc/yum.conf ........ /etc/yum.repos.d ........ /etc/yum/pluginconf.d ........ /usr/bin/yum ........ /usr/lib/python2.4/site-packages/rpmUtils ........ /usr/lib/python2.4/site-packages/rpmUtils/__init__.py ........ /usr/lib/python2.4/site-packages/rpmUtils/__init__.pyc ........ /usr/lib/python2.4/site-packages/rpmUtils/__init__.pyo ........ /usr/lib/python2.4/site-packages/rpmUtils/arch.py ........ /usr/lib/python2.4/site-packages/rpmUtils/arch.pyc ........ /usr/lib/python2.4/site-packages/rpmUtils/arch.pyo ........ /usr/lib/python2.4/site-packages/rpmUtils/miscutils.py ........ /usr/lib/python2.4/site-packages/rpmUtils/miscutils.pyc ........ /usr/lib/python2.4/site-packages/rpmUtils/miscutils.pyo ........ /usr/lib/python2.4/site-packages/rpmUtils/oldUtils.py ........ /usr/lib/python2.4/site-packages/rpmUtils/oldUtils.pyc ........ /usr/lib/python2.4/site-packages/rpmUtils/oldUtils.pyo ........ /usr/lib/python2.4/site-packages/rpmUtils/transaction.py ........ /usr/lib/python2.4/site-packages/rpmUtils/transaction.pyc ........ /usr/lib/python2.4/site-packages/rpmUtils/transaction.pyo ........ /usr/lib/python2.4/site-packages/rpmUtils/updates.py ........ /usr/lib/python2.4/site-packages/rpmUtils/updates.pyc ........ /usr/lib/python2.4/site-packages/rpmUtils/updates.pyo ........ /usr/lib/python2.4/site-packages/yum ........ /usr/lib/python2.4/site-packages/yum/Errors.py ........ /usr/lib/python2.4/site-packages/yum/Errors.pyc ........ /usr/lib/python2.4/site-packages/yum/Errors.pyo ........ /usr/lib/python2.4/site-packages/yum/__init__.py ........ /usr/lib/python2.4/site-packages/yum/__init__.pyc ........ /usr/lib/python2.4/site-packages/yum/__init__.pyo ........ /usr/lib/python2.4/site-packages/yum/callbacks.py ........ /usr/lib/python2.4/site-packages/yum/callbacks.pyc ........ /usr/lib/python2.4/site-packages/yum/callbacks.pyo ........ /usr/lib/python2.4/site-packages/yum/comps.py ........ /usr/lib/python2.4/site-packages/yum/comps.pyc ........ /usr/lib/python2.4/site-packages/yum/comps.pyo ........ /usr/lib/python2.4/site-packages/yum/config.py ........ /usr/lib/python2.4/site-packages/yum/config.pyc ........ /usr/lib/python2.4/site-packages/yum/config.pyo ........ /usr/lib/python2.4/site-packages/yum/constants.py ........ /usr/lib/python2.4/site-packages/yum/constants.pyc ........ /usr/lib/python2.4/site-packages/yum/constants.pyo ........ /usr/lib/python2.4/site-packages/yum/depsolve.py ........ /usr/lib/python2.4/site-packages/yum/depsolve.pyc ........ /usr/lib/python2.4/site-packages/yum/depsolve.pyo ........ /usr/lib/python2.4/site-packages/yum/failover.py ........ /usr/lib/python2.4/site-packages/yum/failover.pyc ........ /usr/lib/python2.4/site-packages/yum/failover.pyo ........ /usr/lib/python2.4/site-packages/yum/i18n.py ........ /usr/lib/python2.4/site-packages/yum/i18n.pyc ........ /usr/lib/python2.4/site-packages/yum/i18n.pyo ........ /usr/lib/python2.4/site-packages/yum/logginglevels.py ........ /usr/lib/python2.4/site-packages/yum/logginglevels.pyc ........ /usr/lib/python2.4/site-packages/yum/logginglevels.pyo ........ /usr/lib/python2.4/site-packages/yum/mdparser.py ........ /usr/lib/python2.4/site-packages/yum/mdparser.pyc ........ /usr/lib/python2.4/site-packages/yum/mdparser.pyo ........ /usr/lib/python2.4/site-packages/yum/metalink.py ........ /usr/lib/python2.4/site-packages/yum/metalink.pyc ........ /usr/lib/python2.4/site-packages/yum/metalink.pyo ........ /usr/lib/python2.4/site-packages/yum/misc.py ........ /usr/lib/python2.4/site-packages/yum/misc.pyc ........ /usr/lib/python2.4/site-packages/yum/misc.pyo ........ /usr/lib/python2.4/site-packages/yum/packageSack.py ........ /usr/lib/python2.4/site-packages/yum/packageSack.pyc ........ /usr/lib/python2.4/site-packages/yum/packageSack.pyo ........ /usr/lib/python2.4/site-packages/yum/packages.py ........ /usr/lib/python2.4/site-packages/yum/packages.pyc ........ /usr/lib/python2.4/site-packages/yum/packages.pyo ........ /usr/lib/python2.4/site-packages/yum/parser.py ........ /usr/lib/python2.4/site-packages/yum/parser.pyc ........ /usr/lib/python2.4/site-packages/yum/parser.pyo ........ /usr/lib/python2.4/site-packages/yum/pgpmsg.py ........ /usr/lib/python2.4/site-packages/yum/pgpmsg.pyc ........ /usr/lib/python2.4/site-packages/yum/pgpmsg.pyo ........ /usr/lib/python2.4/site-packages/yum/plugins.py ........ /usr/lib/python2.4/site-packages/yum/plugins.pyc ........ /usr/lib/python2.4/site-packages/yum/plugins.pyo ........ /usr/lib/python2.4/site-packages/yum/repoMDObject.py ........ /usr/lib/python2.4/site-packages/yum/repoMDObject.pyc ........ /usr/lib/python2.4/site-packages/yum/repoMDObject.pyo ........ /usr/lib/python2.4/site-packages/yum/repos.py ........ /usr/lib/python2.4/site-packages/yum/repos.pyc ........ /usr/lib/python2.4/site-packages/yum/repos.pyo ........ /usr/lib/python2.4/site-packages/yum/rpmsack.py ........ /usr/lib/python2.4/site-packages/yum/rpmsack.pyc ........ /usr/lib/python2.4/site-packages/yum/rpmsack.pyo ........ /usr/lib/python2.4/site-packages/yum/rpmtrans.py ........ /usr/lib/python2.4/site-packages/yum/rpmtrans.pyc ........ /usr/lib/python2.4/site-packages/yum/rpmtrans.pyo ........ /usr/lib/python2.4/site-packages/yum/sqlitesack.py ........ /usr/lib/python2.4/site-packages/yum/sqlitesack.pyc ........ /usr/lib/python2.4/site-packages/yum/sqlitesack.pyo ........ /usr/lib/python2.4/site-packages/yum/sqlutils.py ........ /usr/lib/python2.4/site-packages/yum/sqlutils.pyc ........ /usr/lib/python2.4/site-packages/yum/sqlutils.pyo ........ /usr/lib/python2.4/site-packages/yum/transactioninfo.py ........ /usr/lib/python2.4/site-packages/yum/transactioninfo.pyc ........ /usr/lib/python2.4/site-packages/yum/transactioninfo.pyo ........ /usr/lib/python2.4/site-packages/yum/update_md.py ........ /usr/lib/python2.4/site-packages/yum/update_md.pyc ........ /usr/lib/python2.4/site-packages/yum/update_md.pyo ........ /usr/lib/python2.4/site-packages/yum/yumRepo.py ........ /usr/lib/python2.4/site-packages/yum/yumRepo.pyc ........ /usr/lib/python2.4/site-packages/yum/yumRepo.pyo ........ /usr/lib/yum-plugins ........ /usr/share/doc/yum-3.2.19 ........ d /usr/share/doc/yum-3.2.19/AUTHORS ........ d /usr/share/doc/yum-3.2.19/COPYING ........ d /usr/share/doc/yum-3.2.19/ChangeLog ........ d /usr/share/doc/yum-3.2.19/INSTALL ........ d /usr/share/doc/yum-3.2.19/README ........ d /usr/share/doc/yum-3.2.19/TODO ........ /usr/share/locale/ca/LC_MESSAGES/yum.mo ........ /usr/share/locale/da/LC_MESSAGES/yum.mo ........ /usr/share/locale/de/LC_MESSAGES/yum.mo ........ /usr/share/locale/fr/LC_MESSAGES/yum.mo ........ /usr/share/locale/it/LC_MESSAGES/yum.mo ........ /usr/share/locale/ms/LC_MESSAGES/yum.mo ........ /usr/share/locale/nb/LC_MESSAGES/yum.mo ........ /usr/share/locale/pl/LC_MESSAGES/yum.mo ........ /usr/share/locale/pt/LC_MESSAGES/yum.mo ........ /usr/share/locale/pt_BR/LC_MESSAGES/yum.mo ........ /usr/share/locale/ru/LC_MESSAGES/yum.mo ........ /usr/share/locale/sr/LC_MESSAGES/yum.mo ........ /usr/share/locale/sr@latin/LC_MESSAGES/yum.mo ........ /usr/share/locale/zh_CN/LC_MESSAGES/yum.mo ........ d /usr/share/man/man5/yum.conf.5.gz ........ d /usr/share/man/man8/yum-shell.8.gz ........ d /usr/share/man/man8/yum.8.gz ........ /usr/share/yum-cli ........ /usr/share/yum-cli/callback.py ........ /usr/share/yum-cli/callback.pyc ........ /usr/share/yum-cli/callback.pyo ........ /usr/share/yum-cli/cli.py ........ /usr/share/yum-cli/cli.pyc ........ /usr/share/yum-cli/cli.pyo ........ /usr/share/yum-cli/output.py ........ /usr/share/yum-cli/output.pyc ........ /usr/share/yum-cli/output.pyo ........ /usr/share/yum-cli/shell.py ........ /usr/share/yum-cli/shell.pyc ........ /usr/share/yum-cli/shell.pyo ........ /usr/share/yum-cli/utils.py ........ /usr/share/yum-cli/utils.pyc ........ /usr/share/yum-cli/utils.pyo ........ /usr/share/yum-cli/yumcommands.py ........ /usr/share/yum-cli/yumcommands.pyc ........ /usr/share/yum-cli/yumcommands.pyo ........ /usr/share/yum-cli/yummain.py ........ /usr/share/yum-cli/yummain.pyc ........ /usr/share/yum-cli/yummain.pyo ........ /var/cache/yum ........ /var/lib/yum
Yum-Arch is, I think, a red herring. Yum-Arch, according to pbone:
"This package only provides the old yum-arch command from yum-2.2.2 It should be used to generate repository informations for Fedora Core < 3 and RedHat Enterprise Linux < 4."
So that's not even relevent to CentOS 4 or 5 in any way.
Hadi: Have you tried downloading and installing the yum package from the CentOS mirrors?
On Thu, Dec 24, 2009 at 5:54 AM, Drew drew.kay@gmail.com wrote:
Yum-Arch is, I think, a red herring. Yum-Arch, according to pbone:
"This package only provides the old yum-arch command from yum-2.2.2 It should be used to generate repository informations for Fedora Core < 3 and RedHat Enterprise Linux < 4."
So that's not even relevent to CentOS 4 or 5 in any way.
Hadi: Have you tried downloading and installing the yum package from the CentOS mirrors?
-- Drew
"Nothing in life is to be feared. It is only to be understood." --Marie Curie _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Sorry. Can you please let me have the link to one of these CentOS mirrors to download the yum rpm package? I have used pbone.net to install the screen rpm for CentOS and so I don't know any CentOS mirror to make use for this purpose.
hadi motamedi wrote:
Sorry. Can you please let me have the link to one of these CentOS mirrors to download the yum rpm package? I have used pbone.net http://pbone.net to install the screen rpm for CentOS and so I don't know any CentOS mirror to make use for this purpose.
for intsance, http://mirror.centos.org/centos-5/5/os/i386/CentOS/yum-3.2.22-20.el5.centos....
(path varies with version and architecture)
On Thu, Dec 24, 2009 at 6:03 AM, John R Pierce pierce@hogranch.com wrote:
hadi motamedi wrote:
Sorry. Can you please let me have the link to one of these CentOS mirrors to download the yum rpm package? I have used pbone.net http://pbone.net to install the screen rpm for CentOS and so I don't know any CentOS mirror to make use for this purpose.
for intsance,
http://mirror.centos.org/centos-5/5/os/i386/CentOS/yum-3.2.22-20.el5.centos....
(path varies with version and architecture)
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
With many thanks for your help , please let me know why I am receiving the followings ? [root@mss-1 tmp]# rpm -Uvh yum-3.2.22-20.el5.centos.noarch.rpm warning: yum-3.2.22-20.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897 error: Failed dependencies: python-elementtree is needed by yum-3.2.22-20.el5.centos.noarch python-iniparse is needed by yum-3.2.22-20.el5.centos.noarch python-sqlite is needed by yum-3.2.22-20.el5.centos.noarch urlgrabber >= 3.1.0 is needed by yum-3.2.22-20.el5.centos.noarch yum-fastestmirror is needed by yum-3.2.22-20.el5.centos.noarch yum-metadata-parser >= 1.1.0 is needed by yum-3.2.22-20.el5.centos.noarch [root@mss-1 tmp]# whereis yum yum:
With many thanks for your help , please let me know why I am receiving the followings ? [root@mss-1 tmp]# rpm -Uvh yum-3.2.22-20.el5.centos.noarch.rpm warning: yum-3.2.22-20.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897 error: Failed dependencies: python-elementtree is needed by yum-3.2.22-20.el5.centos.noarch python-iniparse is needed by yum-3.2.22-20.el5.centos.noarch python-sqlite is needed by yum-3.2.22-20.el5.centos.noarch urlgrabber >= 3.1.0 is needed by yum-3.2.22-20.el5.centos.noarch yum-fastestmirror is needed by yum-3.2.22-20.el5.centos.noarch yum-metadata-parser >= 1.1.0 is needed by yum-3.2.22-20.el5.centos.noarch
You need to get the packages listed above that are dependencies of yum. Download each of these packages from the same mirror site you downloaded the yum package from. Put them all in the same directory (without other RPMs) and run "rpm -Uvh *.rpm"
Barry
hadi motamedi wrote:
With many thanks for your help , please let me know why I am receiving the followings ? [root@mss-1 tmp]# rpm -Uvh yum-3.2.22-20.el5.centos.noarch.rpm warning: yum-3.2.22-20.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897 error: Failed dependencies: python-elementtree is needed by yum-3.2.22-20.el5.centos.noarch python-iniparse is needed by yum-3.2.22-20.el5.centos.noarch python-sqlite is needed by yum-3.2.22-20.el5.centos.noarch urlgrabber >= 3.1.0 is needed by yum-3.2.22-20.el5.centos.noarch yum-fastestmirror is needed by yum-3.2.22-20.el5.centos.noarch yum-metadata-parser >= 1.1.0 is needed by yum-3.2.22-20.el5.centos.noarch
are you -sure- you have CentOS 5.x ??!?
I believe the DSA Signature key is in package centos-release from that same path http://mirror.centos.org/centos-5/5/os/i386/CentOS/ (assuming 32bit centos5, adjust path for different versions or architectures)
re: the failed dependencies, you'll need to install those other RPMs too, again from the same path...
some of those RPMs may require yet more, download and install them too. repeat until yum works.
On Thu, Dec 24, 2009 at 6:22 AM, John R Pierce pierce@hogranch.com wrote:
hadi motamedi wrote:
With many thanks for your help , please let me know why I am receiving the followings ? [root@mss-1 tmp]# rpm -Uvh yum-3.2.22-20.el5.centos.noarch.rpm warning: yum-3.2.22-20.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897 error: Failed dependencies: python-elementtree is needed by yum-3.2.22-20.el5.centos.noarch python-iniparse is needed by yum-3.2.22-20.el5.centos.noarch python-sqlite is needed by yum-3.2.22-20.el5.centos.noarch urlgrabber >= 3.1.0 is needed by yum-3.2.22-20.el5.centos.noarch yum-fastestmirror is needed by yum-3.2.22-20.el5.centos.noarch yum-metadata-parser >= 1.1.0 is needed by yum-3.2.22-20.el5.centos.noarch
are you -sure- you have CentOS 5.x ??!?
I believe the DSA Signature key is in package centos-release from that same path http://mirror.centos.org/centos-5/5/os/i386/CentOS/ (assuming 32bit centos5, adjust path for different versions or architectures)
re: the failed dependencies, you'll need to install those other RPMs too, again from the same path...
some of those RPMs may require yet more, download and install them too. repeat until yum works.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I tried for the other engaged rpm packages one-by-one . But at last , only the following one remained as unresolved : [root@mss-1 tmp]# rpm -Uvh yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm warning: yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897 error: Failed dependencies: yum >= 3.0 is needed by yum-fastestmirror-1.1.16-13.el5.centos.noarch Can you please let me know why it does not come to an end ?
hadi motamedi wrote:
I tried for the other engaged rpm packages one-by-one . But at last , only the following one remained as unresolved : [root@mss-1 tmp]# rpm -Uvh yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm warning: yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897 error: Failed dependencies: yum >= 3.0 is needed by yum-fastestmirror-1.1.16-13.el5.centos.noarch Can you please let me know why it does not come to an end ?
Try installing both at once...
# rpm -Uvh yum-....rpm yum-fastestmirror-xxx.....rpm
and if that still doesn't work, try...
# rpm -Uvh --nodeps yum-fastestmirror-xxx.yyy.rpm # rpm -Uvh yum-xxx.yyy.....rpm
for whatever xxx-yyy files you got.
On Thu, Dec 24, 2009 at 6:56 AM, John R Pierce pierce@hogranch.com wrote:
hadi motamedi wrote:
I tried for the other engaged rpm packages one-by-one . But at last , only the following one remained as unresolved : [root@mss-1 tmp]# rpm -Uvh yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm warning: yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897 error: Failed dependencies: yum >= 3.0 is needed by yum-fastestmirror-1.1.16-13.el5.centos.noarch Can you please let me know why it does not come to an end ?
Try installing both at once...
# rpm -Uvh yum-....rpm yum-fastestmirror-xxx.....rpm
and if that still doesn't work, try...
# rpm -Uvh --nodeps yum-fastestmirror-xxx.yyy.rpm # rpm -Uvh yum-xxx.yyy.....rpm
for whatever xxx-yyy files you got.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Thank you very much for your kind contineous support . At last , I have yum on my client .
On Thu, Dec 24, 2009 at 1:58 AM, hadi motamedi motamedi24@gmail.com wrote:
Thank you very much for your kind contineous support . At last , I have yum on my client .
Now please run a 'yum update' as you have several packages with known, published security vulnerabilities including your kernel, and udev. Doing this will take you to 5.4 and will require a reboot to load the new kernel.
I tried for the other engaged rpm packages one-by-one . But at last , only the following one remained as unresolved : [root@mss-1 tmp]# rpm -Uvh yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm warning: yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897 error: Failed dependencies: yum >= 3.0 is needed by yum-fastestmirror-1.1.16-13.el5.centos.noarch Can you please let me know why it does not come to an end ?
What is the output of "lsb_release -a"
On Thu, Dec 24, 2009 at 6:59 AM, Barry Brimer lists@brimer.org wrote:
I tried for the other engaged rpm packages one-by-one . But at last ,
only
the following one remained as unresolved : [root@mss-1 tmp]# rpm -Uvh
yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
warning: yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897 error: Failed dependencies: yum >= 3.0 is needed by yum-fastestmirror-1.1.16-13.el5.centos.noarch Can you please let me know why it does not come to an end ?
What is the output of "lsb_release -a" _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Please find it as below : [root@mss-1 ~]# lsb_release -a LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: CentOS Description: CentOS release 5.2 (Final) Release: 5.2 Codename: Final
Barry Brimer wrote:
I tried for the other engaged rpm packages one-by-one . But at last , only the following one remained as unresolved : [root@mss-1 tmp]# rpm -Uvh yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm warning: yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897 error: Failed dependencies: yum >= 3.0 is needed by yum-fastestmirror-1.1.16-13.el5.centos.noarch Can you please let me know why it does not come to an end ?
What is the output of "lsb_release -a" _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Forgive me for thread stealing - lsb 3.1 is the current CentOS supported version. I have some postscript / cups / printer drivers that insist on lsb 3.2 - anyone know if this is possible? TIA Rob
On Thu, 24 Dec 2009, Rob Kampen wrote:
Forgive me for thread stealing - lsb 3.1 is the current CentOS supported version. I have some postscript / cups / printer drivers that insist on lsb 3.2 - anyone know if this is possible?
TIA Rob
This (LSB 3.2 -- last in the 3 series) is not really bleeding edge [LSB 4 just got its first refresh in the 4 series, 4 having been out about a year], but the LSB intentionally lags to get a superset of distributions observed practice in Linux, rather than pushing development
The printer driver folks are pushing (Apple 'bought' cups a couple years back and are pushing) new versions -- consider this:
Date: Thu, 17 Dec 2009 15:10:42 From: Till Kamppeter till.kamppeter@elided To: lsb-discuss@lists.linux-foundation.org, Subject: lsb-di] Uplift to OPVP 1.0 in LSB 4.1?
Hi,
at OpenPrinting we are currently approving OpenPrinting Vector (OPVP) as official standard, and so the question came up on which version of OPVP are we in the printing requirements of the LSB and whether we can uplift to 1.0 if needed/possible.
In Ghostscript OPVP 1.0 was introduced with the 8.63 release in the beginning of August 2008. Do all the enterprise distros under consideration of the LSB already ship Ghostscript 8.63? If so, I suggest that we uplift to OPVP 1.0.
--------------------
and frankly this will cause pain as ISV's and enterprise distributions are really not set up to 'chase' development [not economically justifiable, as it explodes the 'support matrix']. Both Linux Standards Base, and Open Printing are housed at the Linux Foundation presently, but it is not a good fit as they have conflicting mandates as to pushing
A grand total of ZERO applications have certified to 3.2 http://ldn.linuxfoundation.org/lsb/certified/applications?filter0=**ALL**&am... and the same number to 4.0. That said there is exactly ONE under 3.1
I count 17 distributions certified under LSB 3.1, one under 3.2, and five to 4.0 ... NOT including RHEL for the last two items. While there has been much talk talk from the LF representatives about 'privately engaging' CentOS' upstream, and my sporadic efforts to drag the issues into the feeder Fedora space attention, frankly there is nothing much to show for it so far.
One has to ask if the LSB is even relevant.
I would note that with minimal changes, CentOS 5 can be made to pass (with minimal exemptions) the LSB 4 test suite in trials, and that CentOS 4.2 is used in day to day testing at the LSB's test boxes, the disinterest in certifying to the LSB at CentOS' upstream is similarly not publicly obvious.
Really and truly, until large entity, commercial purchasing agents of enterprise Linux distributions start to insert a clause like:
The provided software from the Provider shall at all times during the life of this contract conform to the then current Linux Standards Base then-current standard, and be noted as so certified at the the Linux Standards Base website. There shall be a 'recertification window' of six months following each LSB release and each 'point update' or 'refresh' of the same. The failure to maintain such certifications shall constitue a tender of a 'non-confoming' performance and goods under this contract, and if permitted to remain uncured for thirty days after notice from Purchaser to Provider, shall give rise to remedies to the Purchaser hereunder.
The LSB 'carrot' of interoperability is unappealing to a Distribution, as all it does is make an offering 'less sticky' and permit easier transitions away and substitutions. As the Enterprise Linux market share leader in many segments, CentOS' upstream has an incentive to ignore 'chasing' the LSB certifications.
The tried and true method to solve this is to back build from other's later released sources (hopefully already packaged -- I see Oracle's EL in there and those sources should build on CentOS); failing that, solving the Fedora/RawHide chain _may_ be possible, but as Fedora seeks to be very fast moving, they unavoidably avoid providing huge dependency chains.
Perhaps I should start a sub-project to try to carve away the GUI 'Fedora fluff' in packaging from the TUI server 'meat and potatos' with some sub-packaging breaks and alternatives. ;)
-- Russ herrold herrold at owlriver dot com
On Thu, Dec 24, 2009 at 06:00:18AM +0000, hadi motamedi wrote:
Sorry. Can you please let me have the link to one of these CentOS mirrors to download the yum rpm package? I have used pbone.net to install the screen rpm for CentOS and so I don't know any CentOS mirror to make use for this purpose.
Sorry, can you perchance do a single iota of research on your own? Can we bill your client for doing your job for you?
Did you even bother to read the link that Akemi gave you yesterday?
http://www.centos.org - mirrors are quite clearly listed.
John
On Wed, Dec 23, 2009 at 4:03 AM, hadi motamedi motamedi24@gmail.com wrote:
Thanks for your reply . But for unknown reasons the yum is not available on my CentOS . [root@mss-1 tmp]# more /etc/redhat-release CentOS release 5.2 (Final) [root@mss-1 tmp]# yum -bash: yum: command not found Can you please let me know how can I install it ?
You might want to take a look at:
http://wiki.centos.org/TipsAndTricks/BrokenVserver
Akemi
On Wed, Dec 23, 2009 at 12:03:58PM +0000, hadi motamedi wrote:
Thanks for your reply . But for unknown reasons the yum is not available on my CentOS . [root@mss-1 tmp]# more /etc/redhat-release CentOS release 5.2 (Final)
This is irrelevant. /etc/redhat-release is a text file and can be edited to say anything.
rpm -q centos-release && uname -a will properly identify the release you are using.
John
On Wed, Dec 23, 2009 at 12:23 PM, John R. Dennison jrd@gerdesas.com wrote:
On Wed, Dec 23, 2009 at 12:03:58PM +0000, hadi motamedi wrote:
Thanks for your reply . But for unknown reasons the yum is not available
on
my CentOS . [root@mss-1 tmp]# more /etc/redhat-release CentOS release 5.2 (Final)
This is irrelevant. /etc/redhat-release is a text file and can be edited to say anything. rpm -q centos-release && uname -a will properly identify the release you are using. John
-- Only puny secrets need protection. Big discoveries are protected by public incredulity.
-- Marshall McLuhan
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Please find below : [root@mss-1 tmp]# rpm -q centos-release centos-release-5-2.el5.centos
On Wed, Dec 23, 2009 at 12:31:53PM +0000, hadi motamedi wrote:
Please find below : [root@mss-1 tmp]# rpm -q centos-release centos-release-5-2.el5.centos
And you conveniently left out the kernel revision that would be returned by the second part of the command I gave you, namely "uname -a".
It sounds very much like a broken server, either a crippled OpenVZ or similar VPS or a server broken by someone that didn't know what they were doing and went to some trouble to remove the yum subsystem. Akemi pointed you to http://wiki.centos.org/TipsAndTricks/BrokenVserver and it is worth your time to read it and see if you can unbreak that box.
John
On Wed, Dec 23, 2009 at 12:45 PM, John R. Dennison jrd@gerdesas.com wrote:
On Wed, Dec 23, 2009 at 12:31:53PM +0000, hadi motamedi wrote:
Please find below : [root@mss-1 tmp]# rpm -q centos-release centos-release-5-2.el5.centos
And you conveniently left out the kernel revision that would be returned by the second part of the command I gave you, namely "uname -a". It sounds very much like a broken server, either a crippled OpenVZ or similar VPS or a server broken by someone that didn't know what they were doing and went to some trouble to remove the yum subsystem. Akemi pointed you to http://wiki.centos.org/TipsAndTricks/BrokenVserver and it is worth your time to read it and see if you can unbreak that box. John
-- All I ask is this: Do something. Try something. Speaking out, showing up, writing a letter, a check, a strongly worded e-mail. Pick a cause -- there are few unworthy ones. And nudge yourself past the brink of tacit support to action. Once a month, once a year, or just once.
-- Joss Whedon (1964-), writer and film director
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Sorry . Here is the complementary data : [root@mss-1 tmp]# uname -a Linux mss-1.iwv 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 i686 i386 GNU/Linux
On Wed, Dec 23, 2009 at 12:52:50PM +0000, hadi motamedi wrote:
Sorry . Here is the complementary data : [root@mss-1 tmp]# uname -a Linux mss-1.iwv 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 i686 i386 GNU/Linux
Oh, and before I forget.
Update that box. It's running insecure components and has a kernel with known security problems with in the wild exploits.
John
John R. Dennison wrote:
On Wed, Dec 23, 2009 at 12:31:53PM +0000, hadi motamedi wrote:
Please find below : [root@mss-1 tmp]# rpm -q centos-release centos-release-5-2.el5.centos
And you conveniently left out the kernel revision that would be returned by the second part of the command I gave you, namely "uname -a".
It sounds very much like a broken server, either a crippled OpenVZ or similar VPS or a server broken by someone that didn't know what they were doing and went to some trouble to remove the yum subsystem. Akemi pointed you to http://wiki.centos.org/TipsAndTricks/BrokenVserver and it is worth your time to read it and see if you can unbreak that box.
Wonder if someone was trying to remove yum-updatesd, and got all of yum.
mark
On Wed, Dec 23, 2009 at 07:54:06AM -0500, mark wrote:
Wonder if someone was trying to remove yum-updatesd, and got all of yum.
Possibly. But one would need to either use "-y" or answer yes at the "are you really silly enough to want me to do this?" yum prompt.
John
On Wed, Dec 23, 2009 at 11:44:16AM +0000, hadi motamedi wrote:
Dear All I want to add "yum" to my CentOS 5.2 so I downloaded the rpm package from the www.pbone.net . But I didn't have success in installing it so please let me know if there is another way to accomplish this job ?
1) CentOS comes with yum, so it should be installed on your system now. If you don't have it installed you are running something that looks like CentOS but likely isn't. If this is the case you should contact whomever sold you that setup and get your money back.
2) Why in the world would you try to install from pbone when you can get official CentOS packages from any CentOS mirror?
John