Something changed all my SLES repos back to download.opensuse.org
On 13/12/2021 18.02, Larry Len Rainey wrote:
I did an update and all my updates stalled at the same spot:
Retrieving package libstorage-ng-lang-4.3.109-3.8.1.noarch
...
VM1:/etc/zypp/repos.d # ls 1.repo repo-non-oss.repo 2.repo repo-oss.repo X11_MATE_Current.repo repo-sle-debug-update.repo adobe.repo repo-sle-update.repo brave-browser.repo repo-sle-update.repo.rpmsave mozilla.repo repo-update-non-oss.repo packman.repo repo-update.repo repo-backports-debug-update.repo repo-virtual.repo repo-backports-update.repo skype-stable.repo repo-backports-update.repo.rpmsave teamviewer.repo
I noticed that they were going to download.opensuse.org - not to the mirror I modified them to go a few months ago.
All my repos were now .rpmsave and the repos now pointed to download.opensuse.orgso I had to delete the repo and rename the .rpmsave back to get updates to work.
Why are repos being changed on an update?
zypper ran fine when I fixed the problem.
rpm -qf "/etc/zypp/repos.d/repo-sle-update.repo" might tell you what rpm did, unless it was a script. -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)
On 13.12.2021 22:17, Carlos E.R. wrote:
On 13/12/2021 18.02, Larry Len Rainey wrote:
I did an update and all my updates stalled at the same spot:
Retrieving package libstorage-ng-lang-4.3.109-3.8.1.noarch
...
VM1:/etc/zypp/repos.d # ls 1.repo repo-non-oss.repo 2.repo repo-oss.repo X11_MATE_Current.repo repo-sle-debug-update.repo adobe.repo repo-sle-update.repo brave-browser.repo repo-sle-update.repo.rpmsave mozilla.repo repo-update-non-oss.repo packman.repo repo-update.repo repo-backports-debug-update.repo repo-virtual.repo repo-backports-update.repo skype-stable.repo repo-backports-update.repo.rpmsave teamviewer.repo
I noticed that they were going to download.opensuse.org - not to the mirror I modified them to go a few months ago.
All my repos were now .rpmsave and the repos now pointed to download.opensuse.orgso I had to delete the repo and rename the .rpmsave back to get updates to work.
Why are repos being changed on an update?
zypper ran fine when I fixed the problem.
rpm -qf "/etc/zypp/repos.d/repo-sle-update.repo" might tell you what rpm did, unless it was a script.
This file is installed by openSUSE-release. And yes, that was rather bad idea to install repositories this way. Another case was reported on forums - user had installed locally without access to Internet and used autoyast to specify exact repository locations, but after installation there are still those files pointing to download.opensuse.org which was simply not accessible. And what is worse they will be back every time openSUSE-release is updated for whatever reasons.
Andrei Borzenkov composed on 2021-12-14 08:23 (UTC+0300):
This file is installed by openSUSE-release. And yes, that was rather bad idea to install repositories this way. Another case was reported on forums - user had installed locally without access to Internet and used autoyast to specify exact repository locations, but after installation there are still those files pointing to download.opensuse.org which was simply not accessible.
And what is worse they will be back every time openSUSE-release is updated for whatever reasons.
I up or dup only after running a script that updates package management, os-release and selected necessaries, followed by deleting /etc/zypp/repos.d/repo*.repo None of /my/ openSUSE repo filenames start with repo. If and when additional repos that are necessary show up, I'll somehow notice, get them, and give them nice short names like the rest of mine. :) -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
participants (4)
-
Andrei Borzenkov
-
Carlos E.R.
-
Felix Miata
-
Larry Len Rainey