Re: Wierd YUM error :S Help Please!

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

 



Manuel Escudero wrote:
> This just started today, Yesterday everything seem to be fine, but today
> I tried to install a program via YUM and Konsole returned me a Wierd error,
> This error repeats with every YUM task I try to perform, se my output:
> 
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 29, in <module>
>     yummain.user_main(sys.argv[1:], exit_code=True)
>   File "/usr/share/yum-cli/yummain.py", line 258, in user_main
>     errcode = main(args)
>   File "/usr/share/yum-cli/yummain.py", line 97, in main
>     base.doLock()
>   File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1593, in
> doLock
>     while not self._lock(lockfile, mypid, 0644):
>   File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1653, in
> _lock
>     errmsg = _('Could not create lock at %s: %s ') % (filename, str(msg))
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 24:
> ordinal not in range(128)
> 
> 
> Why is this happening? How can I fix it?


The error message looks like it can't create a lock.  Either you are 
running as a user that doesn't have permission to create the lock or the 
file is already locked.  I'd look for /var/run/yum.pid to see if that 
file exists.  If it does, then do

ps `cat /var/run/yum.pid`

to see if you have a running yum process somewhere.  If you do, you'll 
need to take care of it.  If you don't, then remove /var/run/yum.pid and 
try again.

Hugh
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux