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
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.
On Mon, 28 Jul 2014 12:14:28 -0400 Barry txscope@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
On Mon, Jul 28, 2014, at 02:25 PM, Kevin Fenzi wrote:
On Mon, 28 Jul 2014 12:14:28 -0400 Barry txscope@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
Thanks, and sure:
# rpm -ivh --replacepkgs yum-3.4.3-152.fc20.noarch.rpm Preparing... ################\ ################# [100%] Updating / installing... 1:yum-3.4.3-152.fc20 ################\ ################# [100%] error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/yum\ /igroups.pyc: cpio: rename failed - Input/output error error: yum-3.4.3-152.fc20.noarch: install failed
Then, I wanted to check the file attr:
# lsattr /usr/lib/python2.7/site-packages/yum/igroups.pyc lsattr: Input/output error while trying to stat /usr/lib/python2.7/site-package\ s/yum/igroups.pyc
On Mon, Jul 28, 2014, at 02:49 PM, Barry wrote:
On Mon, Jul 28, 2014, at 02:25 PM, Kevin Fenzi wrote:
On Mon, 28 Jul 2014 12:14:28 -0400 Barry txscope@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
Thanks, and sure:
# rpm -ivh --replacepkgs yum-3.4.3-152.fc20.noarch.rpm Preparing... ################\ ################# [100%] Updating / installing... 1:yum-3.4.3-152.fc20 ################\ ################# [100%] error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/yum\ /igroups.pyc: cpio: rename failed - Input/output error error: yum-3.4.3-152.fc20.noarch: install failed
Then, I wanted to check the file attr:
# lsattr /usr/lib/python2.7/site-packages/yum/igroups.pyc lsattr: Input/output error while trying to stat /usr/lib/python2.7/site-package\ s/yum/igroups.pyc
You were right. I booted with a rescue disk and fsck found many errors on the root partition. many Anyway they seemed to be fixable, and on rebooting, I was able to reinstall yum and then other stuff.
The only problem is that now I lost my top and bottom panels. This is an XFCE spin, and I wanted to take a look at it. I liked what I saw, but I don't really trust the drive. it's an old laptop, and probably not worth a lot more time.
Allegedly, on or about 28 July 2014, Barry sent:
You were right. I booted with a rescue disk and fsck found many errors on the root partition. many Anyway they seemed to be fixable, and on rebooting, I was able to reinstall yum and then other stuff.
The only problem is that now I lost my top and bottom panels. This is an XFCE spin, and I wanted to take a look at it. I liked what I saw, but I don't really trust the drive. it's an old laptop, and probably not worth a lot more time.
To have a look, without wasting money on a new hard drive, you could try making an install that runs off a USB flash drive. They're cheap, and immediately re-useable, if you don't thrash it to death with your test.
Sure, a live DVD could give you a trial look, too. But it's such a painfully slow medium.
On Tue, Jul 29, 2014, at 12:44 PM, Tim wrote:
Allegedly, on or about 28 July 2014, Barry sent:
You were right. I booted with a rescue disk and fsck found many errors on the root partition. many Anyway they seemed to be fixable, and on rebooting, I was able to reinstall yum and then other stuff.
The only problem is that now I lost my top and bottom panels. This is an XFCE spin, and I wanted to take a look at it. I liked what I saw, but I don't really trust the drive. it's an old laptop, and probably not worth a lot more time.
To have a look, without wasting money on a new hard drive, you could try making an install that runs off a USB flash drive. They're cheap, and immediately re-useable, if you don't thrash it to death with your test.
Sure, a live DVD could give you a trial look, too. But it's such a painfully slow medium.
-- [tim@localhost ~]$ uname -rsvp Linux 3.9.10-100.fc17.x86_64 #1 SMP Sun Jul 14 01:31:27 UTC 2013 x86_64
All mail to my mailbox is automatically deleted, there is no point trying to privately email me, I will only read messages posted to the public lists.
George Orwell's '1984' was supposed to be a warning against tyranny, not a set of instructions for supposedly democratic governments.
Thanks, that makes sense, but I managed to fix the two things that were bothering me and I'm liking XFCE.
I had to fix the panel after fixing many disk problems with fsck and updating.
I weirdly lost my panels. Rather the shortcuts in the panels, not the panels themselves. Once I figured out how to repopulate them, all that seemed fine.
I also wanted to get multimedia playback working -- with nonfree formats. I installed all the codecs but neither Parole or VLC worked right. Mostly the video was frozen or went to black. That turned out to be a driver problem solved with installing akmod-nvidia.