[Yum] yum downloads but doesn't install rpm

Joe Landman landman at scalableinformatics.com
Fri Jun 8 03:44:31 UTC 2007


Hi Folks:

   Looking to solve a problem, likely of my own creation.

   I am using OpenSuSE 10.2 for a customers cluster.  Setting up yum and 
a repository.  This is yum 3.0.1

	scalable:/srv/_os_/rpms # yum --version
	3.0.1


   The repo was created in the usual manner using createrepo (nothing 
special).

   A simple extras.repo file was created with this:

	[cluster]
	name=Cluster Tools
	baseurl=http://localhost:16160/rpms/
	enabled=1

and a web server is up and operational on this site, properly serving 
the files.  I can browse it.

Here is the problem.  When I go to install one of my packages in the 
repo, it downloads it just fine, but does not install it.

scalable:/srv/_os_/rpms # yum install ifinfo
Setting up Install Process
Setting up repositories
OpenSuSE                  100% |=========================|  951 B 
00:00
cluster                   100% |=========================|  951 B 
00:00
updates                   100% |=========================| 1.2 kB 
00:00
suse10.2                  100% |=========================|  951 B 
00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 6.0 MB 
00:04
################################################## 13792/13792
primary.xml.gz            100% |=========================|  15 kB 
00:00
################################################## 60/60
primary.xml.gz            100% |=========================| 634 kB 
00:00
################################################## 1684/1684
primary.xml.gz            100% |=========================| 1.3 MB 
00:00
################################################## 3104/3104
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for ifinfo to pack into transaction set.
ifinfo-0.90-1.x86_64.rpm  100% |=========================| 2.3 kB 
00:00
---> Package ifinfo.x86_64 0:0.90-1 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
  Package                 Arch       Version          Repository 
Size
=============================================================================
Installing:
  ifinfo                  x86_64     0.90-1           cluster 
  21 k

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

Total download size: 21 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): ifinfo-0.90-1.x86_ 100% |=========================|  21 kB 
00:00



scalable:/srv/_os_/rpms #


Ok.  I am sure this is pilot error on my part.  Any hints on what I am 
doing wrong?  This RPM installs fine by hand.

scalable:/srv/_os_/rpms # find /var/ | grep -i ifinfo
/var/cache/yum/cluster/headers/ifinfo-0.90-1.x86_64.hdr
/var/cache/yum/cluster/packages/ifinfo-0.90-1.x86_64.rpm
scalable:/srv/_os_/rpms # rpm -Uvh 
/var/cache/yum/cluster/packages/ifinfo-0.90-1.x86_64.rpm
Preparing...                ########################################### 
[100%]
    1:ifinfo                 ########################################### 
[100%]


Thanks in advance.

Joe


--
Joe Landman
landman at scalableinformatics.com
http://scalableinformatics.com



More information about the Yum mailing list