I've always had this nagging question on my SLES 11 SP4 servers that have been upgraded over the years from SP2 to SP3 and then to SP4. How do I remote all the old repos that still appear in the repo list after an upgrade? I know they all get disabled after an upgrade. I've tried removing them all using zypper rr, but if I do a zypper ref -s, they all come back:

zypper ref -s
Refreshing service 'nu_novell_com'.
Adding repository 'SLE11-SP4-Debuginfo-Updates' [done]
Adding repository 'SLES11-Extras' [done]
Adding repository 'SLES11-SP2-Updates' [done]
Adding repository 'SLE11-WebYaST-SP2-Pool' [done]
Adding repository 'SLES11-SP1-Pool' [done]
Adding repository 'SLES11-SP3-Updates' [done]
Adding repository 'SLES11-SP2-Extension-Store' [done]
Adding repository 'SLES11-SP3-Pool' [done]
Adding repository 'SLE11-Public-Cloud-Module' [done]
Adding repository 'SLE11-SP3-Debuginfo-Pool' [done]
Adding repository 'SLE11-SP2-WebYaST-1.3-Pool' [done]
Adding repository 'SLES11-SP2-Core' [done]
Adding repository 'SLE11-WebYaST-SP1-Updates' [done]
Adding repository 'SLE11-SP1-Debuginfo-Updates' [done]
Adding repository 'SLE11-WebYaST-SP1-Pool' [done]
Adding repository 'SLES11-SP1-Updates' [done]
Adding repository 'SLES11-SP3-Extension-Store' [done]
Adding repository 'SLE11-SP2-WebYaST-1.3-Updates' [done]
Adding repository 'SLE11-WebYaST-SP2-Updates' [done]
Adding repository 'SLE11-Security-Module' [done]
Adding repository 'SLE11-SP1-Debuginfo-Pool' [done]
Adding repository 'SLE11-SP3-Debuginfo-Updates' [done]
Adding repository 'SLE11-SP4-Debuginfo-Pool' [done]
Adding repository 'SLE11-SP2-Debuginfo-Updates' [done]
Adding repository 'SLE11-SP2-Debuginfo-Core' [done]
All services have been refreshed.
Repository 'SLES11-SP4-Pool' is up to date.
Repository 'SLES11-SP4-Updates' is up to date.
All repositories have been refreshed.


zypper lr
# | Alias | Name | Enabled | Refresh
---+---------------------------------------------+-------------------------------+---------+--------
1 | nu_novell_com:SLE11-Public-Cloud-Module | SLE11-Public-Cloud-Module | No | Yes
2 | nu_novell_com:SLE11-SP1-Debuginfo-Pool | SLE11-SP1-Debuginfo-Pool | No | Yes
3 | nu_novell_com:SLE11-SP1-Debuginfo-Updates | SLE11-SP1-Debuginfo-Updates | No | Yes
4 | nu_novell_com:SLE11-SP2-Debuginfo-Core | SLE11-SP2-Debuginfo-Core | No | Yes
5 | nu_novell_com:SLE11-SP2-Debuginfo-Updates | SLE11-SP2-Debuginfo-Updates | No | Yes
6 | nu_novell_com:SLE11-SP2-WebYaST-1.3-Pool | SLE11-SP2-WebYaST-1.3-Pool | No | Yes
7 | nu_novell_com:SLE11-SP2-WebYaST-1.3-Updates | SLE11-SP2-WebYaST-1.3-Updates | No | Yes
8 | nu_novell_com:SLE11-SP3-Debuginfo-Pool | SLE11-SP3-Debuginfo-Pool | No | Yes
9 | nu_novell_com:SLE11-SP3-Debuginfo-Updates | SLE11-SP3-Debuginfo-Updates | No | Yes
10 | nu_novell_com:SLE11-SP4-Debuginfo-Pool | SLE11-SP4-Debuginfo-Pool | No | Yes
11 | nu_novell_com:SLE11-SP4-Debuginfo-Updates | SLE11-SP4-Debuginfo-Updates | No | Yes
12 | nu_novell_com:SLE11-Security-Module | SLE11-Security-Module | No | Yes
13 | nu_novell_com:SLE11-WebYaST-SP1-Pool | SLE11-WebYaST-SP1-Pool | No | Yes
14 | nu_novell_com:SLE11-WebYaST-SP1-Updates | SLE11-WebYaST-SP1-Updates | No | Yes
15 | nu_novell_com:SLE11-WebYaST-SP2-Pool | SLE11-WebYaST-SP2-Pool | No | Yes
16 | nu_novell_com:SLE11-WebYaST-SP2-Updates | SLE11-WebYaST-SP2-Updates | No | Yes
17 | nu_novell_com:SLES11-Extras | SLES11-Extras | No | Yes
18 | nu_novell_com:SLES11-SP1-Pool | SLES11-SP1-Pool | No | Yes
19 | nu_novell_com:SLES11-SP1-Updates | SLES11-SP1-Updates | No | Yes
20 | nu_novell_com:SLES11-SP2-Core | SLES11-SP2-Core | No | Yes
21 | nu_novell_com:SLES11-SP2-Extension-Store | SLES11-SP2-Extension-Store | No | Yes
22 | nu_novell_com:SLES11-SP2-Updates | SLES11-SP2-Updates | No | Yes
23 | nu_novell_com:SLES11-SP3-Extension-Store | SLES11-SP3-Extension-Store | No | Yes
24 | nu_novell_com:SLES11-SP3-Pool | SLES11-SP3-Pool | No | Yes
25 | nu_novell_com:SLES11-SP3-Updates | SLES11-SP3-Updates | No | Yes
26 | nu_novell_com:SLES11-SP4-Pool | SLES11-SP4-Pool | Yes | Yes
27 | nu_novell_com:SLES11-SP4-Updates | SLES11-SP4-Updates | Yes | Yes

-----------


I know it technically doesn't matter, but I want to clean that up. How do I do that?

Thanks!

Matt