Saw article to select faster download mirrors using “mirrorsorcerer”. Ran that and noted repo changes. Update today shows most of my specialized repos are not valid at new urls. See below:
(base) tom@mydesktop:~> sudo zypper patch
[sudo] password for root:
Retrieving repository 'oss-update' metadata ....................................................[error]
Repository 'oss-update' is invalid.
[http-download.opensuse.org-1ca1690e|https://mirrorcache-us-west.opensuse.org/update/leap/$%7Breleasever%7D/oss/] Valid metadata not found at specified URL
History:
- [http-download.opensuse.org-1ca1690e|https://mirrorcache-us-west.opensuse.org/update/leap/$%7Breleasever%7D/oss/] Repository type can't be determined.
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'oss-update' because of the above error.
Retrieving repository 'oss' metadata ...........................................................[error]
Repository 'oss' is invalid.
[http-download.opensuse.org-1f61c7be|https://mirrorcache-us-west.opensuse.org/distribution/leap/$%7Breleasever%7D/repo/oss/] Valid metadata not found at specified URL
History:
- [http-download.opensuse.org-1f61c7be|https://mirrorcache-us-west.opensuse.org/distribution/leap/$%7Breleasever%7D/repo/oss/] Repository type can't be determined.
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'oss' because of the above error.
Retrieving repository 'leap 15.5 -- games' metadata ............................................[error]
Repository 'leap 15.5 -- games' is invalid.
[openSUSE_Leap_${releasever}|https://mirrorcache-us-west.opensuse.org/repositories/games:/tools/$%7Breleasever%7D/] Valid metadata not found at specified URL
History:
- [openSUSE_Leap_${releasever}|https://mirrorcache-us-west.opensuse.org/repositories/games:/tools/$%7Breleasever%7D/] Repository type can't be determined.
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'leap 15.5 -- games' because of the above error.
Retrieving repository 'leap 15.5 -- science' metadata ..........................................[error]
Repository 'leap 15.5 -- science' is invalid.
[openSUSE_Leap_${releasever}_1|https://mirrorcache-us-west.opensuse.org/repositories/science/$%7Breleasever%7D/] Valid metadata not found at specified URL
History:
- [openSUSE_Leap_${releasever}_1|https://mirrorcache-us-west.opensuse.org/repositories/science/$%7Breleasever%7D/] Repository type can't be determined.
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'leap 15.5 -- science' because of the above error.
Retrieving repository 'leap 15.5 -- education' metadata ........................................[error]
Repository 'leap 15.5 -- education' is invalid.
[openSUSE_Leap_${releasever}_2|https://mirrorcache-us-west.opensuse.org/repositories/Education/$%7Breleasever%7D/] Valid metadata not found at specified URL
History:
- [openSUSE_Leap_${releasever}_2|https://mirrorcache-us-west.opensuse.org/repositories/Education/$%7Breleasever%7D/] Repository type can't be determined.
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'leap 15.5 -- education' because of the above error.
Retrieving repository 'leap 15.5 -- geo' metadata ..............................................[error]
Repository 'leap 15.5 -- geo' is invalid.
[openSUSE_Leap_${releasever}_3|https://mirrorcache-us-west.opensuse.org/repositories/Application:/Geo/$%7Breleasever%7D/] Valid metadata not found at specified URL
History:
- [openSUSE_Leap_${releasever}_3|https://mirrorcache-us-west.opensuse.org/repositories/Application:/Geo/$%7Breleasever%7D/] Repository type can't be determined.
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'leap 15.5 -- geo' because of the above error.
Retrieving repository 'leap 15.5 -- electronics' metadata ......................................[error]
Repository 'leap 15.5 -- electronics' is invalid.
[openSUSE_Leap_${releasever}_4|https://mirrorcache-us-west.opensuse.org/repositories/electronics/$%7Breleasever%7D/] Valid metadata not found at specified URL
History:
- [openSUSE_Leap_${releasever}_4|https://mirrorcache-us-west.opensuse.org/repositories/electronics/$%7Breleasever%7D/] Repository type can't be determined.
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'leap 15.5 -- electronics' because of the above error.
Retrieving repository 'leap 15.5 -- graphics' metadata .........................................[error]
Repository 'leap 15.5 -- graphics' is invalid.
[openSUSE_Leap_${releasever}_5|https://mirrorcache-us-west.opensuse.org/repositories/graphics/$%7Breleasever%7D/] Valid metadata not found at specified URL
History:
- [openSUSE_Leap_${releasever}_5|https://mirrorcache-us-west.opensuse.org/repositories/graphics/$%7Breleasever%7D/] Repository type can't be determined.
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'leap 15.5 -- graphics' because of the above error.
Some of the repositories have not been refreshed because of an error.
Loading repository data...
Reading installed packages...
Patch 'openSUSE-SLE-15.5-2024-1075-1' is optional. Use 'zypper in patch:openSUSE-SLE-15.5-2024-1075' to install it, or '--with-optional' to include all optional patches.
Resolving package dependencies...
The following item is locked and will not be changed by any action:
Available:
Mesa-dri-nouveau
The following 20 packages are going to be upgraded:
autofs glibc glibc-32bit glibc-devel glibc-devel-static glibc-extra glibc-info glibc-lang
glibc-locale glibc-locale-base glibc-locale-base-32bit glibc-utils nscd openssh openssh-askpass-gnome
openssh-clients openssh-common openssh-helpers openssh-server shim
The following 4 NEW patches are going to be installed:
openSUSE-SLE-15.5-2024-1366 openSUSE-SLE-15.5-2024-1368 openSUSE-SLE-15.5-2024-1370
openSUSE-SLE-15.5-2024-1375
20 packages to upgrade.
Overall download size: 37.2 MiB. Already cached: 0 B. After the operation, additional 11.2 KiB will be
used.
Backend: classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y):
type or paste code here
Question is: Is this just a temporary thing to wait out? If not, how do I get back to original repos in an automated way or do I do it manually?
mirrorsorcerer created backup files in /etc/zypp/repos.d. I think just removing the current repo file and replacing it with the backup should work. Else, I could just restore that directory from my last “backintime” backup. Either should work fine.
My main question was whether this problem was a temporary issue and should wait for a solution or whether things were broken by mirrorsorcerer and I needed to fix them. Then, I just wanted confirmation that I was not missing something.
Normal file procedures did not work with these repo file names containing {release_ver} variable. Terminal said can’t recognize file name. I did the restore from “backintime” after moving old directory to new name. That worked fine.
Should I put out some cautionary note regarding mirrorsorcerer? If so where?
I have noidea what you mean with “normal file procedures”. Please be more clear.
This is nowhere mentioned by nobody, nor is it somewhere in the listings you posted. We are talking about ${releasever} . Please be exact and precise when talking about computer problems. We do not need extra confusion.
Again, no idea what you are doing or try to communicate. As always, copy/paste the computer action, that will be much more understandable then your story telling.
Normal file procedures like rm did not work. The file name was copy/pasted from directory listing. I was root user. rm had problem with $releasever. See below:
mydesktop:/etc/zypp/repos_mirrorsorcerer.d # rm download.nvidia.com-$releasever.repo
rm: cannot remove 'download.nvidia.com-.repo': No such file or directory
mydesktop:/etc/zypp/repos_mirrorsorcerer.d #
I stand corrected and should have pasted this in and and stated name of $releasever variable correctly.
I couldn’t remove the files mirrorsorcerer got garbled up using terminal so I moved the /etc/zypp/repos.d directory to a new name and restored whole directory from backup.
That file name was pasted from ls -al listing from the directory containing the repo information. That directory was initially /etc/zypp/repos.d and it was moved to /etc/zypp/repos_mirrorsorcerer.d Look at your /etc/zypp/repos.d directory and see what you see for file names.
You could try cdn.opensuse.org instead of hardcoding to a nearest mirror like mirrorsorcerer does. For me it selected the Japanese mirrors as the closest, I’m nowhere near Japan though and there are much closer mirrors nearby which the cdn redirector points to.
This thread is morphing into a zypper thread but I concluded that based upon what i saw that download speed was insignificant in speeding up zypper’s btime to install. Zypper is slow due to the one-at-a-time install rather than multi-processing and download time is insignificant. I have several other linux in vms like arch, debian, and others. All that multitask are much faster than zypper. That is not a big deal to me though as I believe zypper has more elaborate command structure than the others.
All the numbered files are specialized repos like graphics, education, science, etc. This works fine as far as I can tell. I am assuming there is nothing wrong with what I have. I think this got set up with the releasever variable in upgrade from 15.4 to 15.5
When I look at this in yast software manager configuration, releasever is replaced by 15.5 numbers.