Help Advice on REPOS

Following a fresh install and zypper DUP I am given the following message

Retrieving repository 'openSUSE:Factory' metadata .......................................................................................................[error]
Repository 'openSUSE:Factory' is invalid.
[http-download.opensuse.org-c3bd0ff0|http://download.opensuse.org/repositories/openSUSE:/Factory/ports/] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'openSUSE:Factory' because of the above error.
Some of the repositories have not been refreshed because of an error.
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...


…which is confusing me. May I simply safely disable this repo?

Hi, it looks like http://download.opensuse.org/repositories/openSUSE:/Factory/ports/ no longer exists, so you can safely delete it.
Please check if you added it to your system in the past for any specific reason and if that is the case and you still need something similar maybe there is a replacement somewhere.

EDIT: was it really a fresh install? I wonder where that came from?

I will disable it and see what happens.

I only installed less than a week ago. I did add PACKMAN repo so I am wondering if that may be the cause.

Is this on a ‘normal’ PC or laptop? The ports repos are for ARM, PPC etc.
Did you by any chance use one-click installs?
Please show


zypper lr -d

between CODE tags. The # in the editor.

I did indeed use “one-click” for an application.

| Alias                               | Name                       | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                      | Service
---+-------------------------------------+----------------------------+---------+-----------+---------+----------+--------+------------------------------------------------------------------------------------------+--------
 1 | download.opensuse.org-non-oss       | Main Repository (NON-OSS)  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/                                    |        
 2 | download.opensuse.org-oss           | Main Repository (OSS)      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                                        |        
 3 | download.opensuse.org-tumbleweed    | Main Update Repository     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                          |        
 4 | http-download.opensuse.org-2225bb1d | openSUSE:Factory           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/                    |        
 5 | http-download.opensuse.org-ae0c12bd | home:AndnoVember:AV        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/AndnoVember:/AV/openSUSE_Tumbleweed/     |        
 6 | http-download.opensuse.org-c3bd0ff0 | openSUSE:Factory           | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/repositories/openSUSE:/Factory/ports/                       |        
 7 | libdvdcss                           | libdvdcss                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                                      |        
 8 | openSUSE-20190202-0                 | openSUSE-20190202-0        | No      | ----      | ----    |   99     | rpm-md | hd:///?device=/dev/disk/by-id/usb-Kingston_DataTraveler_112_001CC0C83B35AC7083241327-0:0 |        
 9 | packman-essentials                  | packman-essentials         | Yes     | (r ) Yes  | Yes     |  110     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Essentials            |        
10 | repo-debug                          | openSUSE-Tumbleweed-Debug  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/                                  |        
11 | repo-source                         | openSUSE-Tumbleweed-Source | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/                                 |        
12 | snappy                              | snappy                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed       

Remove all the repos with ‘Factory’ in it. If the repos still exist, they will ( if not today, then some day ) break your system. If you miss a package in TW and you want it, the way to do it is to ask the maintainer to push it to TW. Next it will be reviewed and if quality and maintenance are OK, it will be added,.
Repos with home: in their URL are development / testing repos. The place where packagers break things, so to say. Do not rely on those repos.

#  | Alias                               | Name                       | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                      | Service
---+-------------------------------------+----------------------------+---------+-----------+---------+----------+--------+------------------------------------------------------------------------------------------+--------
 1 | download.opensuse.org-non-oss       | Main Repository (NON-OSS)  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/                                    |        
 2 | download.opensuse.org-oss           | Main Repository (OSS)      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                                        |        
 3 | download.opensuse.org-tumbleweed    | Main Update Repository     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                          |        
 4 | http-download.opensuse.org-2225bb1d | openSUSE:Factory           | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/                    |        
 5 | http-download.opensuse.org-ae0c12bd | home:AndnoVember:AV        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/AndnoVember:/AV/openSUSE_Tumbleweed/     |        
 6 | http-download.opensuse.org-c3bd0ff0 | openSUSE:Factory           | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/repositories/openSUSE:/Factory/ports/                       |        
 7 | libdvdcss                           | libdvdcss                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                                      |        
 8 | openSUSE-20190202-0                 | openSUSE-20190202-0        | No      | ----      | ----    |   99     | rpm-md | hd:///?device=/dev/disk/by-id/usb-Kingston_DataTraveler_112_001CC0C83B35AC7083241327-0:0 |        
 9 | packman-essentials                  | packman-essentials         | Yes     | (r ) Yes  | Yes     |  110     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Essentials            |        
10 | repo-debug                          | openSUSE-Tumbleweed-Debug  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/                                  |        
11 | repo-source                         | openSUSE-Tumbleweed-Source | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/                                 |        
12 | snappy                              | snappy                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed 

Thank you, that’s useful to know. My last system did break because I misunderstood the repos which is why I decided on a fresh install.

I have modified them as above.

I still see
Factory snapshots
Factory ports

Must I remove #4 & #6? Is it not sufficient to disable them?

You may keep them as long as you don’t enable them again by mistake :wink:
But, frankly, I don’t see a valid reason for cluttering your configuration with problematic or no more existent repos…