Retrieving repository 'openSUSE:Leap:15.1:Update' metadata ..................................................................[error]
Repository 'openSUSE:Leap:15.1:Update' is invalid.
[http-download.opensuse.org-36273e02|http://download.opensuse.org/ports/update/leap/15.1/] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE:Leap:15.1:Update' because of the above error.
Repository 'Cloud:Tools' is up to date.
Retrieving repository 'openSUSE:Leap:15.1:Update' metadata ..................................................................[error]
Repository 'openSUSE:Leap:15.1:Update' is invalid.
[http-download.opensuse.org-a4b71d5e|http://download.opensuse.org/ports/update/leap/15.1/] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE:Leap:15.1:Update' because of the above error.
Repository 'packman' is up to date.
Repository 'Non-OSS Repository' is up to date.
Repository 'Main Repository' is up to date.
Repository 'Main Update Repository' is up to date.
Repository 'Update Repository (Non-Oss)' is up to date.
Repository 'skype (stable)' is up to date.
Some of the repositories have not been refreshed because of an error.
Assuming this is a fairly standard x86-64 PC,
IMO the problem repo is duplicative and unneeded because the “regular” corresponding repo ‘Main Update Repository’ is up to date which suggests it was refreshed successfully recently.
Recommend simply disabling the problem repo with something like
If it helps, I am regularly (every week) doing “sudo zypper refresh” and “sudo zypper update”. All went fine for a very long time now (it’s been years since I’ve switched from Ubuntu to Suse).
And I am not messing with the system in any way (like compile from source various packages, custom kernels etc), since I use it for work. The only thing that is run regularly on the system is zypper.
I removed 1 repo only with ID4. That was the only “factory” that I see in the list. Now I get this:
razvan@linux-k5ue:~> zypper lr -d
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
---+-------------------------------------+-----------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------------+--------
1 | Atom | Atom Editor | Yes | (r ) Yes | No | 99 | rpm-md | https://packagecloud.io/AtomEditor/atom/el/7/x86_64 |
2 | download.nvidia.com-leap | nVidia Graphics Drivers | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.nvidia.com/opensuse/leap/15.1 |
3 | dvd | dvd | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_15.1/ |
4 | http-download.opensuse.org-36273e02 | openSUSE:Leap:15.1:Update | Yes | ( p) Yes | Yes | 99 | NONE | http://download.opensuse.org/ports/update/leap/15.1/ |
5 | http-download.opensuse.org-62414b42 | Cloud:Tools | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/Cloud:/Tools/openSUSE_Leap_15.1/ |
6 | http-download.opensuse.org-a4b71d5e | openSUSE:Leap:15.1:Update | Yes | ( p) Yes | Yes | 99 | NONE | http://download.opensuse.org/ports/update/leap/15.1/ |
7 | packman | packman | Yes | (r ) Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.1/ |
8 | repo-non-oss | Non-OSS Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/non-oss/ |
9 | repo-oss | Main Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/oss/ |
10 | repo-update | Main Update Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.1/oss |
11 | repo-update-non-oss | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.1/non-oss/ |
12 | skype-stable | skype (stable) | Yes | (r ) Yes | Yes | 99 | rpm-md | https://repo.skype.com/rpm/stable/ |
razvan@linux-k5ue:~>
razvan@linux-k5ue:~>
razvan@linux-k5ue:~>
razvan@linux-k5ue:~> sudo zypper dup
Retrieving repository 'openSUSE:Leap:15.1:Update' metadata ...................................................................................................................................................................................................................................[error]
Repository 'openSUSE:Leap:15.1:Update' is invalid.
[http-download.opensuse.org-36273e02|http://download.opensuse.org/ports/update/leap/15.1/] 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:Leap:15.1:Update' because of the above error.
Retrieving repository 'openSUSE:Leap:15.1:Update' metadata ...................................................................................................................................................................................................................................[error]
Repository 'openSUSE:Leap:15.1:Update' is invalid.
[http-download.opensuse.org-a4b71d5e|http://download.opensuse.org/ports/update/leap/15.1/] 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:Leap:15.1:Update' 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...
The following NEW package is going to be installed:
openSUSE-release-ftp
The following 29 packages are going to be downgraded:
ca-certificates-mozilla ffmpeg-3 gstreamer-plugins-bad-lang gstreamer-plugins-ugly-lang libavcodec57 libavcodec58 libavdevice57 libavdevice58 libavfilter6 libavfilter7 libavformat57 libavformat58 libavresample3 libavresample4 libavutil55 libavutil56 libp11-kit0 libp11-kit0-32bit
libpostproc54 libpostproc55 libswresample2 libswresample3 libswscale4 libswscale5 opera p11-kit p11-kit-tools steam unrar
29 packages to downgrade, 1 new.
Overall download size: 81.4 MiB. Already cached: 0 B. After the operation, 675.0 KiB will be freed.
Continue? [y/n/v/...? shows all options] (y):
Refresh still fails as well:
razvan@linux-k5ue:~> sudo zypper refresh
Repository 'Atom Editor' is up to date.
Repository 'nVidia Graphics Drivers' is up to date.
Repository 'dvd' is up to date.
Retrieving repository 'openSUSE:Leap:15.1:Update' metadata ...................................................................................................................................................................................................................................[error]
Repository 'openSUSE:Leap:15.1:Update' is invalid.
[http-download.opensuse.org-36273e02|http://download.opensuse.org/ports/update/leap/15.1/] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE:Leap:15.1:Update' because of the above error.
Repository 'Cloud:Tools' is up to date.
Retrieving repository 'openSUSE:Leap:15.1:Update' metadata ...................................................................................................................................................................................................................................[error]
Repository 'openSUSE:Leap:15.1:Update' is invalid.
[http-download.opensuse.org-a4b71d5e|http://download.opensuse.org/ports/update/leap/15.1/] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE:Leap:15.1:Update' because of the above error.
Repository 'packman' is up to date.
Repository 'Non-OSS Repository' is up to date.
Repository 'Main Repository' is up to date.
Repository 'Main Update Repository' is up to date.
Repository 'Update Repository (Non-Oss)' is up to date.
Repository 'skype (stable)' is up to date.
Some of the repositories have not been refreshed because of an error.
razvan@linux-k5ue:~> sudo zypper refresh
Repository 'Atom Editor' is up to date.
Repository 'nVidia Graphics Drivers' is up to date.
Repository 'dvd' is up to date.
Repository 'Cloud:Tools' is up to date.
Repository 'packman' is up to date.
Repository 'Non-OSS Repository' is up to date.
Repository 'Main Repository' is up to date.
Repository 'Main Update Repository' is up to date.
Repository 'Update Repository (Non-Oss)' is up to date.
Repository 'skype (stable)' is up to date.
All repositories have been refreshed.
razvan@linux-k5ue:~>
razvan@linux-k5ue:~>
razvan@linux-k5ue:~>
razvan@linux-k5ue:~>
razvan@linux-k5ue:~> sudo zypper update
Loading repository data...
Reading installed packages...
The following 5 package updates will NOT be installed:
python2-PySocks python3-cffi python3-cryptography python3-PySocks python-rpm-macros
Nothing to do.
Why would those repos create problems? Some other people reading this thread later might find this useful.
For other people, reading this later, this is the final repo list that works for my system:
Your DVD (looks like the DVD is from somewhere not openSUSE… a trial or magazine?) In any case, the DVD is no longer necessary after you install and the system instead uses an online copy of the DVD (the OSS repo)
The Factory repo, this contains bleeding edge packages often with limited testing. Unless of course you intentionally want to use these packages.
The ports update repo, is unnecessary and duplicates more or less the regular OSS update repo
Therefor,
The following command will remove those repos by enumeration. Beware, if you’ve already removed any repos your enumeration will change and the following command will likely remove the wrong repos. If you merely disabled any repos, enumeration should still be OK
Remove repos
zypper rr 3 4 5
You can merely disable the repos if you think you might want to use the repos again for some reason