Bug 34260

Summary: i586-пакет не предоставляет 32x битную java
Product: Sisyphus Reporter: Evgeniy Korneechev <ekorneechev>
Component: java-1.8.0-openjdk-headlessAssignee: Andrey Cherepanov <cas>
Status: ASSIGNED --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: cas, lav, viy
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Evgeniy Korneechev 2017-11-30 17:46:53 MSK
# apt-get install i586-java-1.8.0-openjdk-headless
.....
32: i586-java-1.8.0-openjdk-headless    ######################## [100%]
error: execution of %post scriptlet from i586-java-1.8.0-openjdk-headless-1.8.0.144-alt1_1.b01jpp8 failed, exit status 127
E: Произошли ошибки при выполнении транзакции

# java -version
openjdk version "1.8.0_144"
OpenJDK Runtime Environment (build 1.8.0_144-b01)
OpenJDK 64-Bit Server VM (build 25.144-b01, mixed mode)

# rpmquery -p --scripts i586-java-1.8.0-openjdk-headless.32bit_0%3a1.8.0.144-alt3%5f1.b01jpp8_i586_1511850443.rpm 
postinstall scriptlet (through /bin/sh):
# java should be available ASAP
[ -x /usr/sbin/alternatives-update ] && /usr/sbin/alternatives-update ||:

#see https://bugzilla.redhat.com/show_bug.cgi?id=513605
java=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.144-1.b01.i586/jre/bin/java
if [ -f /proc/cpuinfo ] && ! [ -d /.ours ]; then #real workstation; not a mkimage-profile, etc
$java -Xshare:dump >/dev/null 2>/dev/null
fi

# java=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.144-1.b01.i586/jre/bin/java
# $java
-bash: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.144-1.b01.i586/jre/bin/java: Нет такого файла или каталога

# ls /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.144-1.b01.i586/jre/
lib