My company used to subscribe to the getpagespeed repo, but now we have decided to use the nginx.org repo with the possibility of switching to nginx plus in the future. Since we don’t need the getpagespeed repo anymore, how can I cleanly remove it from our RHEL system?
I’ve renamed the /etc/yum.repos.d/getpagespeed-extras.conf file to /etc/yum.repos.d/getpagespeed-extras.conf.disabled, but the yum search nginx
command still lists getpagespeed packages.
2
Answers
just add/change a line in the conf/repo file
enabled=0
it should do its job
Selamat malam,
The command to remove the repository is:
You will have also to delete the manually renamed file, e.g.: