Connection failed [IP: 91.189.88.162 80] during install

Asked by Bodo Probst on 2019-06-04

Installing SAMBA on Ubuntu 18.04 (german) fails with following messages:

$> apt-get install samba
...
Err:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 samba-vfs-modules amd64 2:4.7.6+dfsg~ubuntu-0ubuntu2.10
  connection failed [IP: 91.189.88.152 80]
4.942 kB in 16 min 5 s fetched (5.121 B/s).
E: Error fetching from http://archive.ubuntu.com/ubuntu/pool/main/s/samba/libwbclient0_4.7.6+dfsg~ubuntu-0ubuntu2.10_amd64.deb connection failed [IP: 91.189.88.162 80]
E: Error fetching from http://archive.ubuntu.com/ubuntu/pool/main/s/samba/samba-libs_4.7.6+dfsg~ubuntu-0ubuntu2.10_amd64.deb connection failed [IP: 91.189.88.152 80]
E: Error fetching from http://archive.ubuntu.com/ubuntu/pool/main/s/samba/python-samba_4.7.6+dfsg~ubuntu-0ubuntu2.10_amd64.deb connection failed [IP: 91.189.88.162 80]
E: Error fetching from http://archive.ubuntu.com/ubuntu/pool/main/s/samba/samba-common_4.7.6+dfsg~ubuntu-0ubuntu2.10_all.deb connection failed [IP: 91.189.88.152 80]
E: Error fetching from http://archive.ubuntu.com/ubuntu/pool/main/s/samba/samba-common-bin_4.7.6+dfsg~ubuntu-0ubuntu2.10_amd64.deb connection failed [IP: 91.189.88.162 80]
E: Error fetching from http://archive.ubuntu.com/ubuntu/pool/main/s/samba/samba_4.7.6+dfsg~ubuntu-0ubuntu2.10_amd64.deb connection failed [IP: 91.189.88.152 80]
E: Error fetching from http://archive.ubuntu.com/ubuntu/pool/main/s/samba/samba-dsdb-modules_4.7.6+dfsg~ubuntu-0ubuntu2.10_amd64.deb connection failed [IP: 91.189.88.162 80]
E: Error fetching from http://archive.ubuntu.com/ubuntu/pool/main/s/samba/samba-vfs-modules_4.7.6+dfsg~ubuntu-0ubuntu2.10_amd64.deb connection failed [IP: 91.189.88.152 80]
E: Some archives files could not be downloaded; try »apt-get update« or »--fix-missing« ?

Should download and install.

Same happens when smbclient is installed.

Thenks for assistance

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu samba Edit question
Assignee:
No assignee Edit question
Solved by:
Bodo Probst
Solved:
Last query:
Last reply:
Manfred Hampl (m-hampl) said : #1

I suggest that you switch from the central mirror to a local mirror - either the German country server de.archive.ubuntu.com (respectively the related one if you are located in a different country), or some other mirror in your vicinity, see https://launchpad.net/ubuntu/+archivemirrors for possible candidates.

Bodo Probst (bprobst) said : #2

Changed all server urls to http://de.archive.ubuntu.com/ubuntu in /etc/apt/sources.list.

root@thundercloud:~# apt-get install smbclient
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 smbclient : Hängt ab von: samba-libs (= 2:4.7.6+dfsg~ubuntu-0ubuntu2.11) soll aber nicht installiert werden
             Hängt ab von: libsmbclient (>= 2:4.0.3+dfsg1) soll aber nicht installiert werden
             Hängt ab von: libtalloc2 (>= 2.0.4~git20101213) ist aber nicht installierbar
             Hängt ab von: libtevent0 (>= 0.9.9) ist aber nicht installierbar
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.

Manfred Hampl (m-hampl) said : #3

Was ist der Output der Kommandos

uname -a
lsb_release -crid
sudo dpkg --audit
apt-cache policy smbclient samba-libs libsmbclient libtalloc2 libtevent0
apt-get --simulate install smbclient samba-libs libsmbclient libtalloc2 libtevent0

Bodo Probst (bprobst) said : #4

$> uname -a
Linux thundercloud 4.15.0-50-generic #54-Ubuntu SMP Mon May 6 18:46:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

$> lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic

$> dpkg --audit
!!! empty !!!

$> apt-cache policy smbclient samba-libs libsmbclient libtalloc2 libtevent0
smbclient:
  Installiert: (keine)
  Installationskandidat: 2:4.7.6+dfsg~ubuntu-0ubuntu2.11
  Versionstabelle:
     2:4.7.6+dfsg~ubuntu-0ubuntu2.11 500
        500 http://de.archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages
samba-libs:
  Installiert: (keine)
  Installationskandidat: 2:4.7.6+dfsg~ubuntu-0ubuntu2.11
  Versionstabelle:
     2:4.7.6+dfsg~ubuntu-0ubuntu2.11 500
        500 http://de.archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages
libsmbclient:
  Installiert: (keine)
  Installationskandidat: 2:4.7.6+dfsg~ubuntu-0ubuntu2.11
  Versionstabelle:
     2:4.7.6+dfsg~ubuntu-0ubuntu2.11 500
        500 http://de.archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages
libtalloc2:
  Installiert: (keine)
  Installationskandidat: (keine)
  Versionstabelle:
libtevent0:
  Installiert: (keine)
  Installationskandidat: (keine)
  Versionstabelle:

$> apt-get --simulate install smbclient samba-libs libsmbclient libtalloc2 libtevent0
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paket libtalloc2 ist nicht verfügbar, wird aber von einem anderen Paket
referenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöst
wurde oder nur aus einer anderen Quelle verfügbar ist.

Paket libtevent0 ist nicht verfügbar, wird aber von einem anderen Paket
referenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöst
wurde oder nur aus einer anderen Quelle verfügbar ist.

E: Für Paket »libtalloc2« existiert kein Installationskandidat.
E: Für Paket »libtevent0« existiert kein Installationskandidat.

Manfred Hampl (m-hampl) said : #5

Mir scheint, dass in der Konfigurationsdatei des Paket-Management-Systems Einträge fehlen.

Was ist der Output des Kommandos

cat -n /etc/apt/sources.list

Bodo Probst (bprobst) said : #6

 $> cat -n /etc/apt/sources.list
     1 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     2 # newer versions of the distribution.
     3 ### deb http://archive.ubuntu.com/ubuntu bionic main restricted
     4 deb http://de.archive.ubuntu.com/ubuntu bionic main restricted
     5 # deb-src http://archive.ubuntu.com/ubuntu bionic main restricted
     6
     7 ## Major bug fix updates produced after the final release of the
     8 ## distribution.
     9 ### deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted
    10 deb http://de.archive.ubuntu.com/ubuntu bionic-updates main restricted
    11 # deb-src http://archive.ubuntu.com/ubuntu bionic-updates main restricted
    12
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 ### deb http://archive.ubuntu.com/ubuntu bionic universe
    17 deb http://de.archive.ubuntu.com/ubuntu bionic universe
    18 # deb-src http://archive.ubuntu.com/ubuntu bionic universe
    19 ###deb http://archive.ubuntu.com/ubuntu bionic-updates universe
    20 deb http://de.archive.ubuntu.com/ubuntu bionic-updates universe
    21 # deb-src http://archive.ubuntu.com/ubuntu bionic-updates universe
    22
    23 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    24 ## team, and may not be under a free licence. Please satisfy yourself as to
    25 ## your rights to use the software. Also, please note that software in
    26 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    27 ## security team.
    28 ###deb http://archive.ubuntu.com/ubuntu bionic multiverse
    29 deb http://de.archive.ubuntu.com/ubuntu bionic multiverse
    30 # deb-src http://archive.ubuntu.com/ubuntu bionic multiverse
    31 ### deb http://archive.ubuntu.com/ubuntu bionic-updates multiverse
    32 deb http://de.archive.ubuntu.com/ubuntu bionic-updates multiverse
    33 # deb-src http://archive.ubuntu.com/ubuntu bionic-updates multiverse
    34
    35 ## N.B. software from this repository may not have been tested as
    36 ## extensively as that contained in the main release, although it includes
    37 ## newer versions of some applications which may provide useful features.
    38 ## Also, please note that software in backports WILL NOT receive any review
    39 ## or updates from the Ubuntu security team.
    40 ### deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
    41 deb http://de.archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
    42 # deb-src http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
    43
    44 ## Uncomment the following two lines to add software from Canonical's
    45 ## 'partner' repository.
    46 ## This software is not part of Ubuntu, but is offered by Canonical and the
    47 ## respective vendors as a service to Ubuntu users.
    48 # deb http://archive.canonical.com/ubuntu bionic partner
    49 # deb-src http://archive.canonical.com/ubuntu bionic partner
    50
    51 ### deb http://archive.ubuntu.com/ubuntu bionic-security main restricted
    52 deb http://de.archive.ubuntu.com/ubuntu bionic-security main restricted
    53 # deb-src http://archive.ubuntu.com/ubuntu bionic-security main restricted
    54 ### deb http://archive.ubuntu.com/ubuntu bionic-security universe
    55 deb http://de.archive.ubuntu.com/ubuntu bionic-security universe
    56 # deb-src http://archive.ubuntu.com/ubuntu bionic-security universe
    57 ### deb http://archive.ubuntu.com/ubuntu bionic-security multiverse
    58 deb http://de.archive.ubuntu.com/ubuntu bionic-security multiverse
    59 # deb-src http://archive.ubuntu.com/ubuntu bionic-security multiverse

Manfred Hampl (m-hampl) said : #7

Ok, alle notwendigen Zeilen sind vorhanden.
Was ist der volle Output des Kommandos

sudo apt update

Bodo Probst (bprobst) said : #8

Solved: The previous Intrusion Detection System has recently been preplaced by an Intrusion PREVENTION System configuration!!!

This actually prevented connection with ET POLICY GNU/Linux APT User-Agent Outbound likely related to package management message, which obviously dropped connections. After modification of ruleset and exclusion settings the install could be successfully completed.

Many thanks for help

Bo

Nuveena (navaratnenmkk) said : #9

---------- Forwarded message ---------
From: actionparsnip <email address hidden>
Date: Tue, 4 Jun 2019, 19:32
Subject: Re: [Question #681215]: Ubuntu 19.04 boot failure after today's
system update
To: <email address hidden>

Question #681215 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/681215

    Status: Open => Needs information

actionparsnip requested more information:
Bashing-om, editting a text file is over your skill set?

--
You received this question notification because you are an answer
contact for Ubuntu.

Bodo Probst (bprobst) said : #10

@Nuveena
You should never write, when correct spelling is beyond your skillset.