On 08/23/2013 03:32 PM, Jim wrote:
On 08/23/2013 02:07 PM, Frank wrote:
<<>>
Yumex runs yum as a backend...so the yumex.conf file must have
use_sudo=1 in it. Its located on my 19 system as $HOME/.config/yumex
On my system sudo is configured to give root access without a
password. YMMV.
Regards
Frank
I put the use_sudo=1 in the first line of ~/.config/yumex and then I
ran yumex as user and got this Error message;
[jim@localhost Desktop]$ yumex
16:05:16 : INFO - Using config file : /home/jim/.config/yumex/yumex.conf
Traceback (most recent call last):
File "/usr/bin/yumex", line 42, in <module>
app = YumexApplication(backend)
File "/usr/lib/python2.7/site-packages/yumexgui/__init__.py", line
199, in __init__
self.cfg = YumexOptions()
File "/usr/lib/python2.7/site-packages/yumexbase/conf.py", line 73,
in __init__
self.conf_settings = self.get_yumex_config()
File "/usr/lib/python2.7/site-packages/yumexbase/conf.py", line 93,
in get_yumex_config
parser.read(CONF_FILE)
File "/usr/lib/python2.7/site-packages/iniparse/compat.py", line 99,
in read
self.data._readfp(fp)
File "/usr/lib/python2.7/site-packages/iniparse/ini.py", line 565, in
_readfp
raise MissingSectionHeaderError(fname, linecount, line)
/*NOTE*
MissingSectionHeaderError: File contains no section headers.
file: /home/jim/.config/yumex/yumex.conf, line: 1
'\xef\xbb\xbf[yumex]\n'
/*ETON*
But I found out that if I run Yumex as SU by using this command, "yumex
--root" it will force it to run.
how about a clarification;
from jim's post, file is "~/.config/yumex/yumex.conf".
you post "use_sudo=1 in the first line of ~/.config/yumex"
did you mean "use_sudo=1 in the first line of ~/.config/yumex/yumex.conf"
after headers?
does root have "/root/.config/yumex/yumex.conf"?
if so, how do lines compare to your "~/.config/yumex/yumex.conf"?
see the "*NOTE*" lines i marked from your post.
iow, "1 st line" and "line: 1" can _technically_ have different meanings
when it comes to configuration files.
--
peace out.
in a world with out fences, who needs gates.
sl6.3 linux
tc.hago.
g
.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org