como resolver conflitos de dependências do apt para openjdk-7-jre e openjdk-7-jre-headless em 14.04 [closed]

0

Eu preciso instalar openjdk-7-jre e openjdk-7-jre-headless na minha máquina 16.04 . Eu encontrei e segui Como faço para instalar openjdk 7 no Ubuntu 16.04 ou superior? mas depois que eu instalei os pacotes baixados com dpkg , recebi o seguinte:

Errors were encountered while processing:
 openjdk-7-jre:amd64
 openjdk-7-jre-headless:amd64
 openjdk-7-jdk:amd64
ron@jpax-build07:~/bin/openjdk-7$ sudo apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
 libfontconfig1 : Depends: fontconfig-config (= 2.11.94-0ubuntu1.1) but 2.12.3-0.2 is installed
 libfontconfig1:i386 : Depends: fontconfig-config:i386 (= 2.11.94-0ubuntu1.1)
 openjdk-7-jre : Depends: libfontconfig1 (>= 2.12) but 2.11.94-0ubuntu1.1 is installed
                 Depends: libpng16-16 (>= 1.6.2-1) but it is not installed
                 Depends: libatk-wrapper-java-jni (>= 0.30.4-0ubuntu2) but it is not installed
 openjdk-7-jre-headless : Depends: libfontconfig1 (>= 2.12) but 2.11.94-0ubuntu1.1 is installed
                          Depends: libsctp1 (>= 1.0.10+dfsg) but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

como posso resolver os conflitos existentes?

EDITAR
Histórico: Este era um sistema que eu estava executando há muito tempo com base no 12.04 e executei do-release-upgrade no outro dia, para colocar o sistema em um nível mais novo com acesso a muitos pacotes atualizados. Meu /etc/apt/sources.list :

# deb cdrom:[Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ca.archive.ubuntu.com/ubuntu/ xenial main restricted
deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ca.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ca.archive.ubuntu.com/ubuntu/ xenial universe
deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial universe
deb http://ca.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ca.archive.ubuntu.com/ubuntu/ xenial multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://ca.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ca.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner
    
por cerr 07.10.2017 / 20:34

1 resposta

1

Eu finalmente consegui reduzi-lo e baixar o pacote que faltava, fontconfig-config 2.11.94-0ubuntu1.1 (binário i386), de link .

    
por cerr 11.10.2017 / 21:01