on-internet
← Community

how to change the baseurl in yum .repo?

Stack Overflow ·

I am new to yum but I did RTFM and grepped all the available information and I still don't understand something basic. I have some foobar.repo file that yum uses that looks like this: [foobar] name=foobar baseurl=http://server/RPMS enabled=1 This works - I can do yum update foobar and it updates. But now I mv the directory RPMS to RPMS1 and I make the corresponding change in the foobar.repo file. Now surprisingly, update does not work anymore, it says that the file http://server/RPMS1/repodata/repomd.xml is not found. That is not the case, the file is there in the new directoryRPMS1 on the sam

Comments

Sign in or sign up to comment and upvote.

No comments yet.