Yum Not Working
im using fedora core 8....im using yum for software updates....it was working properly till yesterday . now its showing an error like this
Loading "priorities" plug in Options Error: Error parsing 'file://media/Fedora 8 i386 DVD': URL must be http, ftp, file or https not "" when i tried to use add or remove software option it gives a bug report lsayin exception occurred i want to add fedora installation cd as one of the repositories .. the bug report im getting is like this Component: pirut Summary: TB65e8237b config.py:84:__set__:ValueError: Error parsing 'file://media/Fedora 8 i386 DVD': URL must be http, ftp, file or https not "" Traceback (most recent call last): File "/usr/sbin/pirut", line 476, in <module> main() File "/usr/sbin/pirut", line 469, in main pm = PackageManager(options.config, options.onlyrepo) File "/usr/sbin/pirut", line 63, in __init__ GraphicalYumBase.__init__(self, False, config) File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 129, in __init__ plugin_types=(yum.plugins.TYPE_CORE,)) File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 116, in doConfigSetup errorlevel=errorlevel) File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 167, in _getConfig self.getReposFromConfig() File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 240, in getReposFromConfig thisrepo = self.readRepoConfig(parser, section) File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 262, in readRepoConfig repo.populate(parser, section, self.conf) File "/usr/lib/python2.5/site-packages/yum/config.py", line 401, in populate setattr(self, name, value) File "/usr/lib/python2.5/site-packages/yum/config.py", line 84, in __set__ raise ValueError('Error parsing %r: %s' % (value, str(e))) ValueError: Error parsing 'file://media/Fedora 8 i386 DVD': URL must be http, ftp, file or https not "" Local variables in innermost frame: obj: InstallMedia self: <yum.config.UrlListOption object at 0x9edbe8c> e: URL must be http, ftp, file or https not "" value: file://media/Fedora 8 i386 DVD |
What is the output of 'yum repolist' ?
What is the content of the '.repo' file in '/etc/yum.repos.d' that contains the repository information for the DVD? Can you try 'yum --noplugins update' ? |
that is odd
Quote:
|
yum repolist
i tried yum repolist and yum-no plugins update i got an output like this
Loading "priorities" plugin Options Error: Error parsing 'baseurl = file://media/Fedora 8 i386 DVD': URL must be http, ftp, file or https not "" /etc/yum.repos.d/Fedora-install-media.repo is like this InstallMedia] name = Fedora 8 mediaid=1194015397.199387 metadata_expire=-1 gpgcheck = 0 cost=500 baseurl = baseurl = file://media/Fedora 8 i386 DVD |
delete /etc/yum.repos.d/Fedora-install-media.repo
and install lvina repo http://www.mjmwired.net/resources/mj...ra-f8.html#yum but do not use " sudo " unless you have ALREADY set it up -- use " su - " example: Code:
su - Code:
su - |
No answers here nor in the net
Hi
I have exactly the same problem, i.e. [root@localhost etc]# yum repolist Loaded plugins: refresh-packagekit Options Error: Error parsing 'file:///media/Fedora 11 i386 DVD': URL must be http, ftp, file or https not "" The reason why I would like to add a repo from a DVD (as somebody above questioned it is odd) is my recent upgrade to Fedora 11. I see no reason why to download everything from the net if many RPMs are on DVD already. Especially that I am limited with monthly download allowance (mobile broadband). |
what is on the dvd is OLD and UNSTABLE . The sound is broken and the Updates will fix that .there was also a bug in the wireless that was fixed . there is a kernel update that FIXES a KNOWN exploit .
i have already had over 300 updates to fix things from the dvd . if you do not want UPDATES to fix things on the "stable" and i put that in quotes because fedora is a TESTING DESTRO AND NOT EVERYTHING WILL WORK OUT OF THE BOX install CentOS 5.3 or BUY a license for RHEL 5.3 . If you do not want to install updates then do not use Fedora . With fedora you will need to reinstall every 6 months when a new version comes out. then install approx. 1 to 5 gig's of updates. |
I know this is an old post but I just had the same issue with Oracle enterprise linux so in case anyone has the problem.
I ran this Code:
ls /etc/yum.repos.d Code:
ls /etc/yum.repos.d |
All times are GMT -5. The time now is 07:26 PM. |