setup repositories Yum problèmes
Ludovic Cesar
Ludovic.Cesar at fedasil.be
Thu Jul 26 04:31:49 CDT 2007
Thanks for your attention,
I have relaunch the procedure of YUM repositories in a new VM (i you want
i give my kickstart.cfg files), and i have maked your recommendation.
My ps when the script is bloked: ( i have deleted the obsolete ligne)
root 30155 30117 0 09:42 pts/1 00:00:00 bash
root 30185 30155 1 09:42 pts/1 00:00:01 /usr/bin/python
/usr/bin/yum -y install dell-hw-specific-repository
root 30187 30185 0 09:42 pts/1 00:00:00 /bin/sh
/var/tmp/rpm-tmp.94771 1
root 30188 30187 0 09:42 pts/1 00:00:00 /bin/sh
/var/tmp/rpm-tmp.94771 1
root 30189 30188 99 09:42 pts/1 00:01:37 getSystemId
root 30190 30188 0 09:42 pts/1 00:00:00 grep ^System ID:
root 30191 30188 0 09:42 pts/1 00:00:00 cut -d: -f2
root 30192 30188 0 09:42 pts/1 00:00:00 xargs echo
root 30196 30087 0 09:44 pts/0 00:00:00 ps -ef
After i make a "ctrl+c" and this message appear:
error: %post(dell-hw-specific-repository-1-12.el5.noarch) scriptlet
failed, signal 2
Installed: dell-hw-specific-repository.noarch 0:1-12.el5
Dependency Installed: firmware-addon-dell.i386 0:1.3.0-1.el5
firmware-tools.noarch 0:1.3.1-1.el5 libsmbios-bin.i386 0:0.13.7-1.el5
libsmbios-libs.i386 0:0.13.7-1.el5
Complete!
Done!
The yum update:
# yum update
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
Loading "dellsysidplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
==============================================> "ctrl+c" because i bloked*
Setting up Update Process
Setting up repositories
dell-hardware-auto 100% |=========================| 1.9 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 4.0 kB 00:00
################################################## 18/18
No Packages marked for Update/Obsoletion
# ps -ef process when it bloked:
root 30401 30117 0 10:55 pts/1 00:00:00 /usr/bin/python
/usr/bin/yum
root 30402 30401 0 10:55 pts/1 00:00:00 sh -c { getSystemId; }
2>&1
root 30403 30402 99 10:55 pts/1 00:00:57 getSystemId
root 30406 30087 0 10:56 pts/0 00:00:00 ps -ef
I deleted the __dbb in /var/lib/rpm, i rebuild and relaunch the command
line "wget -q -O ..." :
# wget -q -O - http://linux.dell.com/repo/hardware/bootstrap.cgi | bash
Downloading GPG key: http://linux.dell.com//repo/hardware/RPM-GPG-KEY-dell
Importing key into RPM.
Downloading GPG key:
http://linux.dell.com//repo/hardware/RPM-GPG-KEY-libsmbios
Importing key into RPM.
Installing platform-independent RPM:
dell-hw-indep-repository-1-12.el5.noarch.rpm
Installing platform-specific repository RPM.
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
Loading "dellsysidplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
Done!
The yum update bloked always in the same ligne (but bypass with cltr+c)
After all opération my YUM run ( not exactelly perfect, but it run ) i
have try to install MC with yum and the result is ok, mc are installed.
But when i try to installed srvadmin-base... :
# yum install srvadmin-base
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
Loading "dellsysidplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: srvadmin-base
Nothing to do
I dont understand where come the problème, the log of yum are poor, and my
brain tired for today and this problème... A another solution... created
my local depo... i hope :-)
Best regards,
Ludovic
<Michael_E_Brown at dell.com>
Envoyé par : linux-poweredge-bounces at dell.com
07/25/2007 08:05 PM
A
<Ludovic.Cesar at fedasil.be>, <eugene.pik at gmail.com>
cc
linux-poweredge at lists.us.dell.com,
linux-poweredge-bounces at lists.us.dell.com
Objet
RE: setup repositories Yum problèmes
Well, everything looks as if it succeeded. You got to the very last line
of the bootstrap script, where it does a 'yum install
dell-hw-specific-repository'.
>From what I can tell, it looks like maybe you have some kind of
pre-existing RPM database weirdness going on. This looks to me like the
standard "rpm hangs when doing stuff" type of issue. (which I thought
would be gone/fixed in RHEL5, but whatever.)
It doesnt appear to me like it is anything specifically wrong with the
Dell repository. I would tend to suspect that any RPM install would hang
in a similar manner.
Ok, with that said, first do one thing to see what is hanging and make
sure it isnt something with my stuff, then there are two additional things
you can do to fix it, if this an RPM problem.
First, do a "ps -ef" and look for the 'yum install' process. Look for any
children that it may have. If this is an RPM problem, I am pretty sure it
wont have any children. If it does have children, stop and let me know
what those children are. (in my spec file, the only commands I run are:
bash, perl, grep, cut, xargs. So if it is something wrong with my scripts,
it will probably be one of these.
Next, there are two things you can generally do to fix this error. First:
# rm -f /var/lib/rpm/__*
This removes the database locks and indexes. See if this fixes your
problem. Next thing you can do if that doenst work:
# rpm --rebuilddb
The RPM guys say that this shouldnt be necessary. But sometimes it works.
Go figure.
As far as I can tell, your machine should have the dell repositories set
up, so you shouldnt have to do anything else. But if you want to start
over, simply "rpm -e" the repository rpms ("rpm -qa | grep repository")
and then re-run the bootstrap.
--
Michael
-----Original Message-----
From: linux-poweredge-bounces at dell.com on behalf of Ludovic Cesar
Sent: Wed 7/25/2007 10:00 AM
To: Eugene Pik
Cc: linux-poweredge-bounces-Lists; linux-poweredge-Lists
Subject: Re: setup repositories Yum problèmes
It's true...but the script cant finish, it's bloked on the last line. (i
missing to say this precission) :p
If i cancel the script with 'ctrl+c' my yum are broken. I dont have the
description because i have crash my virtual machine, for retry...
They are not a other solution to add the repositories of dell differently
?
expl: just get the gpgkey and add the lines in my yum.conf ?
Best regards,
Ludovic
"Eugene Pik" <eugene.pik at gmail.com>
Envoyé par : linux-poweredge-bounces at dell.com
25/07/2007 16:50
A
"Ludovic Cesar" <Ludovic.Cesar at fedasil.be>
cc
Linux-PowerEdge at dell.com
Objet
Re: setup repositories Yum problèmes
Hi Ludovic,
I do not see any error there...
Eugene Pik
On 7/25/07, Ludovic Cesar <Ludovic.Cesar at fedasil.be > wrote:
Hi everybody,
In advance sorry for my poor english ;-)
When i want to make the procedure of Dell repositories of Open manage i
have the same error (see below). This error corrupted my YUM process.
They not a other procédure to add the dell repositories in the yum
configuration ? I started with yum and i dont know how it work !
My distrib are RHel5 with Xen on PowerEdge 2950.
Thanks for reading,
Ludovic
root at my_server:# wget -q -O -
http://linux.dell.com/repo/hardware/bootstrap.cgi | bash
Downloading GPG key: http://linux.dell.com//repo/hardware/RPM-GPG-KEY-dell
Importing key into RPM.
Downloading GPG key:
http://linux.dell.com//repo/hardware/RPM-GPG-KEY-libsmbios
Importing key into RPM.
Installing platform-independent RPM:
dell-hw-indep-repository-1-12.el5.noarch.rpm
Installing platform-specific repository RPM.
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
FHQ003 100% |=========================| 951 B 00:00
FHQ002 100% |=========================| 951 B 00:00
FHQ001 100% |=========================| 951 B 00:00
dell-hardware-main 100% |=========================| 1.9 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 4.0 kB 00:00
################################################## 18/18
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for dell-hw-specific-repository to pack into
transaction set.
dell-hw-specific-reposito 100% |=========================| 4.8 kB 00:00
---> Package dell-hw-specific-repository.noarch 0:1-12.el5 set to be
updated
--> Running transaction check
--> Processing Dependency: firmware-addon-dell >= 1.2.11 for package:
dell-hw-specific-repository
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for firmware-addon-dell to pack into transaction
set.
firmware-addon-dell-1.3.0 100% |=========================| 6.5 kB 00:00
---> Package firmware-addon-dell.i386 0:1.3.0-1.el5 set to be updated
--> Running transaction check
--> Processing Dependency: libsmbios-bin for package: firmware-addon-dell
--> Processing Dependency: firmware-tools > 0:1.1 for package:
firmware-addon-dell
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for firmware-tools to pack into transaction set.
firmware-tools-1.3.1-1.el 100% |=========================| 7.4 kB 00:00
---> Package firmware-tools.noarch 0:1.3.1-1.el5 set to be updated
---> Downloading header for libsmbios-bin to pack into transaction set.
libsmbios-bin-0.13.7-1.el 100% |=========================| 6.7 kB 00:00
---> Package libsmbios-bin.i386 0:0.13.7-1.el5 set to be updated
--> Running transaction check
--> Processing Dependency: libsmbios-libs = 0.13.7-1.el5 for package:
libsmbios-bin
--> Processing Dependency: libsmbios.so.1 for package: libsmbios-bin
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libsmbios-libs to pack into transaction set.
libsmbios-libs-0.13.7-1.e 100% |=========================| 5.8 kB 00:00
---> Package libsmbios-libs.i386 0:0.13.7-1.el5 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
dell-hw-specific-repository noarch 1-12.el5 dell-hardware-main 5.9
k
Installing for dependencies:
firmware-addon-dell i386 1.3.0-1.el5 dell-hardware-main 27
k
firmware-tools noarch 1.3.1-1.el5 dell-hardware-main
106 k
libsmbios-bin i386 0.13.7-1.el5 dell-hardware-main 57
k
libsmbios-libs i386 0.13.7-1.el5 dell-hardware-main
234 k
Transaction Summary
=============================================================================
Install 5 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 429 k
Downloading Packages:
(1/5): firmware-tools-1.3 100% |=========================| 106 kB 00:00
(2/5): libsmbios-libs-0.1 100% |=========================| 234 kB 00:00
(3/5): libsmbios-bin-0.13 100% |=========================| 57 kB 00:00
(4/5): firmware-addon-del 100% |=========================| 27 kB 00:00
(5/5): dell-hw-specific-r 100% |=========================| 5.9 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: libsmbios-libs ######################### [1/5]
Installing: libsmbios-bin ######################### [2/5]
Installing: firmware-tools ######################### [3/5]
Installing: firmware-addon-dell ######################### [4/5]
Installing: dell-hw-specific-repository ######################### [5/5]
_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge at dell.com
http://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq
_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge at dell.com
http://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq
_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge at dell.com
http://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20070726/a648e6f3/attachment-0001.htm
More information about the Linux-PowerEdge
mailing list