Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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?
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?
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.
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
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 .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.