skip to Main Content

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


  1. just add/change a line in the conf/repo file

    enabled=0

    it should do its job

    Login or Signup to reply.
  2. Selamat malam,

    The command to remove the repository is:

    yum remove getpagespeed-extras-release
    

    You will have also to delete the manually renamed file, e.g.:

    rm -rf /etc/yum.repos.d/getpagespeed-extras.conf.disabled
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search