как разрешать конфликты зависимости apt для openjdk-7-jre и openjdk-7-jre-headless по 14.04 [закрыто]

Мне нужно установить openjdk-7-jre и openjdk-7-jre-headless на мою машину 16.04. Я нашел и последовал Как установить openjdk 7 на Ubuntu 16.04 или новее? но после того, как я установил загруженные пакеты с dpkg, я получил следующее:

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

как я могу устранить существующие конфликты?

EDIT History: Это была система Я работал в течение долгого времени на основе 12.04, и на следующий день я побежал do-release-upgrade, чтобы получить систему на более новый уровень с доступом ко многим обновленным пакетам. Мой /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
0
задан 7 October 2017 в 22:00

2 ответа

Наконец я смог сузить его и загрузить отсутствующий пакет, fontconfig-config 2.11.94-0ubuntu1.1 (бинарный файл i386), с http://launchpadlibrarian.net/279293730/fontconfig-config_2.11.94-0ubuntu1 .1_all.deb.

1
ответ дан 18 July 2018 в 05:37

Наконец я смог сузить его и загрузить отсутствующий пакет, fontconfig-config 2.11.94-0ubuntu1.1 (бинарный файл i386), с http://launchpadlibrarian.net/279293730/fontconfig-config_2.11.94-0ubuntu1 .1_all.deb.

1
ответ дан 24 July 2018 в 18:23

Другие вопросы по тегам:

Похожие вопросы: