LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   can't get yum or up2date to work. Am accessing via proxy. Tried to configure. (https://www.linuxquestions.org/questions/linux-networking-3/cant-get-yum-or-up2date-to-work-am-accessing-via-proxy-tried-to-configure-269944/)

pmprichard 12-24-2004 11:14 AM

can't get yum or up2date to work. Am accessing via proxy. Tried to configure.
 
Hi
I am new to linux and I can't get yum or up2date to work at all.
I get the follwing error message when I type up2date -v

up2date -v
/usr/share/rhn/up2date_client/checklist.py:21: DeprecationWarning: use gtk.TreeView
gtk.CList.__init__ (self, columns+1)
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py:90: GtkDeprecationWarning: gtk.mainloop is deprecated, use gtk.main instead
self.warn(message, DeprecationWarning)
should say http but can't post it://fedora.redhat.com/download/up2date-mirrors/fedora-core-rawhide
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py:90: GtkDeprecationWarning: gtk.create_pixmap is deprecated, use gtk.gdk.Pixmap instead
self.warn(message, DeprecationWarning)
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py:90: GtkDeprecationWarning: gtk.mainiteration is deprecated, use gtk.main_iteration instead
self.warn(message, DeprecationWarning)
Traceback (most recent call last):
File "/usr/share/rhn/up2date_client/gui.py", line 1434, in onChannelsPageNext
self.pList.run()
File "/usr/share/rhn/up2date_client/packageList.py", line 122, in run
self.progressCallback)
File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 315, in getAvailableAllArchPackageList
package_list = availablePackageList(
File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 153, in availablePackageList
progressCallback = progressCallback)
File "/usr/share/rhn/up2date_client/rpcServer.py", line 310, in doCall
ret = apply(method, args, kwargs)
File "/usr/share/rhn/up2date_client/repoDirector.py", line 20, in listPackages return self.handlers[channel['type']].listPackages(channel, msgCallback, progressCallback)
File "/usr/share/rhn/up2date_client/rpmSource.py", line 226, in listPackages
msgCallback, progressCallback)
File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line 201, in listPackages
agent = "Up2date %s/Yum" % up2dateUtils.version())
File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line 324, in fetchUrl
endRange=end)
File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line 117, in open_resource
return opener.open(request)
File "/usr/lib/python2.3/urllib2.py", line 326, in open
'_open', req)
File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
result = func(*args)
File "/usr/lib/python2.3/urllib2.py", line 901, in http_open
return self.do_open(httplib.HTTP, req)
File "/usr/lib/python2.3/urllib2.py", line 886, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error (-3, 'Temporary failure in name resolution')>
Traceback (most recent call last):
File "/usr/share/rhn/up2date_client/gui.py", line 1500, in onSkippedPagePrepare
self.__preparePackageList()
File "/usr/share/rhn/up2date_client/gui.py", line 1386, in __preparePackageList
self.pList.run()
File "/usr/share/rhn/up2date_client/packageList.py", line 122, in run
self.progressCallback)
File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 315, in getAvailableAllArchPackageList
package_list = availablePackageList(
File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 153, in availablePackageList
progressCallback = progressCallback)
File "/usr/share/rhn/up2date_client/rpcServer.py", line 310, in doCall
ret = apply(method, args, kwargs)
File "/usr/share/rhn/up2date_client/repoDirector.py", line 20, in listPackages return self.handlers[channel['type']].listPackages(channel, msgCallback, progressCallback)
File "/usr/share/rhn/up2date_client/rpmSource.py", line 226, in listPackages
msgCallback, progressCallback)
File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line 201, in listPackages
agent = "Up2date %s/Yum" % up2dateUtils.version())
File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line 324, in fetchUrl
endRange=end)
File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line 117, in open_resource

return opener.open(request)
File "/usr/lib/python2.3/urllib2.py", line 326, in open
'_open', req)
File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
result = func(*args)
File "/usr/lib/python2.3/urllib2.py", line 901, in http_open
return self.do_open(httplib.HTTP, req)
File "/usr/lib/python2.3/urllib2.py", line 886, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error (-3, 'Temporary failure in name resolution')>


I get the follwing message when I type yum install mplayer

yum install mplayer
Error: Cannot find baseurl or name for repo: freshrpms. Skipping
Setting up Install Process
Setting up Repo: livna-stable
Cannot open/read repomd.xml file for repository: livna-stable
failure: repodata/repomd.xml from livna-stable: [Errno 256] No more mirrors to try.
[root@localhost pmprichard]#

I have tried export http_proxy=http//192.168.0.2:6588 and i have tried using a modified yum conf

I am running fedora core 3. My access to the internet is though analogx proxy which runs on a windows machine. The http port is 6588. Internet works no problem. Why won't yum work. Any help would be appreciated.

Freespacer 01-16-2005 12:09 PM

same here i get:

[root@localhost ~]# up2date
/usr/share/rhn/up2date_client/checklist.py:21: DeprecationWarning: use gtk.TreeView
gtk.CList.__init__ (self, columns+1)
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py:90: GtkDeprecationWarning: gtk.mainloop is deprecated, use gtk.main instead
self.warn(message, DeprecationWarning)
http://fedora.redhat.com/download/up.../fedora-core-3
http://fedora.redhat.com/download/up...s-released-fc3
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py:90: GtkDeprecationWarning: gtk.create_pixmap is deprecated, use gtk.gdk.Pixmap instead
self.warn(message, DeprecationWarning)
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py:90: GtkDeprecationWarning: gtk.mainiteration is deprecated, use gtk.main_iteration instead
self.warn(message, DeprecationWarning)
Traceback (most recent call last):
File "/usr/share/rhn/up2date_client/gui.py", line 1434, in onChannelsPageNext
self.pList.run()
File "/usr/share/rhn/up2date_client/packageList.py", line 122, in run
self.progressCallback)
File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 315, in getAvailableAllArchPackageList
package_list = availablePackageList(
File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 153, in availablePackageList
progressCallback = progressCallback)
File "/usr/share/rhn/up2date_client/rpcServer.py", line 310, in doCall
ret = apply(method, args, kwargs)
File "/usr/share/rhn/up2date_client/repoDirector.py", line 20, in listPackages
return self.handlers[channel['type']].listPackages(channel, msgCallback, progressCallback)
File "/usr/share/rhn/up2date_client/rpmSource.py", line 226, in listPackages
msgCallback, progressCallback)
File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line 201, in listPackages
agent = "Up2date %s/Yum" % up2dateUtils.version())
File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line 324, in fetchUrl
endRange=end)
File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line 117, in open_resource
return opener.open(request)
File "/usr/lib/python2.3/urllib2.py", line 326, in open
'_open', req)
File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
result = func(*args)
File "/usr/lib/python2.3/urllib2.py", line 901, in http_open
return self.do_open(httplib.HTTP, req)
File "/usr/lib/python2.3/urllib2.py", line 886, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error (-3, 'Temporary failure in name resolution')>
Traceback (most recent call last):
File "/usr/share/rhn/up2date_client/gui.py", line 1500, in onSkippedPagePrepare
self.__preparePackageList()
File "/usr/share/rhn/up2date_client/gui.py", line 1386, in __preparePackageList
self.pList.run()
File "/usr/share/rhn/up2date_client/packageList.py", line 122, in run
self.progressCallback)
File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 315, in getAvailableAllArchPackageList
package_list = availablePackageList(
File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 153, in availablePackageList
progressCallback = progressCallback)
File "/usr/share/rhn/up2date_client/rpcServer.py", line 310, in doCall
ret = apply(method, args, kwargs)
File "/usr/share/rhn/up2date_client/repoDirector.py", line 20, in listPackages
return self.handlers[channel['type']].listPackages(channel, msgCallback, progressCallback)
File "/usr/share/rhn/up2date_client/rpmSource.py", line 226, in listPackages
msgCallback, progressCallback)
File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line 201, in listPackages
agent = "Up2date %s/Yum" % up2dateUtils.version())
File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line 324, in fetchUrl
endRange=end)
File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line 117, in open_resource
return opener.open(request)
File "/usr/lib/python2.3/urllib2.py", line 326, in open
'_open', req)
File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
result = func(*args)
File "/usr/lib/python2.3/urllib2.py", line 901, in http_open
return self.do_open(httplib.HTTP, req)
File "/usr/lib/python2.3/urllib2.py", line 886, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error (-3, 'Temporary failure in name resolution')>


then the system hangs - any help would be appreciated :D

cheers
free


All times are GMT -5. The time now is 07:37 PM.