[Bug 243409] New: /etc/yum/yum.conf does not work
https://bugzilla.novell.com/show_bug.cgi?id=243409 Summary: /etc/yum/yum.conf does not work Product: openSUSE 10.3 Version: Alpha 0plus Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: cthiel@novell.com ReportedBy: andreas.hanke@gmx-topmail.de QAContact: qa@suse.de The latest yum package in the build service (home:cthiel1) installs yum.conf as /etc/yum/yum.conf. 1. This does not work for me, all I get is a traceback: # package-cleanup --orphans Setting up yum Traceback (most recent call last): File "/usr/bin/package-cleanup", line 402, in <module> main() File "/usr/bin/package-cleanup", line 365, in main my = initYum(opts) File "/usr/bin/package-cleanup", line 40, in initYum my.doConfigSetup(opts.conffile,init_plugins=False) File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 130, in doConfigSetup File "config.py", line 570, in readStartupConfig File "parser.py", line 83, in __init__ File "parser.py", line 185, in _pushfile yum.Errors.ConfigError: Error accessing file for config file:///etc/yum.conf 2. There is no upgrade path from /etc/yum.conf to /etc/yum/yum.conf I guess that this is just an oversight and you really meant to continue using /etc/yum.conf. The other change (/etc/yum.repos.d -> /etc/yum/repos.d) is fine. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=243409 ------- Comment #1 from andreas.hanke@gmx-topmail.de 2007-02-07 20:37 MST ------- I just noticed that yum itself works OK with /etc/yum/yum.conf, but yum-utils does not. Also worth checking: Other yum frontends (yumex, kyum). I didn't really test them, but grep shows: /usr/lib/python2.5/site-packages/yumex/bestmirror.py:# make sure you have 'plug ins=1' in your /etc/yum.conf. /usr/lib/python2.5/site-packages/yumex/fastestmirror.py:# make sure you have 'p lugins=1' in your /etc/yum.conf. /usr/lib/python2.5/site-packages/yumex/yumexUtils.py: r = '/etc/yum.conf ' /usr/lib/python2.5/site-packages/yumex/yumexUtils.py: if self.filename = = '/etc/yum.conf': Übereinstimmungen in Binärdatei /usr/lib/python2.5/site-packages/yumex/yumexUti ls.pyc. Übereinstimmungen in Binärdatei ./opt/kde3/bin/kyum. And it's not nice to see the tools stop working on upgrade. It should move the file to its new location, but it has to handle .rpmsave etc. correctly. Is it really worth the hassle? I suggest postponing the /etc/yum.conf -> /etc/yum/yum.conf change until the tools are fixed upstream. The /etc/yum.repos.d -> /etc/yum/repos.d change is fine for me because yum reads both. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=243409 ------- Comment #2 from cthiel@novell.com 2007-02-08 06:28 MST ------- Fortunately it didn't submit yum to Factory yet :) Will probably wait until upstream gets more stable again and 3rd party tools are fixed. Stay tuned. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=243409 ------- Comment #3 from andreas.hanke@gmx-topmail.de 2007-02-08 08:21 MST ------- Submitting yum-3.1.1 is probably safe as long as the yum.conf file remains where it was in yum-3.0.3: /etc/yum.conf. Both yum itself and the other tools will find it there because yum uses /etc/yum.conf as a fallback if /etc/yum/yum.conf doesn't exist. The switch to /etc/yum/yum.conf can then be done later. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=243409 cthiel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=243409 cthiel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #4 from cthiel@novell.com 2007-02-16 05:40 MST ------- I reverted the change to /etc/yum -- fixed package submitted to OBS and Factory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com