[Bug 1192167] Re: setup-2.8.5-1 is not installed to fresh chroot
Elan Ruusamäe
1192167 at bugs.launchpad.net
Tue Jun 18 15:30:08 CEST 2013
here are two problems:
1. setup %post -p /sbin/postshell fails, because switch to glibc change:
http://git.pld-linux.org/?p=packages/setup.git;a=commitdiff;h=a0098a54771a73283ff3da722d9d6518a5d909d4
and that does not seem to work if glibc is not installed
2. rpm db is inconsistent that "setup" package is omitted from rpmdb but packages require it:
# rpm -r /tmp/rd -Va
Unsatisfied dependencies for glibc-2.17-6.x86_64:
Requires: /sbin/postshell
Requires: /sbin/postshell
Unsatisfied dependencies for mksh-44-1.x86_64:
Requires: setup >= 2.4.6-2
--
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/1192167
Title:
setup-2.8.5-1 is not installed to fresh chroot
Status in PLD Linux Distribution:
New
Bug description:
# rm -rf /tmp/rd; install -d /tmp/rd; rpm -r /tmp/rd --initdb; poldek -r /tmp/rd/ -u setup --noask
Processing dependencies...
setup-2.8.5-1.x86_64 marks FHS-2.3-35.x86_64 (cap /etc)
setup-2.8.5-1.x86_64 marks glibc-2.17-6.x86_64 (cap libc.so.6()(64bit))
glibc-2.17-6.x86_64 marks mksh-44-1.x86_64 (cap /bin/sh)
glibc-2.17-6.x86_64 marks filesystem-4.0-22.x86_64 (cap /etc/default)
glibc-2.17-6.x86_64 marks ldconfig-2.17-6.x86_64 (cap /sbin/ldconfig)
glibc-2.17-6.x86_64 marks libselinux-2.1.9-2.x86_64 (cap libselinux.so.1()(64bit))
libselinux-2.1.9-2.x86_64 marks libsepol-2.1.4-1.x86_64 (cap libsepol >= 2.1.4)
There are 8 packages to install (7 marked by dependencies):
I setup-2.8.5-1.x86_64
D FHS-2.3-35.x86_64 filesystem-4.0-22.x86_64 glibc-2.17-6.x86_64 ldconfig-2.17-6.x86_64 libselinux-2.1.9-2.x86_64 libsepol-2.1.4-1.x86_64 mksh-44-1.x86_64
This operation will use 10.9MB of disk space.
Need to get 3.4MB of archives (208.7KB to download).
Retrieving th::setup-2.8.5-1.x86_64.rpm...
.............................. 100.0% [208.7K (208.7K/s)]
Executing rpm --upgrade -vh --root /tmp/rd --define _check_dirname_deps 1...
Preparing... ########################################### [100%]
1:FHS ########################################### [ 13%]
2:ldconfig ########################################### [ 25%]
3:filesystem ########################################### [ 38%]
4:libsepol ########################################### [ 50%]
5:setup ########################################### [ 63%]
error: %post(setup-2.8.5-1.x86_64) scriptlet failed, exit status 255
6:glibc ########################################### [ 75%]
7:libselinux ########################################### [ 88%]
8:mksh ########################################### [100%]
Adding /bin/sh to /etc/shells
Adding /bin/ksh to /etc/shells
Adding /bin/mksh to /etc/shells
# rpm -r /tmp/rd -q setup
package setup is not installed
# poldek -r /tmp/rd/ -u setup
Processing dependencies...
There are 1 package to install:
I setup-2.8.5-1.x86_64
This operation will use 758.4KB of disk space.
Need to get 208.7KB of archives.
Executing etckeeper.sh --upgrade -vh --root /tmp/rd --define _check_dirname_deps 1...
Preparing... ########################################### [100%]
1:setup ########################################### [100%]
# rpm -r /tmp/rd -q setup
setup-2.8.5-1.x86_64
the same problem occours in i686 as well
To manage notifications about this bug go to:
https://bugs.launchpad.net/pld-linux/+bug/1192167/+subscriptions
More information about the pld-bugs
mailing list