FEDORA 10 - yum repo config issue - cannot see extra packages
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.
FEDORA 10 - yum repo config issue - cannot see extra packages
i've been editing my repo files on /etc/yum.repo.d/ couple of days back to install packages from the Fedora DVD... after that i re-edit the files back to original
what i did i simply disabled all fedora and rpmfusion mirrors and justed added a pointer to my DVD... simple work and simple restoration to original...
but i've realise now YUM doesn't seem to read the repos at all now... no updates and extra uninstalled packages available....
how can i fix this configuration or reconstruct or restore back to original config?
Code:
[root@blak ~]# yum repolist all
Loaded plugins: refresh-packagekit
repolist: 0
[root@blak ~]# yum clean all
Loaded plugins: refresh-packagekit
Cleaning up Everything
[root@blak ~]# rpm --rebuilddb
[root@blak ~]# yum update
Loaded plugins: refresh-packagekit
Setting up Update Process
No Packages marked for Update
[root@blak ~]# yum repolist all
Loaded plugins: refresh-packagekit
repolist: 0
i've been editing my repo files on /etc/yum.repo.d/ couple of days back to install packages from the Fedora DVD
Why the install dvd is the old rpm's that do not have the updates .
in the name.repo file change the " enable=0 " to "enable=1"
and HOW did you "point" them to the dvd.
Why the install dvd is the old rpm's that do not have the updates .
in the name.repo file change the " enable=0 " to "enable=1"
and HOW did you "point" them to the dvd.
... because i'm on dialup speed atm... it will take for-ever to install through the net...
i pointed repo to dvd by adding "baseurl=file///path/to/dvd/" on fedora.repo and disabling mirrors which i re-enabled after the installations
[root@blak yum.repo.d]# yum clean all && yum clean metadata && yum clean dbcache && yum makecache && yum update
Loaded plugins: refresh-packagekit
Cleaning up Everything
Loaded plugins: refresh-packagekit
0 metadata files removed
0 sqlite files removed
0 metadata files removed
Loaded plugins: refresh-packagekit
0 sqlite files removed
Loaded plugins: refresh-packagekit
Metadata Cache Created
Loaded plugins: refresh-packagekit
Setting up Update Process
No Packages marked for Update
[root@blak yum.repo.d]# yum repolist all
Loaded plugins: refresh-packagekit
repolist: 0
[root@blak yum.repo.d]#
i'm think my repo files are fine... i think what has broken is somewhere else
now when i had the repositories pointing at the DVD only i think i ran "yum update"
i'm assuming this could've altered something somewhere else, i don't know.... i just hope this is fixable because i don't want to go through another re-installation process - especially when i have done alot of updating on this machine and specifically because i'm on dialup speed
Please post once again output of /etc/yum.repos.d/,but not list,just the output and tell us how did you disabled the repos at first and enabled them later.
Please post once again output of /etc/yum.repos.d/,but not list,just the output and tell us how did you disabled the repos at first and enabled them later.
i don't get what you mean by posting output of /etc/yum.repo.d/
i manually went through each repo file and changed enabled=1 to enabled=0 under the mirrorlist and on the fedora.repo file i added baseurl=file:///path/to/dvd/
i installed the softwares that i needed then changed the repo files back to enabled=1 and ofcourse remove my baseurl=file:///path/to/dvd/ line
i think i ran "yum update" while the fedora.repo was pointing at the dvd, i'm not sure if this had affected yum but yeah...
is there a way of reinstalling yum? without re-installing the whole OS?
that depends on whether you ALSO updated the system from the net BEFORE you ran " yum update" from the dvd ( by the way this will DO NOTHING except overwright any new rpm's with the orig. install rpm's and breaking things )
just reinstall , that is THE fastest and easiest thing to do .
First thing to do is to remove # sign wherever it is in the outputs above,also do this for rpm.fusion repos and put # sign in front of failovermethod=priority and change enable=0 to enable=1 where necessary then run command I've posted before.
Yeah,John VV is right,correct that red line,I was in a hurry,I wasn't careful,my bad.
still the same result...
Quote:
Originally Posted by John VV
that depends on whether you ALSO updated the system from the net BEFORE you ran " yum update" from the dvd ( by the way this will DO NOTHING except overwright any new rpm's with the orig. install rpm's and breaking things )
just reinstall , that is THE fastest and easiest thing to do
so what you are saying - i could've installed an older yum version ontop of the more uptodate one already on my system?
if so - shouldn't yum recognize the fact that from the DVD it's an older version? or a version with older update?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.