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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i just update my computer from fc5 to fc9, using the install DVD.
i have soo many issues now. most important of all is that i cant update anything.
my yum doesnt work any more. for some reason there is no files in /etc/yum.repos.d
so i needed to know how do i compeletly reset yum to defualt, and then add repos such as freshrmp and livna repo.
Here's a copy of the basic repo file. You could probably find these on the Fedora site, but just copying them from here to your /etc/yum.repos.d/ directory should work.
I suspect that you problem is related to the changing of the Fedora PGP keys by Red Hat a few months ago. After the keys were changes, older DVDs would, probably, be unable to do very well connecting to the repositories.
Thank for your reply. it worlk sort of.
i need to install gimp and i get this:
yum --noplugin install gimp
Plugin "fastestmirror" uses deprecated constant TYPE_INTERFACE.
Please use TYPE_INTERACTIVE instead.
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
File "/usr/share/yum-cli/yummain.py", line 241, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 116, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 307, in doCommands
File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 98, in _getTs
File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 104, in _getTsInfo
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 576, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 419, in _getSacks
File "/usr/lib/python2.5/site-packages/yum/repos.py", line 217, in populateSack
File "/usr/lib/python2.5/site-packages/yum/repos.py", line 67, in doSetup
File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 175, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/fastestmirror.py", line 77, in postreposetup_hook
AttributeError: 'YumRepository' object has no attribute 'set'
If you don't, then something went very wrong during your update from FC5.
If that looks correct, look at the Fedora 9 release notes to see how to use the DVD repository, locate the yum.rpm in it and use the rpm command to install it, replacing what you've got on your system now. (You may need to locate and install dependencies by hand as well.) Then do a yum update to get your system current (which will, probably, require a Gb download, so it may take a while), and then go back to finding gimp.
Note that the yum update might be best done first using the repository on the DVD since most FC5 programs -- especially system critical applications -- have been updated since FC5 was last supported. (I think support for FC5 terminated more than three years ago.)
thanks for the reply.
i tried reading online about what PTrenholme sugested but i had no luck.
however after few reboots and playing about when i run
yum --noplugins update
---> Package log4net.i386 0:1.2.10-4.fc9 set to be updated
--> Running transaction check
--> Processing Dependency: libsysfs.so.1 for package: vlc
---> Package mono-nunit.i386 0:1.9.1-2.fc9 set to be updated
---> Package xmlrpc-c.i386 0:1.14.8-1.fc9 set to be updated
--> Processing Dependency: xmms = 1:1.2.10 for package: xmms-faad2
--> Finished Dependency Resolution
xmms-faad2-2.0-15.20050131.lvn5.i386 from installed has depsolving problems
--> Missing Dependency: xmms = 1:1.2.10 is needed by package xmms-faad2-2.0-15.20050131.lvn5.i386 (installed)
vlc-0.8.4a-1.lvn5.i386 from installed has depsolving problems
--> Missing Dependency: libsysfs.so.1 is needed by package vlc-0.8.4a-1.lvn5.i386 (installed)
Error: Missing Dependency: xmms = 1:1.2.10 is needed by package xmms-faad2-2.0-15.20050131.lvn5.i386 (installed)
Error: Missing Dependency: libsysfs.so.1 is needed by package vlc-0.8.4a-1.lvn5.i386 (installed)
( I JUST PASTED SOME OF THE LAST LINES HERE)
here is my try to update yum itsself:
[root@localhost ali]# yum --noplugins update yum
Setting up Update Process
--> Running transaction check
---> Package yum.noarch 0:3.2.19-3.fc9 set to be updated
--> Finished Dependency Resolution
Package Arch Version Repository Size
yum noarch 3.2.19-3.fc9 updates-newkey 833 k
Total size: 34 k
Is this ok [y/N]: y
ERROR with rpm_check_debug vs depsolve:
fedora-release is needed by (installed) yum-fedorafaq-5-2006.05.09.noarch
You could use the --nogpgcheck yum option for now (not a good idea in the long run) so you don't have to have the keys installed.
Or you could look at this article which explains how to get and install the new Fedora keys. Here's the relevant section:
1. Download the updated and signed fedora-release package.
2. Verify that the package sha1sum matches 259165485c16d39904200b069873967e3eb5fa6e:
3. Install the package via rpm:
su -c 'rpm -Uvh fedora-release-9-5.transition.noarch.rpm'
4. Move on to importing the new key.
Import the new key
1. Verify and import the new GPG key to your GPG keyring as per https://fedoraproject.org/keys.
2. Import the key into the RPM database:
su -c 'rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-8-and-9'
3. Use your update tool to get and install any new updates from the new location