When doing a clean install, opennms-doc warns a ln errror message

Description

Hello,

When I was installing opennms in a clean env, I got this error:

Installing: opennms-docs-1.10.6-1 [done]
Additional rpm output:
warning: /var/cache/zypp/packages/tresc-all/noarch/opennms-docs-1.10.6-1.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 5b9efd43

  • making symlink for /opt/opennms/docs... ln: failed to create symbolic link `/opt/opennms/docs': No such file or directory
    done

As opennms-docs-1.10.6-1 depends on no package, it was installed first. However, it seems that some pre script tries to symlink a dir, that still does not exists before the package is installed (or when the opennms is already installed).

This is a trivial fix. The symlink could become a static file inside the package instead of being created at runtime. This way, the parent directory would be created by any opennms packages.

As workarround, just reinstalls the package after any other opennms package is already installed.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Details

Assignee

Reporter

Labels

Original estimate

Time tracking

No time logged20m remaining

Affects versions

Priority

PagerDuty

Created October 23, 2012 at 5:53 PM
Updated September 21, 2021 at 6:22 PM