Re: best way to add fedora directories to yum?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/5/07, Tom Poe <tompoe@xxxxxxxx> wrote:
Matt Morgan wrote:
> On 1/5/07, Tom Poe <tompoe@xxxxxxxx> wrote:
>> I managed to panic, click and screw up yum directories.  At this point,
>> I think I need to cleanly uninstall, and reinstall yum.  Has anyone done
>> this on FC5?  What are the steps?
>> Tom
>
> Do you mean you screwed up your repositories, or that you accidentally
> deleted files from some directory? What happens when you run
>
> yum update
>
> as root?
>
> Generally you can find very good advice about yum at fedorafaq.org.
>
# yum check-update
Setting up repositories
planetcore                                                           [1/4]
planetcore                100% |=========================|  951 B    00:00
livna                                                                [2/4]
livna                     100% |=========================|  951 B    00:00
planetccrma                                                          [3/4]
planetccrma               100% |=========================|  951 B    00:00
planetextras                                                         [4/4]
planetextras              100% |=========================|  951 B    00:00
Reading repository metadata in from local files

It no longer has fedora repositories.
Tom

OK. I don't think you need to reinstall. If you go to

http://www.fedorafaq.org/#installsoftware

you can use that suggested yum config to get the standard repos back.
It may also add some others you don't want, but you can disable them
by editing their config files in /etc/yum.repos.d.

It probably doesn't have those planet* repos that you use. Are those
set up in your /etc/yum.repos.d directory, with a separate config file
for each one? If not, be cautious when replacing your /etc/yum.conf
file, since you may lose the repos you're used to (it's preferable to
configure repos in yum.repos.d, but it's possible they're included in
your yum.conf, depending on how you set it up).

Whatever you do, the goal is to use the same repos you're used to.
Mixing repos is sometimes a bad idea (sorry if you knew that already,
I'm just trying to be thorough). I'm not familiar with the planet*
repos so I don't know about any known issues in mixing those with
others.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux