Forum Stats

  • 3,770,075 Users
  • 2,253,061 Discussions
  • 7,875,300 Comments

Discussions

how do I change the repository used for packages

GravyKing
GravyKing Member Posts: 237 Bronze Badge

I've switched a server via uln_register from a different distribution and now I can see where 'yum list installed' shows a large number of packages as coming from the previous channel which this server is no longer subscribed to. So how do I get rid of the old repo?

So for example could I do something like:

yum-config-manager --disable repository <previous_repository name>

and then 

yum-config-manager --enable repository <ol7_repository name>

Best Answer

Answers