[Yum] yum question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a multipart message in MIME format.
--=_alternative 006B95ED86256D52_=
Content-Type: text/plain; charset="us-ascii"

I hate to break down and ask for help, but I am not a python person and 
don't know if I am getting an error from yum, python, from something I 
misconfigured, or if I just simply forgot to install something.

I am trying yum as a component of a site for installing software. I would 
put product on an ftp site and run yum-arch to create the headers. Someone 
who wants the software and wants to make sure all the dependent packages 
get installed at the same time would first install yum and obtain my 
yum.conf file. The conf file points to my server first and then one of the 
publicly available yum servers. 
Then, in theory, when you try to install something, yum goes to my server, 
finds the RPM, checks the dependencies, grabs the dependent RPMs off my 
server or the public server, and everything works just fine. 

So to test this, I built a dumb little rpm with an equally dumb 
dependency, put it on my ftp site, ran yum-arch, went to the client, and, 
well, it did find the packages and resolve the dependencies, but then I 
got the stuff below instead of a set of installed RPMs. 

If anyone has any ideas, I would appreciate hearing from you.

BTW, the yum-arch command ran without error and produced a header 
directory that has about what I expected in it.

Thanks 


Steve

------------output of yum cmd -----------------
Gathering header information file(s) from server(s)
Server: IBM OSS Product 9 - i386 - Base
Server: Red Hat Linux 9 - Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
.Dependencies resolved
I will do the following:
[install: hello2.i386]
I will install/upgrade these to satisfy the depedencies:
[deps: hello3.i386]
Getting hello2-1.0-1.i386.rpm
Traceback (most recent call last):
  File "/usr/bin/yum", line 45, in ?
    yummain.main(sys.argv[1:])
  File "yummain.py", line 276, in main
  File "clientStuff.py", line 865, in create_final_ts
  File "clientStuff.py", line 976, in grab
  File "urlgrabber.py", line 199, in retrygrab
  File "urlgrabber.py", line 267, in urlgrab
  File "/usr/lib/python2.2/urllib2.py", line 138, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.2/urllib2.py", line 322, in open
    '_open', req)
  File "/usr/lib/python2.2/urllib2.py", line 301, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.2/urllib2.py", line 931, in ftp_open
    if not dirs[0]:
IndexError: list index out of range



--=_alternative 006B95ED86256D52_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="Courier New">I hate to break down and ask for help, but I am not a python person and don't know if I am getting an error from yum, python, from something I misconfigured, or if I just simply forgot to install something.</font>
<br>
<br><font size=2 face="Courier New">I am trying yum as a component of a site for installing software. I would put product on an ftp site and run yum-arch to create the headers. Someone who wants the software and wants to make sure all the dependent packages get installed at the same time would first install yum and obtain my yum.conf file. The conf file points to my server first and then one of the publicly available yum servers. </font>
<br><font size=2 face="Courier New">Then, in theory, when you try to install something, yum goes to my server, finds the RPM, checks the dependencies, grabs the dependent RPMs off my server or the public server, and everything works just fine. </font>
<br>
<br><font size=2 face="Courier New">So to test this, I built a dumb little rpm with an equally dumb dependency, put it on my ftp site, ran yum-arch, went to the client, and, well, it did find the packages and resolve the dependencies, but then I got the stuff below instead of a set of installed RPMs. </font>
<br>
<br><font size=2 face="Courier New">If anyone has any ideas, I would appreciate hearing from you.</font>
<br>
<br><font size=2 face="Courier New">BTW, the yum-arch command ran without error and produced a header directory that has about what I expected in it.</font>
<br>
<br><font size=2 face="Courier New">Thanks </font>
<br>
<br>
<br><font size=2 face="Courier New">Steve</font>
<br>
<br><font size=2 face="Courier New">------------output of yum cmd -----------------</font>
<br><font size=2 face="Courier New">Gathering header information file(s) from server(s)</font>
<br><font size=2 face="Courier New">Server: IBM OSS Product 9 - i386 - Base</font>
<br><font size=2 face="Courier New">Server: Red Hat Linux 9 - Updates</font>
<br><font size=2 face="Courier New">Finding updated packages</font>
<br><font size=2 face="Courier New">Downloading needed headers</font>
<br><font size=2 face="Courier New">Resolving dependencies</font>
<br><font size=2 face="Courier New">.Dependencies resolved</font>
<br><font size=2 face="Courier New">I will do the following:</font>
<br><font size=2 face="Courier New">[install: hello2.i386]</font>
<br><font size=2 face="Courier New">I will install/upgrade these to satisfy the depedencies:</font>
<br><font size=2 face="Courier New">[deps: hello3.i386]</font>
<br><font size=2 face="Courier New">Getting hello2-1.0-1.i386.rpm</font>
<br><font size=2 face="Courier New">Traceback (most recent call last):</font>
<br><font size=2 face="Courier New">&nbsp; File &quot;/usr/bin/yum&quot;, line 45, in ?</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; yummain.main(sys.argv[1:])</font>
<br><font size=2 face="Courier New">&nbsp; File &quot;yummain.py&quot;, line 276, in main</font>
<br><font size=2 face="Courier New">&nbsp; File &quot;clientStuff.py&quot;, line 865, in create_final_ts</font>
<br><font size=2 face="Courier New">&nbsp; File &quot;clientStuff.py&quot;, line 976, in grab</font>
<br><font size=2 face="Courier New">&nbsp; File &quot;urlgrabber.py&quot;, line 199, in retrygrab</font>
<br><font size=2 face="Courier New">&nbsp; File &quot;urlgrabber.py&quot;, line 267, in urlgrab</font>
<br><font size=2 face="Courier New">&nbsp; File &quot;/usr/lib/python2.2/urllib2.py&quot;, line 138, in urlopen</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; return _opener.open(url, data)</font>
<br><font size=2 face="Courier New">&nbsp; File &quot;/usr/lib/python2.2/urllib2.py&quot;, line 322, in open</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; '_open', req)</font>
<br><font size=2 face="Courier New">&nbsp; File &quot;/usr/lib/python2.2/urllib2.py&quot;, line 301, in _call_chain</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; result = func(*args)</font>
<br><font size=2 face="Courier New">&nbsp; File &quot;/usr/lib/python2.2/urllib2.py&quot;, line 931, in ftp_open</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; if not dirs[0]:</font>
<br><font size=2 face="Courier New">IndexError: list index out of range</font><font size=2 face="sans-serif"><br>
<br>
<br>
</font>
--=_alternative 006B95ED86256D52_=--


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux