I have a bunch of disabled repositories because they have not yet released a https://custompackager.example.org/opensuse/16.0/repodata/ since 16.0 is beta. Is there a way I can TEMPORARILY, using zypper, enable ALL repositories (command line switch) to do azypper refinstead of having to manually track which ones I enabled to do a ref, watch it fail, and manually turn them off one by one again.
[edit: or set something in zypp.conf or whatever to override disabled flags for each repo. so change it one conf entry, check all, then change it back in one conf entry for all]
You can enable all at the same time but you need to revert the change for the repos you don’t want explicitely.
Enable all: sudo zypper mr -e -a
Disable specific repos by alias/name/number/URL (correct value can be found via zypper lr -d) sudo zypper mr -d <alias|name|#|URI>
You can modify several repos at the same time, e.g. sudo zypper mr -d 3 7 14