Atualmente estou usando o Debian Stretch (teste, no momento). Eu preciso instalar o Java 7 32-bit para poder trabalhar com um applet antigo que seja compatível apenas com essa versão específica: No 64-bit, no Java 8 (por favor, não me julgue) .
Atualmente, não há pacote openjdk-7-jre
disponível nos testes, apenas openjdk-7-jre
, que nem está disponível para a arquitetura i386 e também não é suficiente para executar o applet.
Eu me deparei com a ideia de defini-lo da versão estável (Jessie), então adicionei os seguintes arquivos:
/etc/apt/sources.list.d/stable.list
deb http://ftp.caliu.cat/debian/ stable main contrib non-free
deb-src http://ftp.caliu.cat/debian/ stable main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main contrib non-free
# stable-updates, previously known as 'volatile'
deb http://ftp.caliu.cat/debian/ stable-updates main contrib non-free
deb-src http://ftp.caliu.cat/debian/ stable-updates main contrib non-free
/etc/apt/preferences.conf
Package: *
Pin: release a=stable
Pin-Priority: 100
Agora, posso encontrar o pacote openjdk-7-jre:i386
, no entanto, quando tento instalá-lo via apt-get -t stable install openjdk-7-jre:i386
, estou recebendo isto:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
openjdk-7-jre:i386 : Depends: openjdk-7-jre-headless:i386 (= 7u111-2.6.7-1~deb8u1) but it is not going to be installed
Depends: libatk1.0-0:i386 (>= 1.12.4) but it is not going to be installed
Depends: libcairo2:i386 (>= 1.2.4) but it is not going to be installed
Depends: libfontconfig1:i386 (>= 2.11) but it is not going to be installed
Depends: libfreetype6:i386 (>= 2.2.1) but it is not going to be installed
Depends: libgdk-pixbuf2.0-0:i386 (>= 2.22.0) but it is not going to be installed
Depends: libgtk2.0-0:i386 (>= 2.8.0) but it is not going to be installed
Depends: libpango-1.0-0:i386 (>= 1.14.0) but it is not going to be installed
Depends: libpangocairo-1.0-0:i386 (>= 1.14.0) but it is not going to be installed
Depends: libpangoft2-1.0-0:i386 (>= 1.14.0) but it is not going to be installed
Depends: libx11-6:i386 but it is not going to be installed
Depends: libxcomposite1:i386 (>= 1:0.3-1) but it is not going to be installed
Depends: libxext6:i386 but it is not going to be installed
Depends: libxi6:i386 but it is not going to be installed
Depends: libxrender1:i386 but it is not going to be installed
Depends: libxtst6:i386 but it is not going to be installed
Depends: libxrandr2:i386 but it is not going to be installed
Depends: libxinerama1:i386 but it is not going to be installed
Depends: libgl1-mesa-glx:i386 but it is not going to be installed or
libgl1:i386
Depends: libatk-wrapper-java-jni:i386 (>= 0.30.4-0ubuntu2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Não tenho muita experiência com o Apt-pinning, por isso tentei outros valores Pin-Priority com a mesma sorte.
É claro que eu poderia fazer o download da versão de 32 bits do openJDK-7 JRE sozinho e instalá-la, mas eu realmente preferiria usar o gerenciador de pacotes, se possível, alguém poderia me dar uma dica do que estou fazendo de errado?
Obrigado!