The following 29 package updates will NOT be installed

I just did a:


sudo zypper up

and got the following


sudo zypper up; zypper lu

[sudo] password for root: 
Retrieving repository 'graphics' metadata ............................................................................................................................[done]
Building repository 'graphics' cache .................................................................................................................................[done]
Retrieving repository 'packman' metadata --------------------------------------------------------------------------------------------------------------------------------/]

New repository or package signing key received:

  Repository:       packman
  Key Name:         PackMan Project (signing key) <packman@links2linux.de>
  Key Fingerprint:  F8875B88 0D518B6B 8C530D13 45A1D067 1ABD1AFB
  Key Created:      Mon 15 Sep 2014 03:18:00 PM PDT
  Key Expires:      Thu 12 Sep 2024 03:17:21 PM PDT
  Rpm Name:         gpg-pubkey-1abd1afb-54176598


Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): a
Retrieving repository 'packman' metadata .............................................................................................................................[done]
Building repository 'packman' cache ..................................................................................................................................[done]
Retrieving repository 'Main Update Repository' metadata ..............................................................................................................[done]
Building repository 'Main Update Repository' cache ...................................................................................................................[done]
Loading repository data...
Reading installed packages...

The following 29 package updates will NOT be installed:
  exiv2 exiv2-lang graphviz graphviz-gd graphviz-gnome graphviz-plugins-core ImageMagick ImageMagick-config-7-SUSE libdjvulibre21 libdmtx0 libgd3 libgraphviz6
  libimagequant0 libjbig2 libjbig2dec0 libjpeg62 libjpeg8 libopenjp2-7 libopenjpeg1 libpodofo0_9_6 libtiff5 libwebp7 libwebpdemux2 libwebpmux3 optipng pngquant podofo
  sane-backends sane-backends-autoconfig

The following 4 packages are going to be upgraded:
  libidn2-0 libidn2-lang libxml2-2 libxml2-tools

4 packages to upgrade.
Overall download size: 718.4 KiB. Already cached: 0 B. After the operation, additional 4.0 KiB will be used.
Continue? [y/n/v/...? shows all options] (y): n
Loading repository data...
Reading installed packages...
S | Repository             | Name          | Current Version    | Available Version  | Arch
--+------------------------+---------------+--------------------+--------------------+-------
v | Main Update Repository | libidn2-0     | 2.2.0-lp152.1.3    | 2.2.0-lp152.2.3.1  | x86_64
v | Main Update Repository | libidn2-lang  | 2.2.0-lp152.1.3    | 2.2.0-lp152.2.3.1  | noarch
v | Main Update Repository | libxml2-2     | 2.9.7-lp152.10.3.1 | 2.9.7-lp152.10.6.1 | x86_64
v | Main Update Repository | libxml2-tools | 2.9.7-lp152.10.3.1 | 2.9.7-lp152.10.6.1 | x86_64

Here’s my:


 zypper lr
Repository priorities in effect:                                                                                                            (See 'zypper lr -P' for details)
      90 (raised priority)  :  1 repository
      99 (default priority) :  5 repositories

#  | Alias                                | Name                               | Enabled | GPG Check | Refresh
---+--------------------------------------+------------------------------------+---------+-----------+--------
 1 | https-download.opensuse.org-f20bcae7 | graphics                           | Yes     | (r ) Yes  | Yes
 2 | openSUSE-Leap-15.2-1                 | openSUSE-Leap-15.2-1               | No      | ----      | ----
 3 | packman                              | packman                            | Yes     | (r ) Yes  | Yes
 4 | repo-debug                           | Debug Repository                   | No      | ----      | ----
 5 | repo-debug-non-oss                   | Debug Repository (Non-OSS)         | No      | ----      | ----
 6 | repo-debug-update                    | Update Repository (Debug)          | No      | ----      | ----
 7 | repo-debug-update-non-oss            | Update Repository (Debug, Non-OSS) | No      | ----      | ----
 8 | repo-non-oss                         | Non-OSS Repository                 | Yes     | (r ) Yes  | Yes
 9 | repo-oss                             | Main Repository                    | Yes     | (r ) Yes  | Yes
10 | repo-source                          | Source Repository                  | No      | ----      | ----
11 | repo-source-non-oss                  | Source Repository (Non-OSS)        | No      | ----      | ----
12 | repo-update                          | Main Update Repository             | Yes     | (r ) Yes  | Yes
13 | repo-update-non-oss                  | Update Repository (Non-Oss)        | Yes     | (r ) Yes  | Yes

How do I track down what’s causing the problem?

Thank you

Those packages likely come from packman and zypper does not automatically perform vendor change.

I just did:


sudo zypper dup --from packman --allow-vendor-change

and got


[sudo] password for root: 
Retrieving repository 'packman' metadata .................................................[done]
Building repository 'packman' cache ......................................................[done]
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

Nothing to do.

Thanks

Please next time you want to show a list of your repositories use

zypper lr -d

As it is now, the list is almost worthless because it only shows the repos sequence number (#), Aliases and Names as they are on your system, which at the most hints to what they are. The real things are the URIs.

Looking at the names of the affected packages, the updated versions are probably in your graphics repo. But, of course, I am guessing since we don’t have enough information (as hcvv has already told you).

Whether this is actually a problem, if for you to decide. Perhaps you want the packman version with unrestricted codecs, rather than the graphics version which is limited by license requirements. And I think you already have the packman version. So maybe this isn’t a problem at all.


zypper lr -d

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

I disabled the graphics repo. It got installed by software.opensuse.org when I installed the current version of hugin. I’ll watch for it next time.


 sudo zypper ref;zypper lu

[sudo] password for root: 
Repository 'packman' is up to date.                                                                                                                                         
Repository 'Non-OSS Repository' is up to date.                                                                                                                              
Repository 'Main Repository' is up to date.                                                                                                                                 
Repository 'Main Update Repository' is up to date.                                                                                                                          
Repository 'Update Repository (Non-Oss)' is up to date.                                                                                                                     
All repositories have been refreshed.
Loading repository data...
Reading installed packages...
S | Repository             | Name          | Current Version    | Available Version  | Arch
--+------------------------+---------------+--------------------+--------------------+-------
v | Main Update Repository | libidn2-0     | 2.2.0-lp152.1.3    | 2.2.0-lp152.2.3.1  | x86_64
v | Main Update Repository | libidn2-lang  | 2.2.0-lp152.1.3    | 2.2.0-lp152.2.3.1  | noarch
v | Main Update Repository | libxml2-2     | 2.9.7-lp152.10.3.1 | 2.9.7-lp152.10.6.1 | x86_64
v | Main Update Repository | libxml2-tools | 2.9.7-lp152.10.3.1 | 2.9.7-lp152.10.6.1 | x86_64

Now it works

Thanks

Not sure why you thought it didn’t work the first time???

If zypper sees newer package in a repo that is not the vendor for that package it informs you that it won’t update since the vendor is set to a repo with lower numbers

Sorry, I don’t know. Most likely some setting (which I don’t know about) that I have set inadvertently. But for me, now it works and more importantly, I know what to watch for, the next time around.

Thank you

Basically it is common to see package not to be updated if you have multiple repos that contain the same packages. It is not an error it is just info that some packages in some repo not your current vendor has a higher number. This may be as simple as a build number since packages get rebuilt all the time which increments the build number but does not really mean any change to the code.

Is there a way in zypper to display the updates along the repos for both what’s going to be upgraded and not be upgraded? Thank you

Possibly:

zypper -vv up -D

I don’t have any packages not to be upgraded, so I can’t fully test this. Remove the “-D” if you want it to actually update instead of just telling you what it will do.

 -vv = extract verbose 
  1. I was missing the -vv
  2. It’s easier with the dry-run

Thanks