Не удалось установить докера из-за umet зависимостей от гостеприимной Ubuntu 16.04

Даже прежде, чем установить докера на машине Ubuntu 16.04, при прохождении через некоторых пред необходимые шаги, я встречаюсь с этой ошибкой, которую я не могу выяснить:

root@11.22.33.44:~# apt-get install \
     apt-transport-https \
     ca-certificates \
     curl \
     software-properties-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version (1.2.32).
ca-certificates is already the newest version (20170717~16.04.2).
curl is already the newest version (7.47.0-1ubuntu2.14).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libperl-dev : Depends: libperl5.22 (= 5.22.1-9ubuntu0.6) but 5.22.1-9ubuntu0.5aka9.0.4 is to be installed
 libperl5.22 : Breaks: libperl5.22:i386 (!= 5.22.1-9ubuntu0.5aka9.0.4) but 5.22.1-9ubuntu0.6 is to be installed
 libperl5.22:i386 : Depends: perl-modules-5.22:i386 (>= 5.22.1-9ubuntu0.6)
                    Breaks: libperl5.22 (!= 5.22.1-9ubuntu0.6) but 5.22.1-9ubuntu0.5aka9.0.4 is to be installed
 perl : Depends: perl-modules-5.22 (>= 5.22.1-9ubuntu0.6) but 5.22.1-9ubuntu0.5aka9.0.4 is to be installed
        Depends: libperl5.22 (= 5.22.1-9ubuntu0.6) but 5.22.1-9ubuntu0.5aka9.0.4 is to be installed
        Recommends: rename but it is not going to be installed
 software-properties-common : Depends: python3-software-properties (= 0.96.20.9) but 0.96.20.8 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@11.22.33.44:~#

Вывод для предложенной команды:

:~# apt policy libperl-dev libperl5.22 perl-modules-5.22 software-properties-common python3-software-properties
libperl-dev:
  Installed: 5.22.1-9ubuntu0.6
  Candidate: 5.22.1-9ubuntu0.6
  Version table:
 *** 5.22.1-9ubuntu0.6 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        100 /var/lib/dpkg/status
     5.22.1-9 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
libperl5.22:
  Installed: 5.22.1-9ubuntu0.5aka9.0.4
  Candidate: 5.22.1-9ubuntu0.6
  Version table:
     5.22.1-9ubuntu0.6 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
 *** 5.22.1-9ubuntu0.5aka9.0.4 100
        100 /var/lib/dpkg/status
     5.22.1-9 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
perl-modules-5.22:
  Installed: 5.22.1-9ubuntu0.5aka9.0.4
  Candidate: 5.22.1-9ubuntu0.6
  Version table:
     5.22.1-9ubuntu0.6 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages
 *** 5.22.1-9ubuntu0.5aka9.0.4 100
        100 /var/lib/dpkg/status
     5.22.1-9 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial/main i386 Packages
software-properties-common:
  Installed: 0.96.20.8
  Candidate: 0.96.20.9
  Version table:
     0.96.20.9 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
 *** 0.96.20.8 100
        100 /var/lib/dpkg/status
     0.96.20 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial/main i386 Packages
python3-software-properties:
  Installed: 0.96.20.8
  Candidate: 0.96.20.9
  Version table:
     0.96.20.9 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
 *** 0.96.20.8 100
        100 /var/lib/dpkg/status
     0.96.20 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial/main i386 Packages

Любая справка ценится Спасибо!

1
задан 22 October 2019 в 23:13

1 ответ

У Вас, кажется, есть некоторые несовместимые версии упомянутых пакетов от любого третьего лица repo или вручную загруженных архивов.

Этот репозиторий (если это было одно) больше не настраивается, таким образом, мы не должны больше отключать его.

Однако мы должны возвращаться/обновлять те несовместимые пакеты назад к поддерживаемым версиям, обеспеченным официальными репозиториями Ubuntu для разрешения конфликтов. Это может обычно делаться путем явного определения версии, которую Вы хотите для каждого пакета в apt аргументы:

sudo apt install libperl5.22=5.22.1-9ubuntu0.6 perl-modules-5.22=5.22.1-9ubuntu0.6 software-properties-common=0.96.20.9 python3-software-properties=0.96.20.9
1
ответ дан 7 December 2019 в 14:57

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

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