I added the Xorg repository for Leap 15.5 and did zypper dup for it.
Now I’d like to roll back to packages from base repo and remove Xorg repo.
How can I do this?
Thanks.
I added the Xorg repository for Leap 15.5 and did zypper dup for it.
Now I’d like to roll back to packages from base repo and remove Xorg repo.
How can I do this?
Thanks.
Remove the repo and do a zypper dup --from <the Alias, Name, or number of your OSS repo>
. After that a zypper up
might be a good thing.
It will replace all packages not from OSS repository (hint, Packman), not just packages from Xorg repository. There is no command to switch all packages installed from one repository to another repository not touching everything else. One could list packages installed from Xorg and then try to install only those packages from standard repositories.
Correct. Not only should the Updates be re-done, also other vendor switches must be repeated.
After removing unwanted repos they remained like this:
test1@localhost:~> zypper lr -d
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
---+-----------------------------+----------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------+--------
1 | nvidia | nvidia | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.nvidia.com/opensuse/leap/15.4 |
2 | openSUSE-Leap-15.4-1 | openSUSE-Leap-15.4-1 | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.4/repo/oss/ |
3 | packman | packman | Yes | (r ) Yes | Yes | 99 | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.4/ |
4 | repo-backports-debug-update | Update repository -> | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/update/leap/15.4/backports_debug/ |
5 | repo-backports-update | Update repository -> | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.4/backports/ |
6 | repo-debug | Debug Repository | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/15.4/repo/oss/ |
7 | repo-debug-non-oss | Debug Repository (-> | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/15.4/repo/non-oss/ |
8 | repo-debug-update | Update Repository -> | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.4/oss/ |
9 | repo-debug-update-non-oss | Update Repository -> | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.4/non-oss/ |
10 | repo-non-oss | Repositorio Non-OSS | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.4/repo/non-oss/ |
11 | repo-oss | Repositorio princi-> | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.4/repo/oss/ |
12 | repo-sle-debug-update | Update repository -> | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.4/sle/ |
13 | repo-sle-update | Update repository -> | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.4/sle/ |
14 | repo-source | Source Repository | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/15.4/repo/oss/ |
15 | repo-update | Repositorio princi-> | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.4/oss |
16 | repo-update-non-oss | Repositorio de act-> | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.4/non-oss/ |
test1@localhost:~>
Then, after reading comments here, in the end I did:
zypper dup
(it downgraded Xorg packages, and installed Nvidia and kernel updates??)
zypper dup --from nvidia --allow-vendor change
zypper dup --from packman --allow-vendor change
zypper up
reboot
After all of this, the Nvidia drivers were seemingly still right installed (packages are still from the Nvidia repo and even the driver’s offload function still works…), and stuff…
Do you think I did well with all of this? Or would you need more info?
Thanks.
Looks rather complete to me.
I’ll note that the tag for this post says “leap-155” but your repos are for 15.4 – which is okay if that’s what you wanted.
I just noticed the same.
Then, when the OP added a 15.5 Xorg repo, as he reported in the first post, that was wong! But he also reported he removed it and now reverted back to the 15.4 OSS repos. I assume all is well now.
CRAP!
I did wrong in the tag! It was 15.4 since the beginning!
How can I fix it in the thread?
And, given this correction, reiterating question, do you think I did well with all of this?
Thanks again.
I’m not sure whether you can. I have now changed it.
Yes, everything seems okay now.
Fixed it.
Edit: two fixers at the same time