APT-GET сломан с неудовлетворенными зависимостями & amp; Пакеты DPKG имеют преждевременный член

Я пытаюсь установить некоторые пакеты с помощью apt-get, но поскольку существующие пакеты имеют неудовлетворенные зависимости, я не могу ничего установить. Я попробовал очистить, обновить, установить, и ни одна из команд не дает плодных результатов.

Я попытался удалить пакеты из / var / cache / apt / archives, которые вызывают эти проблемы с зависимостями, но они возвращаются, когда я пытаюсь apt-get update, поэтому я полагаю, что я делаю что-то неправильно.

Я использую это через сервер, на котором установлен Ubuntu 14, а не через какой-либо графический интерфейс, поэтому я не могу использовать диспетчеры пакетов для разрешения моего проблема - но я пытался использовать конфигурацию DPKG и другие, но они, похоже, не помогают, поскольку они терпят неудачу из-за преждевременных членов.

Это, вероятно, возникло, когда я начал устанавливать CDC (Debezium) и он полностью разбил мой apt-get, что теперь я не могу установить или удалить что-либо из своей системы.

Из различных поисков на сайте я понимаю, что вам может понадобиться следующее, чтобы помочь, поэтому здесь они -

root@node:/etc/apt# apt-get install mongodb Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: libc-bin : Depends: libc6 (< 2.20) but 2.24-17 is to be installed libc-l10n : Breaks: locales (< 2.21-1) but 2.13+git20120306-12.1 is to be installed libc6 : Breaks: locales (< 2.24) but 2.13+git20120306-12.1 is to be installed libc6-dev : Breaks: binutils (< 2.26) but 2.24-5ubuntu14.2 is to be installed libtirpc1 : Depends: libgssapi-krb5-2 (>= 1.14+dfsg) but 1.12+dfsg-2ubuntu5.3 is to be installed mongodb : Depends: mongodb-server (>= 1:2.4.1-2) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). root@node:/etc/apt#

Выходные данные sources.list ниже -

root@node:/etc/apt# cat /etc/apt/sources.list # # deb cdrom:[Ubuntu-Server 14.04 LTS _Trusty Tahr_ - Release amd64 (20140416.2)]/ trusty main restricted # deb cdrom:[Ubuntu-Server 14.04 LTS _Trusty Tahr_ - Release amd64 (20140416.2)]/ trusty main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://in.archive.ubuntu.com/ubuntu/ trusty main restricted deb-src http://in.archive.ubuntu.com/ubuntu/ trusty main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates main restricted deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-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://in.archive.ubuntu.com/ubuntu/ trusty universe deb-src http://in.archive.ubuntu.com/ubuntu/ trusty universe deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates universe deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-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://in.archive.ubuntu.com/ubuntu/ trusty multiverse deb-src http://in.archive.ubuntu.com/ubuntu/ trusty multiverse deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates multiverse deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-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://in.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu trusty-security main restricted deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted deb http://security.ubuntu.com/ubuntu trusty-security universe deb-src http://security.ubuntu.com/ubuntu trusty-security universe deb http://security.ubuntu.com/ubuntu trusty-security multiverse deb-src http://security.ubuntu.com/ubuntu trusty-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 ## Uncomment the following two lines to add software from Ubuntu's ## 'extras' repository. ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. # deb http://extras.ubuntu.com/ubuntu trusty main # deb-src http://extras.ubuntu.com/ubuntu trusty main deb http://ftp.debian.org/debian testing contrib main # deb-src http://ftp.debian.org/debian testing main contrib # deb-src http://ftp.debian.org/debian testing main contrib # deb-src http://ftp.debian.org/debian testing main contrib # deb-src http://ftp.debian.org/debian testing main contrib # deb-src http://ftp.debian.org/debian testing main contrib # deb-src http://ftp.debian.org/debian testing main contrib

Далее вывод для пакетов PPA в моей системе.

root@node:/etc/apt# cat /etc/apt/sources.list.d/* #VERSION_NUMBER=2.5.1.0-159 deb http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.5.1.0 Ambari main #VERSION_NUMBER=2.5.1.0-159 deb http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.5.1.0 Ambari main deb [arch=amd64] https://download.docker.com/linux/ubuntu trusty edge deb [arch=amd64] https://download.docker.com/linux/ubuntu trusty edge deb http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.6.3.0 HDP maindeb http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.6.2.0 HDP main deb http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ubuntu14 HDP-UTILS maindeb http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ubuntu14 HDP-UTILS main deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main # deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main # deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
0
задан 6 December 2017 в 10:59

0 ответов

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

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