LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 06-25-2006, 08:34 AM   #16
ricka343
Member
 
Registered: Jun 2006
Posts: 54

Original Poster
Rep: Reputation: 15

i have tried a lot but its not working
 
Old 06-25-2006, 10:07 AM   #17
Dummy-in-Linux
Member
 
Registered: Jun 2004
Location: Bangkok, Thailand
Distribution: Fedora 25 86_64
Posts: 357

Rep: Reputation: 32
Okay Ricka343,

I made a yum.conf what I tested and works 100% (tested)

[main]
cachedir=/var/cache/yum
keepcache=0
plugins=1
diskspacecheck=0
tolerant=1
assumeyes=0
#gpgcheck=1
errorlevel=2
pkgpolicy=newest
metadata_expire=1800
debuglevel=2
logfile=/var/log/yum.log
recent=7
exactarch=1
obsoletes=1
retries=6
distroverpkg=redhat-release
gpgcheck=1

[greysector-all]
baseurl=http://rpm.greysector.net/yum/all/$basearch/
name=Grey Sector RPMs for all Fedora Core releases - $basearch
#mirrorlist=http://rpm.greysector.net/yum/mirrorlist-all
enabled=1
gpgkey=http://rpm.greysector.net/greysector-pubkey.txt

[greysector]
baseurl=http://rpm.greysector.net/yum/$releasever/$basearch/
name=Grey Sector RPMs for Fedora Core $releasever - $basearch
#mirrorlist=http://rpm.greysector.net/yum/mirrorlist-$releasever
enabled=1
gpgkey=http://rpm.greysector.net/greysector-pubkey.txt
 
Old 06-25-2006, 12:53 PM   #18
ricka343
Member
 
Registered: Jun 2006
Posts: 54

Original Poster
Rep: Reputation: 15
ok can i use it directly removing the old yum
 
Old 06-25-2006, 12:56 PM   #19
ricka343
Member
 
Registered: Jun 2006
Posts: 54

Original Poster
Rep: Reputation: 15
it looks same as before and the errors persists..
 
Old 06-25-2006, 12:57 PM   #20
ricka343
Member
 
Registered: Jun 2006
Posts: 54

Original Poster
Rep: Reputation: 15
it looks same as before and the errors persists..


File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 80, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 177, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 104, in doConfigSetup
self.getReposFromConfig()
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 135, in getReposFromConfig
parser.read(files)
File "/usr/lib/python2.4/site-packages/yum/parser.py", line 225, in read
IncludingConfigParser.read(self,filename)
File "/usr/lib/python2.4/site-packages/yum/parser.py", line 126, in read
ConfigParser.read(self,filename)
File "/usr/lib/python2.4/ConfigParser.py", line 267, in read
self._read(fp, filename)
File "/usr/lib/python2.4/ConfigParser.py", line 462, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: ///etc/yum.repos.d/livna.repo, line: 1
'=1\n'
 
Old 06-25-2006, 12:57 PM   #21
ricka343
Member
 
Registered: Jun 2006
Posts: 54

Original Poster
Rep: Reputation: 15
it looks same as before and the errors persists..


File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 80, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 177, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 104, in doConfigSetup
self.getReposFromConfig()
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 135, in getReposFromConfig
parser.read(files)
File "/usr/lib/python2.4/site-packages/yum/parser.py", line 225, in read
IncludingConfigParser.read(self,filename)
File "/usr/lib/python2.4/site-packages/yum/parser.py", line 126, in read
ConfigParser.read(self,filename)
File "/usr/lib/python2.4/ConfigParser.py", line 267, in read
self._read(fp, filename)
File "/usr/lib/python2.4/ConfigParser.py", line 462, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: ///etc/yum.repos.d/livna.repo, line: 1
'=1\n'




I am completely helpless may be i have to modify yum.repo...
Any suggestions
 
Old 06-25-2006, 02:43 PM   #22
ricka343
Member
 
Registered: Jun 2006
Posts: 54

Original Poster
Rep: Reputation: 15
shall i start from the beggining
 
Old 06-26-2006, 12:08 AM   #23
Dummy-in-Linux
Member
 
Registered: Jun 2004
Location: Bangkok, Thailand
Distribution: Fedora 25 86_64
Posts: 357

Rep: Reputation: 32
I guess you have some problems in the /etc/yum.repos.d/ folder...

Maybe I can send you an email with all known repo's so that you 100% on the same level as me...

Send your email address to nice10150n@netscape.com
 
Old 06-28-2006, 03:58 PM   #24
ricka343
Member
 
Registered: Jun 2006
Posts: 54

Original Poster
Rep: Reputation: 15
sorry the mail is not being delivered can u mail me at ricka343@gmail.com
 
Old 06-30-2006, 03:22 PM   #25
ricka343
Member
 
Registered: Jun 2006
Posts: 54

Original Poster
Rep: Reputation: 15
I chnged the yum.repo folder and then configured yum.conf
but it is still not working the error message is

Traceback (most recent call last):
File "/usr/bin/yum", line 28, in ?
import yummain
File "/usr/share/yum-cli/yummain.py", line 25, in ?
from yum import logginglevels
ImportError: cannot import name logginglevels
 
Old 06-30-2006, 11:52 PM   #26
Dummy-in-Linux
Member
 
Registered: Jun 2004
Location: Bangkok, Thailand
Distribution: Fedora 25 86_64
Posts: 357

Rep: Reputation: 32
And when you run yum you are the root user, or are login as other user?
 
Old 07-01-2006, 01:37 AM   #27
ricka343
Member
 
Registered: Jun 2006
Posts: 54

Original Poster
Rep: Reputation: 15
root only i hav not created other account
 
Old 07-01-2006, 01:38 AM   #28
ricka343
Member
 
Registered: Jun 2006
Posts: 54

Original Poster
Rep: Reputation: 15
shall i install a new yum
 
Old 07-01-2006, 02:02 AM   #29
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I recommend take krussell advice and mine. Install mplayer through source. It is easier to compile programs than going through the RPM mess even if there are useless programs like yum, urpmi, apt-get. I strongly recommend Gentoo. Compiling and installing in Gentoo is all done by simple programs.

For any newbie or even experts, I recommend backing up config files, so it is easier to revert back to the original which Dummy-in-Linux have forgot and as well as others. Always backup config files before editing them.
 
Old 07-01-2006, 11:30 AM   #30
Dummy-in-Linux
Member
 
Registered: Jun 2004
Location: Bangkok, Thailand
Distribution: Fedora 25 86_64
Posts: 357

Rep: Reputation: 32
Sorry Electro,

But the problem which Ricka343 have has not much to do with my config settings, also adding lines not need to a backup, as it is easy to remove lines as simple as it gets.

Your posting tells more about your know-how of the Redhat (RPM) installation and the untils, which is none.

You seriously say to a first time user to compile a program from source without knowing if he or she has even installed the packages for that, which Fedora not installs by default.

The problem Ricka343 has is that there is a problem with the Livna repo see /etc/yum.repos.d/livna.repo in the error listing.
 
  


Reply



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
Installing Mplayer & Mplayer GUI simplydc3 Linux - Software 3 06-22-2006 03:01 AM
Installing Mplayer Grisnak Linux - Software 3 07-29-2004 10:25 AM
please, someone , need help installing mplayer snakeo2 Linux - Newbie 1 04-14-2004 10:57 PM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 10:44 AM
hi, help installing mplayer codename000 Linux - Software 11 03-30-2003 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:32 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
Open Source Consulting | Domain Registration