On Mon, 28 Jul 2014 12:14:28 -0400
Barry <txsc...@fastmail.fm> wrote:

> On Mon, Jul 28, 2014, at 11:44 AM, Barry wrote:
> > I installed Fedora 20 yesterday, and after the installation was
> > done, I installed a few packages successfully and then updated all
> > the packages, and then shut down 
> > 
> > Today when I first turned on the machine, I tried installing the
> > remaining stuff I want, and I got a python error, to wit:
> > 
> >   File "/usr/lib/python2.7/site-packages/yum/i18n.py", line 1
> > SyntaxError: Non-ASCII character '\xfb' in file
> > /usr/lib/python2.7/site-packages/yum/i18n.py on line 2, but no
> > encoding declared; see http://www.python.org/peps/pep-0263.html for
> > details
> > 
> > I took a look at i18n.py, and it's a binary file, which couldn't be
> > right. 
> > 
> > There's no i18n.pyo, but there is a i18n.pyc. 
> > 
> > It seems to me I might be able to reinstall python from the rpm,
> > but I'm not sure about this.
> > 
> > Thanks for any help
> > 
> > 
> 
> I should have said reinstall yum, and I tried that after finding
> yum-3.4.3-152.fc20.noarch.rpm but rpm failed to unpack the archive. 

Can you provide the full output from the reinstall?

It does sound like there's some disk corruption going on. :( 

That i18n.py definitely should not be a binary. 

kevin

Attachment: signature.asc
Description: PGP signature

-- 
users mailing list
users@lists.fedoraproject.org
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

Reply via email to