Mailinglist Archive: opensuse-bugs (4295 mails)

< Previous Next >
[Bug 1040230] New: package librbd1: installation error
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 22 May 2017 19:38:53 +0000
  • Message-id: <>

Bug ID: 1040230
Summary: package librbd1: installation error
Classification: openSUSE
Product: openSUSE Distribution
Version: Leap 42.3
Hardware: PC
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
Assignee: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
Reporter: comes@xxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

After I perform a standard installation that includes also the pattern:
Xen Virtual Machine Host Server
I found this error in /var/log/zypp/history:

# 2017-05-19 12:31:14 librbd1-12.0.2+git.1493341348.9148e53-1.1.x86_64.rpm
installed ok
# Additional rpm output:
# /var/tmp/rpm-tmp.yL4XQg: line 2: mkdir: command not found
# /var/tmp/rpm-tmp.yL4XQg: line 3: ln: command not found
# warning: %post(librbd1-12.0.2+git.1493341348.9148e53-1.1.x86_64) scriptlet
failed, exit status 127

The problem is that librbd1 is installed before coreutils and at that time the
binaries mkdir and ln used in the postinstall scriptlet, are not available yet.

A possible fix is to add this line in ceph.spec:

%package -n librbd1
Summary: RADOS block device client library
Group: System Environment/Libraries
License: LGPL-2.0
Requires: librados2 = %{version}-%{release}
+Requires(post): coreutils
%if 0%{?rhel} || 0%{?fedora}
Obsoletes: ceph-libs < %{version}-%{release}

You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
Follow Ups