Problem with updating packages from custom repo

We use different custom-repos to store some self-builded rpm’s. So when we install one of this packages from the repo it’ll be signed as “system packages” and connot be updated without force-flags or so.

Plaese take a look of this (for example we install the package uls-client)

[FONT=Courier New]zypper se -s uls-client
Refreshing service ‘spacewalk’.
Loading repository data…
Reading installed packages…

S | Name | Type | Version | Arch | Repository
–±-----------------±--------±--------±-------±---------------------------------------------
| uls-client | package | 3.10-6 | x86_64 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client | package | 3.10-5 | x86_64 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client | package | 3.10-2 | x86_64 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client | package | 3.10-1 | x86_64 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client | package | 3.9-10 | x86_64 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client | package | 3.9-9 | x86_64 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client | package | 3.9-8 | x86_64 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client | package | 3.9-7 | x86_64 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client | package | 3.10-6 | i686 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client | package | 3.10-5 | i686 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client | package | 3.10-2 | i686 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client | package | 3.10-1 | i686 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client | package | 3.9-10 | i686 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client | package | 3.9-9 | i686 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client | package | 3.9-8 | i686 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client | package | 3.9-7 | i686 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client-mysql | package | 4.0-5 | noarch | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client-mysql | package | 4.0-4 | noarch | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client-nsr | package | 1.0-2 | noarch | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client-pgsql | package | 1.1-2 | noarch | luxux-standard-sles11-sp4-x86_64-dp-201711-01
lbswvta004:~ # zypper in uls-client-3.10-5
Refreshing service ‘spacewalk’.
Loading repository data…
Reading installed packages…
Resolving package dependencies…

The following NEW package is going to be installed:
uls-client

The following package is not supported by its vendor:
uls-client

1 new package to install.
Overall download size: 185.0 KiB. After the operation, additional 515.0 KiB will be used.
Continue? [y/n/? shows all options] (y):
Retrieving package uls-client-3.10-5.x86_64 (1/1), 185.0 KiB (515.0 KiB unpacked)
Retrieving: uls-client-3.10-5.x86_64.rpm [done]
Installing: uls-client-3.10-5 [done]
Additional rpm output:
insserv: script nsrps is broken: incomplete LSB comment.
insserv: missing `Provides:’ entry: please add.
lfa4uls: …

Config File: /etc/uls/lfa4uls.d/conntrack.conf
started

Config File: /etc/uls/lfa4uls.d/messages.conf
started
Shutting down mail service (Postfix)…done
Starting mail service (Postfix)…done

lbswvta004:~ # zypper se -s uls-client
Refreshing service ‘spacewalk’.
Loading repository data…
Reading installed packages…

S | Name | Type | Version | Arch | Repository
–±-----------------±--------±--------±-------±---------------------------------------------
[COLOR="#FF0000"]i | uls-client | package | 3.10-5 | x86_64 | (System Packages)[/COLOR]
v | uls-client | package | 3.10-6 | x86_64 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
v | uls-client | package | 3.10-5 | x86_64 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
v | uls-client | package | 3.10-2 | x86_64 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
v | uls-client | package | 3.10-1 | x86_64 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
v | uls-client | package | 3.9-10 | x86_64 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
v | uls-client | package | 3.9-9 | x86_64 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
v | uls-client | package | 3.9-8 | x86_64 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
v | uls-client | package | 3.9-7 | x86_64 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
v | uls-client | package | 3.10-6 | i686 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
v | uls-client | package | 3.10-5 | i686 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
v | uls-client | package | 3.10-2 | i686 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
v | uls-client | package | 3.10-1 | i686 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
v | uls-client | package | 3.9-10 | i686 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
v | uls-client | package | 3.9-9 | i686 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
v | uls-client | package | 3.9-8 | i686 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
v | uls-client | package | 3.9-7 | i686 | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client-mysql | package | 4.0-5 | noarch | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client-mysql | package | 4.0-4 | noarch | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client-nsr | package | 1.0-2 | noarch | luxux-standard-sles11-sp4-x86_64-dp-201711-01
| uls-client-pgsql | package | 1.1-2 | noarch | luxux-standard-sles11-sp4-x86_64-dp-201711-01

[COLOR="#FF0000"]lbswvta004:~ # zypper up uls-client
Refreshing service ‘spacewalk’.
Loading repository data…
Reading installed packages…
There is an update candidate for ‘uls-client’, but it is from different vendor. Use ‘zypper install uls-client-3.10-6.x86_64’ to install this candidate.
Resolving package dependencies…

Nothing to do.
lbswvta004:~ # zypper in uls-client
Refreshing service ‘spacewalk’.
Loading repository data…
Reading installed packages…
‘uls-client’ is already installed.
There is an update candidate for ‘uls-client’, but it is from different vendor. Use ‘zypper install uls-client-3.10-6.x86_64’ to install this candidate.
Resolving package dependencies…
[/COLOR]
Nothing to do.
[/FONT]

Has anyone similar expieriences with this? How to fix them without using the force-flags?

Hi
You need to switch the @system package to the one in the custom repo
via;

zypper dup uls-client --from uxux-standard-sles11-sp4-x86_64-dp-201711-01

Or via YaST to switch system packages. Then it will always update from
there.


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.2|GNOME 3.20.2|4.4.92-18.36-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Malcolm - again thank you for the quick hint.

Too much time I invested for editing some /etc/zypp/vendors.d files .That’s a good solution we can work with. Have a nice day!