One should notice that after adding a repository, packages already installed by default will still be updated from the prior repository. Often it makes sense to switch packages already installed to the new repository - Packman is a good example, since many packages from Packman are also offered (for example) by the ‘oss’-repository.
To switch packages do:
zypper dup -r $alias_or_number_of_repo
(this is the general syntax).
zypper dup = upgrade whith possible vendor changes
-r = only use the following repo for vendor changes
$alias_or_number_of_repo can be determined with ‘zypper lr’. Note that the alias is case sensitive.
For the above example by caf4926 it should look like this: