This is killing me. I can't figure out how to use these utilities. I'm running Fedora Core 1. I've installed (although I think I may have already had them) both yum and apt as well as synaptic. As far as I understand, Synaptic is a gui interface with apt.
Yum, from what I gather, is preferrable to apt.
I went into the /etc/yum.conf, deleted what was there, and added the following:
Then I tried to run the following:Code:[fedora-us-1] name=Fedora Core 1 -- Fedora US mirror baseurl=http://ftp://ftp.ussg.iu.edu/pub/linux/fedora.us//fedora/fedora/1/i386/yum/os [fedora-us-1-updates] name=Fedora Core 1 updates -- Fedora US mirror baseurl=http://ftp://ftp.ussg.iu.edu/pub/linux/fedora.us//fedora/fedora/1/i386/yum/updates [fedora-us-1-stable] name=Fedora Linux (stable) for Fedora Core 1 -- Fedora US mirror baseurl=http://ftp://ftp.ussg.iu.edu/pub/linux/fedora.us//fedora/fedora/1/i386/yum/stable
OK.. so now what? It obviously didn't work. How do I use this utility? I have rpms downloaded and waiting to be installed due to dependency problems. In explicit terms, how do I use the yum utility to solve dependencies and install the rmp properly? Do I not have it configured properly?Code:[John@localhost John]$ su Password: [root@localhost John]# yum install xmms-1.2.8-1.i386.rpm Traceback (most recent call last): File "/usr/bin/yum", line 60, in ? yummain.main(sys.argv[1:]) File "yummain.py", line 123, in main File "yummain.py", line 70, in parseCmdArgs File "config.py", line 48, in __init__ File "/usr/lib/python2.2/ConfigParser.py", line 233, in read self.__read(fp, filename) File "/usr/lib/python2.2/ConfigParser.py", line 472, in __read raise e ConfigParser.ParsingError: File contains parsing errors: /etc/yum.conf [line 2]: ' name=Fedora Core 1 -- Fedora US mirror\n' [line 3]: ' baseurl=http://ftp://ftp.ussg.iu.edu/pub/linux/fedora.us//fedora/fedora/1/i386/yum/os\n' [line 4]: ' [fedora-us-1-updates]\n' [line 5]: ' name=Fedora Core 1 updates -- Fedora US mirror\n' [line 6]: ' baseurl=http://ftp://ftp.ussg.iu.edu/pub/linux/fedora.us//fedora/fedora/1/i386/yum/updates\n' [line 7]: ' [fedora-us-1-stable]\n' [line 8]: ' name=Fedora Linux (stable) for Fedora Core 1 -- Fedora US mirror\n' [line 9]: ' baseurl=http://ftp://ftp.ussg.iu.edu/pub/linux/fedora.us//fedora/fedora/1/i386/yum/stable\n' [root@localhost John]#
I've been to the Duke University yum website and tried to follow what t told me to do, but basically, I haven't found much help on the web. I've tried google.com/linux searches as well as justlinux, LJR PETs as well as other sources. They all assume the reader has more knowledge of Linux and command line than I have.
Thanks to anyone who can help explain this in PLAIN ENGLISH~ ;)
-John


Reply With Quote
Bookmarks