setup-2.8.5-1 is not installed to fresh chroot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PLD Linux |
New
|
Undecided
|
Unassigned |
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.
setup-2.
glibc-
glibc-
glibc-
glibc-
libselinux-
There are 8 packages to install (7 marked by dependencies):
I setup-2.
D FHS-2.3-35.x86_64 filesystem-
This operation will use 10.9MB of disk space.
Need to get 3.4MB of archives (208.7KB to download).
Retrieving th::setup-
.......
Executing rpm --upgrade -vh --root /tmp/rd --define _check_dirname_deps 1...
Preparing... #######
1:FHS #######
2:ldconfig #######
3:filesystem #######
4:libsepol #######
5:setup #######
error: %post(setup-
6:glibc #######
7:libselinux #######
8:mksh #######
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.
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... #######
1:setup #######
# rpm -r /tmp/rd -q setup
setup-2.
the same problem occours in i686 as well
here are two problems:
1. setup %post -p /sbin/postshell fails, because switch to glibc change: git.pld- linux.org/ ?p=packages/ setup.git; a=commitdiff; h=a0098a54771a7 3283ff3da722d9d 6518a5d909d4
http://
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: 17-6.x86_ 64:
# rpm -r /tmp/rd -Va
Unsatisfied dependencies for glibc-2.
Requires: /sbin/postshell
Requires: /sbin/postshell
Unsatisfied dependencies for mksh-44-1.x86_64:
Requires: setup >= 2.4.6-2