omsa update

Michael_E_Brown at Dell.com Michael_E_Brown at Dell.com
Mon Oct 20 12:43:40 CDT 2008


This seems rather odd.

What happens is that the dell-omsa-repository RPM re-runs the bootstrap during RPM install/upgrade to keep the yum repository config file up-to-date.

>From what I can tell, it looks like there may be a possible problem in the %post script in pulling out the proper URL for the bootstrap script. Can you please send me the output of the following commands (a subset of what the %post is doing):

Command #1:
grep ^bootstrapurl= /etc/yum.repos.d/dell-omsa-repository.repo 

Command #2:
grep ^bootstrapurl= /etc/yum.repos.d/dell-omsa-repository.repo 2>/dev/null | cut -d= -f2-

--
Michael

-----Original Message-----
From: linux-poweredge-bounces at dell.com on behalf of Tony Schreiner
Sent: Mon 10/20/2008 9:40 AM
To: linux-poweredge-Lists
Subject: omsa update
 
I'm getting the following error with the installation of dell-omsa- 
repository on CentOS 5.2 i386 system.

bash: line 1: wget:: command not found
bash: line 2: Usage:: command not found
bash: line 4: unexpected EOF while looking for matching ``'
bash: line 5: syntax error: unexpected end of file
error: %post(dell-omsa-repository-2-1.noarch) scriptlet failed, exit  
status 2


The full transaction follows.

]$ sudo yum install dell-omsa-repository
Loading "merge-conf" plugin
Loading "security" plugin
Loading "downloadonly" plugin
Loading "priorities" plugin
Loading "dellsysidplugin" plugin
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
  * epel: download.fedora.sr.unh.edu
  * dell-hardware-main: linux.dell.com
  * dell-software: linux.dell.com
  * rpmforge: ftp-stud.fht-esslingen.de
  * fwupdate: linux.dell.com
  * base: mirror.trouble-free.net
  * updates: mirror.atlanticmetro.net
  * extras: mirror.cs.vt.edu
  * addons: ftp.linux.ncsu.edu
2242 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package dell-omsa-repository.noarch 0:2-1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================== 
=====
  Package                 Arch       Version           
Repository        Size
======================================================================== 
=====
Installing:
  dell-omsa-repository    noarch     2-1              dell-hardware- 
main  2.9 k

Transaction Summary
======================================================================== 
=====
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 2.9 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): dell-omsa-reposito 100% |=========================| 2.9 kB     
00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
   Installing: dell-omsa-repository         #########################  
[1/2]
bash: line 1: wget:: command not found
bash: line 2: Usage:: command not found
bash: line 4: unexpected EOF while looking for matching ``'
bash: line 5: syntax error: unexpected end of file
error: %post(dell-omsa-repository-2-1.noarch) scriptlet failed, exit  
status 2

Installed: dell-omsa-repository.noarch 0:2-1
Complete!

Regards
Tony Schreiner
Boston College

_______________________________________________
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




More information about the Linux-PowerEdge mailing list