# Cannot remove SUSE repos from system

**URL:** <https://forums.suse.com/t/cannot-remove-suse-repos-from-system/27481>\
**Category:** SLES Configure-Administer\
**Created:** [October 1, 2015, 8:40pm UTC](https://forums.suse.com/t/cannot-remove-suse-repos-from-system/27481 "2015-10-01T20:40:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![o10222](https://avatars.discourse-cdn.com/v4/letter/o/50afbb/32.png) [@o10222](https://forums.suse.com/u/o10222)\
**Post date:** [October 1, 2015, 8:40pm UTC](https://forums.suse.com/t/cannot-remove-suse-repos-from-system/27481/1 "2015-10-01T20:40:39Z")

</div>

Hello SLES experts.  
It appears that SLES 12 now has a service “SUSE\_Linux\_Enterprise\_service” this appears to repopulate the Default REPOS for SLES 12 every time I open yast update.  
We locally have a licensed mirror in my company and I am trying to point zypper to use only the local repos.  
I remove the SUSE ones with zypper rr reponame and I get message back that this service will upon refresh restore these repos.

Any way to prevent this from happening?

Regards,  
Bryan Kelley

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [October 2, 2015, 2:22pm UTC](https://forums.suse.com/t/cannot-remove-suse-repos-from-system/27481/2 "2015-10-02T14:22:03Z")

</div>

Hi Bryan,

[QUOTE=o10222;29817]Hello SLES experts.  
It appears that SLES 12 now has a service “SUSE\_Linux\_Enterprise\_service” this appears to repopulate the Default REPOS for SLES 12 every time I open yast update.  
We locally have a licensed mirror in my company and I am trying to point zypper to use only the local repos.  
I remove the SUSE ones with zypper rr reponame and I get message back that this service will upon refresh restore these repos.

Any way to prevent this from happening?[/QUOTE]

you didn’t say so explicitly, but I assume your “licensed mirror” is not an SMT server? You might want to look into setting that up instead, since it will nicely integrate with the registration scheme.

Regards,  
Jens

PS: I never heard of someone running a “licensed mirror” for SLES… I’d be interested in hearing what type of license that is 🙂

---

<div class="post-metadata">

**Author:** ![bendeichp](https://avatars.discourse-cdn.com/v4/letter/b/a5b964/32.png) [@bendeichp](https://forums.suse.com/u/bendeichp)\
**Post date:** [October 9, 2015, 4:40pm UTC](https://forums.suse.com/t/cannot-remove-suse-repos-from-system/27481/3 "2015-10-09T16:40:59Z")

</div>

Hi,

recently I had to remove the online registration of an SLES 12 at the SCC. Because I setup an SMT and want to use that one;)  
Anyway it was not enough to delete the services with zypper sd X.  
I Also had to

- Remove /etc/SUSEConnect
- Remove files in /etc/zypp/credentials.d
- Remove files in /etc/zypp/services.d

After that I could re-register the sles12 box. Hope that helps,

Cheers,  
Pascal
