zypper does not install the necessary dependencies, LEAP 15.2

hi there,
I have a package with this dependency:

k-node02:/var/log # zypper info --requires fusioninventory-agent-task-deploy
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...

Informationen zu Paket fusioninventory-agent-task-deploy:
Repository         : home:StefanSa:FusionInventory-agent (openSUSE_Leap_15.2)
Name               : fusioninventory-agent-task-deploy
Version            : 2.6-lp152.10.1
Arch               : noarch
Anbieter           : obs://build.opensuse.org/home:StefanSa
Installierte Größe : 98,3 KiB
Installiert        : Ja
Status             : aktuell
Quellpaket         : fusioninventory-agent-2.6-lp152.10.1.src
Zusammenfassung    : Software deployment support for FusionInventory agent
Beschreibung       :
    This package provides software deployment support for FusionInventory-agent
Anforderungen      : [5]
    fusioninventory-agent = 2.6-lp152.10.1

Interestingly, of the perl dependencies, only perl (File :: Copy :: Recursive) is installed, but not the others (they are not installed on the system either).
Why doesn’t zypper install the necessary dependencies?


How do you determine this?

And please, use English locale so that commands output English messages. This is English speaking forum, and I do not know to which possible RPM dependency type Anforderung corresponds.

There is also German forum.

thanks for your quick reply.
this is easy to determine, after the package installation just try to install one of the necessary perl dependencies with “zypper in”,
zypper then offers the installation which means that it was not installed.

Well, we do not know how this package has been installed. You can ignore dependencies during installation.

But i need the perl(JSON:: PP), in the application i see the note (logfile) that this is missing.
Because of that i noticed that the necessary dependencies were not installed, then installed it manually.
The question still arises, why does Zypper not install the necessary dependencies.

[noparse]JSON::PP[/noparse] (without space) is part of base perl package. What “rpm -q perl” says?

As we do not see note (logfile) you are referring to, it is hard to make any comment about it.

LANG=C zypper in fusioninventory-agent-task-deploy
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides perl(Proc::Daemon) needed by perl-FusionInventory-Agent-2.6-lp152.10.1.noarch
 Solution 1: do not install fusioninventory-agent-task-deploy-2.6-lp152.10.1.noarch
 Solution 2: break perl-FusionInventory-Agent-2.6-lp152.10.1.noarch by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c):

Maybe you should build the missing packges?


osc se perl\(Proc::Daemon\)
matches for 'perl-Proc-Daemon' in packages:

# Project                      # Package
devel:languages:perl           perl-Proc-Daemon

osc se perl\(JSON::PP\)
matches for 'perl-JSON-PP' in packages:

devel:languages:perl           perl-JSON-PP

I know how to get the missing packages but I do not think it is the best way to get them from different Repo by enable them to get updates.

Next packed is python, next package is…

I prefer building the missing packages in my repo to offer them with the installation of the package I want to install.

The better way is to get the necessary packages into the distribution… :wink:

Or so…

In much wisdom is much grief …

bor@linux-ydta:~> zypper --no-refresh se -s --provides 'perl(JSON::PP)'
Loading repository data...
Reading installed packages...

S | Name | Type    | Version           | Arch   | Repository
i | perl | package | 5.26.1-lp152.11.1 | x86_64 | Main Repository