APT-GET quebrado com dependências não atendidas e pacotes DPKG com membros prematuros

0

Estou tentando instalar alguns pacotes usando o apt-get, mas como os pacotes existentes têm dependências não atendidas, não consigo instalar nada. Eu tentei limpar, atualizar, instalar e nenhum dos comandos estão produzindo resultados frutíferos. Eu tenho acesso ao sudo, mas apesar disso, não consigo resolver isso.

Eu tentei remover pacotes do / var / cache / apt / archives que estão causando esses problemas de dependência, mas eles retornam quando tento o apt-get update, então eu suponho que estou fazendo algo errado.

Estou usando isso através de um servidor onde o Ubuntu 14 está instalado e não através de qualquer GUI, então não consigo usar gerenciadores de pacotes para resolver meu problema - mas eu tentei usar o DPKG configure e outros, mas eles não parecem ajudar ou porque falham devido a membros prematuros.

Isso provavelmente surgiu quando eu comecei a instalar um CDC (Debezium) e ele travou meu apt-get completamente que agora eu não consigo instalar ou remover nada do meu sistema.

De várias pesquisas dentro do site, eu entendo que você pode precisar do seguinte para ajudar, então aqui estão elas -

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#

Saída de sources.list abaixo -

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

A próxima é a saída para os pacotes PPA no meu sistema.

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
    
por Shiva S 04.12.2017 / 11:45

0 respostas