LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-04-2013, 09:57 AM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 632

Rep: Reputation: 33
Yum error after yum update and reboot


Hello,

this is the error I get when I want to use yum (Fedora 16 on Acer Aspire One netbook) :

[root@aspireone jonas]# yum update
Loaded plugins: langpacks, presto, refresh-packagekit
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 321, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 146, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 485, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 405, in doCommand
return base.updatePkgs(extcmds, update_to=(basecmd == 'update-to'))
File "/usr/share/yum-cli/cli.py", line 878, in updatePkgs
self.update()
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4351, in update
updates = self.up.getUpdatesTuples()
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1022, in <lambda>
up = property(fget=lambda self: self._getUpdates(),
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 827, in _getUpdates
self._up = rpmUtils.updates.Updates(self.rpmdb.simplePkgList(), self.pkgSack.simplePkgList())
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1003, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 767, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 265, in populateSack
self.doSetup()
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 92, in doSetup
self.ayum.plugins.run('postreposetup')
File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 187, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/langpacks.py", line 79, in postreposetup_hook
for event, elem in iterparse(infile):
File "<string>", line 107, in next
cElementTree.ParseError: no element found: line 1, column 0
 
Old 07-04-2013, 03:24 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,817

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
Seeing as Fedora 16 is past it's End Of Life there have been NO updates for the past 5 months
-- there is nothing to update

this looks like a Python error
did you by change replace the old version of python ( the version in the old fedora 16 repo IS REQUIRED !!!! for yum to work) ,with a newer version ?

As in bypassing yum to install a different version of Python

with Fedora 19 now out

Time to upgrade

back up important data
and reformat the drives ( ext4 ,or LVM using the f19 installer )and do a new clean install using Fedora 19
 
Old 07-04-2013, 05:26 PM   #3
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 632

Original Poster
Rep: Reputation: 33
This is a clean install on a Acer Aspire One netbook.

Fedora 17, 18 and 19 don't work on this netbook.

I just did a clean install, and then a yum update.

I did do nothing with Python or anything else...
 
Old 07-04-2013, 08:22 PM   #4
gdizzle
Member
 
Registered: Jul 2012
Posts: 234

Rep: Reputation: Disabled
Have you tried removing yum and re-installing it from the Fedora DVD/ISO?
 
Old 07-04-2013, 08:33 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,817

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
Quote:

Fedora 17, 18 and 19 don't work on this netbook.
just how little ram is in this ?

it is VERY advisable NOT to run and use a unsupported operating system

You might be able to install lxde on this netbook
if it is to old it will not be able to run Gnome3
Gnome 3 requires 3d hardware


fedora 19 with a lightweight DE might work
http://spins.fedoraproject.org/
xfce or lxde might work
or
CentOS 6.4
It is still using Gnome 2
 
Old 07-09-2013, 08:56 AM   #6
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 632

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by gdizzle View Post
Have you tried removing yum and re-installing it from the Fedora DVD/ISO?
Can I install yum from an rpm-package ?
 
Old 07-09-2013, 06:07 PM   #7
gdizzle
Member
 
Registered: Jul 2012
Posts: 234

Rep: Reputation: Disabled
See for yourself:

Code:
rpm -qa | grep -i yum
 
Old 07-09-2013, 06:13 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,817

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
Can I install yum from an rpm-package ?

on fedora 16
why bother
there are and NEVER will be any more updates

the ones you installed 5 months ago were the VERY LAST
 
Old 07-10-2013, 12:49 AM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,371
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Fedora 17, 18 and 19 don't work on this netbook.
Have you tried to install 17, 18 or 19?
If so; what happened?

Like our Guru: John said; it is not wise to run an un-supported OS:-

Is this your netbook?
http://www.notebookcheck.net/Review-...k.73534.0.html

Last edited by Ztcoracat; 07-10-2013 at 12:56 AM.
 
Old 07-10-2013, 01:14 AM   #10
gdizzle
Member
 
Registered: Jul 2012
Posts: 234

Rep: Reputation: Disabled
Can someone please define this "un-supported" OS definition, yes I understand it does not have the latest security patches / bugs related to the system and would have more problems as it's not the latest, however at the end of the day we come to this forum for support, or we support it ourselves.

These are not PAID supported systems unless I am missing something?

He is clearly running Fedora 16 not 18 because he has an old system, and is aware that it's end of life, however he just wants to try to get his system working?

Do we need another person to chime in and let us all know it's unsupported when we are the support system?
 
Old 07-10-2013, 01:35 AM   #11
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,371
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by gdizzle View Post
Can someone please define this "un-supported" OS definition, yes I understand it does not have the latest security patches / bugs related to the system and would have more problems as it's not the latest, however at the end of the day we come to this forum for support, or we support it ourselves.

These are not PAID supported systems unless I am missing something?

He is clearly running Fedora 16 not 18 because he has an old system, and is aware that it's end of life, however he just wants to try to get his system working?

Do we need another person to chime in and let us all know it's unsupported when we are the support system?
http://www.uni.edu/resnet/content/un...rating-systems

What evidence do you have to support that the Acer Aspire One Netbook is old?

Even I don't know that the one I found in the link is the one that OP has in his/her home or office:-


http://www.uni.edu/resnet/content/un...rating-systems
 
Old 07-10-2013, 02:01 AM   #12
gdizzle
Member
 
Registered: Jul 2012
Posts: 234

Rep: Reputation: Disabled
Quote:
What evidence do you have to support that the Acer Aspire One Netbook is old?
Well there have been multiple posts to upgrade his system to the latest Fedora so I will pay that, your right it might not be the system, it could be something else so I apologize for my assumption.

However, it's not a paid supported system, so even though it's outdated and not "supported" system, at the end of the day the community is the support if not the enduser itself.

So the understanding of a supported system is still a grey area, when you could have the latest system, which is supported, however we rely on each other as the support and if nobody replied to assist the problem then it's unsupported yet somehow supported.

So there is no real guarantee of support hence why there are multiple systems with multiple outdated versions and everyone has a stab to get it working. If this was the case I would just go from thread to thread saying unsupported.
 
Old 07-10-2013, 02:28 AM   #13
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 632

Original Poster
Rep: Reputation: 33
Fedora 18 gave me black screen after I start up the installation process.

Fedora 17 gave me black screen after I start up the installation process.

Fedora 16 continued normally...

I use KDE because I know Gnome does not work properly or at all.

I just want a working Fedora version. Whether it has the latest updates is not so important. Although I might have to change my opinion.

I need to install "javaw".
 
1 members found this post helpful.
Old 07-10-2013, 02:41 AM   #14
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,371
Blog Entries: 6

Rep: Reputation: Disabled
Because The Fedora Project no longer supports fc16 that makes it practically impossible for OP to have what he needs to get the netbook updated and get the commandline utility doing it's job again.

I'm not sure if installing yum is the answer: but;
Here is the tar for 'yum'
http://yum.baseurl.org/


If it is an older computer older hardware can be very hard to find drivers for.

The fact that FC17 and FC18 both gave you a black screen after the installation may be an indication that the graphics card might be on it's way out. (My old laptop kept giving me a black screen at bootup after fresh install's and would lock up)

Quote:
I use KDE because I know Gnome does not work properly or at all.
Gnome (especially Ubuntu and Xubuntu) is heavy for a DE but KDE if I am not mistaken is considerably lighter.

You can try installing yum but I don't know if that's the answer

Here's 32-bit JAVA
http://www.java.com/en/download/help/linux_install.xml

And here's 64-bit JAVA....not sure which you needed as I didn't see your system's architecture-
http://www.java.com/en/download/help...64_install.xml
 
Old 07-10-2013, 09:12 PM   #15
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,817

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
Quote:
Fedora 18 gave me black screen after I start up the installation process.

Fedora 17 gave me black screen after I start up the installation process.
without seeing the xorg log for fedora 17 or 18
this looks like the normal everyday vga / graphics issues that fedora is having

A bug that can be fixed with an edit to the bootline

also without knowing the specs of this "netbook" it is hard to say

However
KDE4 and Gnome3 NEED A LOT of system ram at least 1 gig and a recommended 2 gig RAM as a minimum ( 4 to 8 gig is a good start)

a "netbook" by definition is SMALL and has VERY LOW amount of resources , is considered an "Appliance" like a toaster .
and it is primarily meant for reading web pages and playing "MineSweeper"

it NEEDS to have a "LightWeight" distro installed
one designed for a "netbook"

a current OS like Mint lxde ( using the lxde desktop) might be a good choice
-- this is only a guess
I do not know the amount of RAM
nor what the cpu is , or if it has a built in gpu

Fedora is a Research and Development distro
and one that is VERY VERY fast passed
( if you thing firefox is moving way too fast , that is nothing compared fedora )

Quote:
I use KDE because I know Gnome does not work properly or at all.
gnome3 in fedora 18 and the current fedora 19 works G R E A T
-- i just dislike gnome3 with a passion
but is works and a lot of people like it
-- The ones that do not , really do not like it .

Last edited by John VV; 07-10-2013 at 09:13 PM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
after yum update, can't yum update yet, some error occured novelbean Linux - Newbie 5 04-03-2013 09:13 PM
Yum update | reboot necessary? the_gripmaster Red Hat 7 06-20-2012 08:44 PM
After yum update kernel do I need to reboot? cnmoore Linux - Newbie 2 06-03-2011 01:34 PM
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg3793 Fedora 8 04-13-2011 12:25 PM
Yum on FC6. 'yum update' error. mufy Fedora 8 06-14-2007 03:03 AM


All times are GMT -5. The time now is 10:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration