Duplicate packages installed

I am still fairly new, and just realized I have duplicate packages installed, same version, from different repos. I don’t even remember adding the openSUSE:Tumbleweed repo but I guess that’s the issue? I am just wondering what the best way to fix it is. Do I need to go through and remove each installed package individually or is there something that can iterate through the list?


zypper packages --installed-only
....
i+ | Main Repository (OSS)           | yast2-samba-client                         | 4.2.0-1.1                           | noarch
i+ | openSUSE:Tumbleweed             | yast2-samba-client                         | 4.2.0-1.1                           | noarch
i+ | Main Repository (OSS)           | yast2-samba-server                         | 4.1.3-1.2                           | noarch
i+ | openSUSE:Tumbleweed             | yast2-samba-server                         | 4.1.3-1.2                           | noarch
i+ | Main Repository (OSS)           | yast2-scanner                              | 4.1.0-1.1                           | x86_64
i+ | openSUSE:Tumbleweed             | yast2-scanner                              | 4.1.0-1.1                           | x86_64
v  | Main Repository (OSS)           | yast2-scanner                              | 4.1.0-1.1                           | i586  
v  | openSUSE:Tumbleweed             | yast2-scanner                              | 4.1.0-1.1                           | i586  
i+ | Main Repository (OSS)           | yast2-security                             | 4.1.2-1.2                           | noarch
i+ | openSUSE:Tumbleweed             | yast2-security                             | 4.1.2-1.2                           | noarch
i+ | Main Repository (OSS)           | yast2-services-manager                     | 4.1.14-1.1                          | noarch
i+ | openSUSE:Tumbleweed             | yast2-services-manager                     | 4.1.14-1.1                          | noarch
i+ | Main Repository (OSS)           | yast2-slp                                  | 4.1.0-1.2                           | x86_64
i+ | openSUSE:Tumbleweed             | yast2-slp                                  | 4.1.0-1.2                           | x86_64
v  | Main Repository (OSS)           | yast2-slp                                  | 4.1.0-1.2                           | i586  
v  | openSUSE:Tumbleweed             | yast2-slp                                  | 4.1.0-1.2                           | i586  
i+ | Main Repository (OSS)           | yast2-snapper                              | 4.1.2-1.1                           | x86_64
i+ | openSUSE:Tumbleweed             | yast2-snapper                              | 4.1.2-1.1                           | x86_64
v  | Main Repository (OSS)           | yast2-snapper                              | 4.1.2-1.1                           | i586  
v  | openSUSE:Tumbleweed             | yast2-snapper                              | 4.1.2-1.1                           | i586  
i+ | Main Repository (OSS)           | yast2-sound                                | 4.1.1-1.3                           | x86_64
i+ | openSUSE:Tumbleweed             | yast2-sound                                | 4.1.1-1.3                           | x86_64
v  | Main Repository (OSS)           | yast2-sound                                | 4.1.1-1.3                           | i586  
v  | openSUSE:Tumbleweed             | yast2-sound                                | 4.1.1-1.3                           | i586 
....


zypper lr -d
#  | Alias                               | Name                               | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                                 | Service
---+-------------------------------------+------------------------------------+---------+-----------+---------+----------+--------+-----------------------------------------------------------------------------------------------------+--------
 1 | Emulators                           | Emulators (openSUSE_Tumbleweed)    | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/repositories/Emulators/openSUSE_Tumbleweed/                            |        
 2 | PlexRepo                            | PlexRepo                           | No      | ----      | ----    |   99     | NONE   | https://downloads.plex.tv/repo/rpm/x86_64/                                                          |        
 3 | download.opensuse.org-non-oss       | Main Repository (NON-OSS)          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/                                               |        
 4 | download.opensuse.org-oss           | Main Repository (OSS)              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                                                   |        
 5 | download.opensuse.org-tumbleweed    | Main Update Repository             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                                     |        
 6 | http-download.opensuse.org-0bded6df | home:AndnoVember:lumina            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/AndnoVember:/lumina/openSUSE_Factory/               |        
 7 | http-download.opensuse.org-13b88209 | home:malcolmlewis:openSUSE_General | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/malcolmlewis:/openSUSE_General/openSUSE_Tumbleweed/ |        
 8 | http-download.opensuse.org-73ecee6f | home:AndnoVember:LXQT              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/AndnoVember:/LXQT/openSUSE_Tumbleweed/              |        
 9 | http-download.opensuse.org-94044d69 | openSUSE:Factory:Update            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Factory:/Update/standard/                       |        
10 | http-download.opensuse.org-9989fe02 | openSUSE:Tumbleweed                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/                            |        
11 | http-download.opensuse.org-bed4b33f | home:medozas74                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/medozas74/openSUSE_Tumbleweed/                      |        
12 | http-download.opensuse.org-f84be6b9 | home:malcolmlewis:TESTING          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_Tumbleweed/          |        
13 | packman                             | packman                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/                                 |        
14 | repo-debug                          | openSUSE-Tumbleweed-Debug          | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/                                             |        
15 | repo-source                         | openSUSE-Tumbleweed-Source         | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/                                            | 

You have one package, it is just shown as belonging to each repository where this package is available. Remove [noparse]openSUSE:Tumbleweed[/noparse], it is redundant.

Thank you so much!

These are the Repos, they have the same URL:

 4 | download.opensuse.org-oss           | Main Repository (OSS)              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                                                   |    
10 | http-download.opensuse.org-9989fe02 | openSUSE:Tumbleweed                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/                            |  

This http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/ is linking to http://download.opensuse.org/tumbleweed/repo/oss/ , so delete Repo No. 10 and all will be good.