Bug ID 969961
Summary pam_mount-32bit package got installed in the end of transaction
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.1
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component libzypp
Assignee zypp-maintainers@forge.provo.novell.com
Reporter luizluca@tre-sc.jus.br
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Hello,

I created a series of packages to preconfig a machine. One of these packages ,
tresc-pam_mount, configures pam_mount. So, it requires pam_mount. All its
requires:

awk
openssh
pam-config
pam_mount
ruby
sed
xdm

Whenever I install pam_mount manually, it also installs pam_mount-32bit, which
is necessary as pam-config will fails if /lib/security exists you ask to add a
pam module without a 32bit fellow.

If I ask zypper to install manually my package, it installs all files but
leaves pam_mount-32bit to the end. As my package calls pam-config, it always
fails.

( 1/18) Installing: perl-XML-Writer-0.623-3.2
( 2/18) Installing: fd0ssh-20150304-3.2
( 3/18) Installing: libHX28-32bit-3.18-4.2
( 4/18) Installing: libcryptmount0-2.15-3.2
( 5/18) Installing: libfipscheck1-32bit-1.2.0-7.2
( 6/18) Installing: libsepol1-32bit-2.3-3.5
( 7/18) Installing: ofl-20150304-3.2
( 8/18) Installing: pam_mount-2.15-3.2
( 9/18) Installing: libudev1-32bit-210-86.1
(10/18) Installing: libuuid1-32bit-2.25-12.2
(11/18) Installing: libxml2-2-32bit-2.9.1-13.1
(12/18) Installing: device-mapper-32bit-1.02.97-64.1
(13/18) Installing: libblkid1-32bit-2.25-12.2
(14/18) Installing: libmount1-32bit-2.25-12.2
(15/18) Installing: tresc-pam_mount-1.1-20.1
Additional rpm output:
ERROR: module /lib/security/pam_mount.so is not installed.
ERROR: module /lib/security/pam_mount.so is not installed.
ERROR: module /lib/security/pam_mount.so is not installed.
warning: %post(tresc-pam_mount-1.1-20.1.noarch) scriptlet failed, exit status 1


(16/18) Installing: libcryptsetup4-32bit-1.6.4-3.3
(17/18) Installing: libcryptmount0-32bit-2.15-3.2
(18/18) Installing: pam_mount-32bit-2.15-3.2

If I uninstall pam_mount pam_mount-32bit tresc-pam_mount and asks zypper to
install it again, it uses the correct order.

(1/3) Installing: pam_mount-2.15-3.2
(2/3) Installing: pam_mount-32bit-2.15-3.2
(3/3) Installing: tresc-pam_mount-1.1-20.1

Shouldn't a xxx-32bit package be installed before any package that requires
xxx?
How can I give zypp a hint to "install the pam_mount-32bit" before my package?
I don't want to use Requires because pam_mount-32bit is only required if
pam-32bit is also installed.

I've tried to 'Suggests: pam_mount-32bit' with no luck.


You are receiving this mail because: