LEAP 15 Packman repository

Sorry if this question was asked already, i am new to openSUSE LEAP 15 and coming from Fedora what is the right way to update LEAP with packman repository enabled. Should i do zypper dup --no-allow-vendor-change or just zypper up. On Fedora i had rpmfusion enabled and had the multimedia codecs from there and all i did was dnf upgrade --refresh to update my system, but i am confused with LEAP.

Just using

zypper up

should be fine.

But what about vendor changes. When i do

zypper up

i get this https://pastebin.com/Uf3PdYcZ but when using

zypper dup --no-allow-vendor-change

i get this https://pastebin.com/C05e9UeG. And to add i have the default repos at 99 and packman at 110, so that is why i am asking about this. What about the codec updates from packman. Will they get updated or not at all.

If you want to switch all installed packages to the Version of Packman try:

zypper dup --from "Repo|No|URL"

But please before you do that post:

zypper lr -d

So wthe question is:
Why not allow vendor change?

You said you have the Packman repo enabled. Thus people here assumed that you also used it by doing the vendor switch (as shown in post #4). After you have done that, you only use

zypper up

as told in post #2.

I don’t want to do vendor change because i don’t want to get everything from the packman repo, i just want the multimedia codecs.

Repository priorities in effect:                                    (See 'zypper lr -P' for details)
      99 (default priority) :  4 repositories
     110 (lowered priority) :  1 repository  

#  | Alias                           | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                            | Service
---+---------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+------------------------------------------------------------------------------------------------+--------
 1 | download.opensuse.org-non-oss   | Main Repository (NON-OSS)               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/non-oss/                              |        
 2 | download.opensuse.org-non-oss_1 | Update Repository (Non-Oss)             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.0/non-oss/                                         |        
 3 | download.opensuse.org-oss       | Main Repository (OSS)                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/oss/                                  |        
 4 | download.opensuse.org-oss_1     | Main Update Repository                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.0/oss                                              |        
 5 | openSUSE-Leap-15.0-1            | openSUSE-Leap-15.0-1                    | No      | ----      | ----    |   99     | rpm-md | hd:///?device=/dev/disk/by-id/usb-Kingston_DataTraveler_2.0_001CC0EC31EDFD11E71A7DA9-0:0-part2 |        
 6 | packman                         | packman                                 | Yes     | (r ) Yes  | Yes     |  110     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.0/                             |        
 7 | repo-debug                      | openSUSE-Leap-15.0-Debug                | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.0/repo/oss/                            |        
 8 | repo-debug-non-oss              | openSUSE-Leap-15.0-Debug-Non-Oss        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.0/repo/non-oss/                        |        
 9 | repo-debug-update               | openSUSE-Leap-15.0-Update-Debug         | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.0/oss/                                       |        
10 | repo-debug-update-non-oss       | openSUSE-Leap-15.0-Update-Debug-Non-Oss | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.0/non-oss/                                   |        
11 | repo-source                     | openSUSE-Leap-15.0-Source               | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.0/repo/oss/                           |        
12 | repo-source-non-oss             | openSUSE-Leap-15.0-Source-Non-Oss       | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.0/repo/non-oss/

Here is the output from zypper lr -d
And yes when installing the codecs i did vendor change from openSUSE to Packman.

Sorry if i confused all of you but my question was with

zypper up

i get the following 23 package updates will NOT be installed, but with

zypper dup --no-allow-venndor-change

i don’t get that. So will Packman codecs get updated with

zypper up

since Packman has a lower priority.

Can you please explain more elaborate what you try to achieve?

The normal case is to add the Packman repo and do the vendor change to get all that is in Packman (and also in OSS) from Packman. What is the reason you do not want that, but only for some?

And after that switch, everybody does the zypper dup, which will not do a vendor change and thus keep your packages from Packman up-to-date (and of course also the others). No change of priority for Packman is needed.

The only case for a packman repo priority I see, is when you install something new. You will get it then from Packman if it is also there. But that does not happen very often. Once you have your Packman packages (mostly multi-media), you are fine.

I don’t want every package to come from Packman if Packman is with higher priority, so that is why i have Packman with priority 110. And when i installed the multimedia codecs i did the vendor change from OpenSUSE to Packman for the multimedia codecs.

When doing

zypper up

i get The following 23 package updates will NOT be installed or that is because they are also available in the openSUSE repo.

So should i change the Packman repo priority to 99 and use

zypper dup

to update the my system and also the multimedia codecs or just

zypper up

The package list that will not be installed by zypper up means:
There are packages in another repo with higher versions as the installed one.
But zypper up per default will not update packages installed from another repo (only update-oss and update-non-oss)

When you do zypper dup --no-allow-vendor-change why should zypper show any package from another repo with higher version? You do not want a vendor change…

So i should just use

zypper dup --no-allow-vendor-change

to keep the multimedia codecs from Packman updated, because

zypper up

will not update them.

Well the multimedia codecs already switched vendor when i installed them from openSUSE to Packman.

No, no, no.

That is not what the above posts (and the multi-media install sticky threads) tell you.

You should only once change vendor, which is in your case:

zypper dup --from 6

After that you keep your system up-to-date with regularly

zypper up

That is all!

And you do not need the priority change, but it does not hurt either.

And You did not answer my question about why you do not want all from Packman there is in Packman. But when you do not have any reason, then forget it and do not answer it, but go for the above that thousands of openSUSE users did for may, many years already.

Thanks for the help everyone. And i don’t want everything from Packman just multimedia, that is why i keep it at lower priority.

That is what you told already. I asked WHY you don’t want everything from Packman.

I don’t yet know much about Packman and openSUSE, new user, maybe as time goes by and i get more familiar with using openSUSE maybe i will change that, but for now i am fine using Packman just for multimedia codecs and the openSUSE repos for installing everything else. Used Fedora since version 25 and i know that RPM Fusion only has the packages that Fedora can’t ship in their release, but Packman has packages that are also in available the openSUSE repos.

I have packman at priority 97.

If you are using “zypper up” as recommended, then I don’t think the priority has much effect. The vendor-stickiness is what controls things.

When doing

zypper up

i get The following 23 package updates will NOT be installed or that is because they are also available in the openSUSE repo.

I’m not seeing that at present. I have seen it in the past.

It usually indicates that there are packages with a “newer” version number (numerically higher), but they won’t be installed because of vendor-stickiness.

I would suggest you recheck whether you have switched all multimedia to packman.

The reason for suggesting this, is that some recent updates added additional packages. And some of those may not have been in packman when they were pulled in. If that happened, you would need to switch those to packman.

And think of this:
If you have priority for Packman at 110 and the OSS-Update Repo 99 and if you install an Multimedia package that is inside both repos it will installed from the OSS-Repo…
If both Repos have the same priority, it will be installed by Version.

So that is why I prefer Packman by priority 20…

I will check that.

I could just use

zypper in --from packman

to install multimedia, or just add Packman with higher priority. But for now i am fine with the priorities.

You must know, that these packages are in both repos…
And what about dependencies? Do you know that also?

I do not think about such problems…