Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 25/11/2021, à 07:13

Antenaina Flavio Steven R

Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

Bonjour je rencontre une grosse erreur en ce moment en essayant d'installer MariaDB , Rabbitmq et postal smtp sur mon server vps par contabo

E: The repository 'http://www.rabbitmq.com/debian testing Release' does not have a Release file.

https://h-educate.com/wp-content/upload … -error.PNG

Votre aide sera tres apprecié , merci d'avance


Modération - Image à remplacer par le texte entre balises code (explications ici)

Dernière modification par cqfd93 (Le 25/11/2021, à 09:19)

Hors ligne

#2 Le 25/11/2021, à 07:31

xubu1957

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

Bonjour,

Je vois une ligne xenial 16.04, dans un système 20.04 focal

Il faut utiliser le Retour utilisable de commande, pour restituer les informations.

Pour info, dans nos usages :

Le 04/10/2018, notre modératrice-administrateur, cqfd93 a écrit :

Modération

Bonjour,

Quand il n'y a pas de problème d'affichage ni d'accès internet, il est indispensable de donner les retours des commandes sous forme de texte entre balises code et surtout pas sous forme d'images.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#3 Le 25/11/2021, à 11:52

nany

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

Bonjour,


Montre les contenus de tes fichiers de sources de dépôts en donnant le retour de :

find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n\t$1\n"; [[ $1 = *".list" ]] && cat -n "$1"' _ '{}' \;

En ligne

#4 Le 25/11/2021, à 13:37

Antenaina Flavio Steven R

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

Bonjour ,

J'ai pas compris , je suis désolé , je dois mette cette commande ci-dessous dans mon SSH ?

Hors ligne

#5 Le 25/11/2021, à 13:38

nany

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

Bah, oui.

Et donner le retour ici même sous forme de texte (préformaté).

Dernière modification par nany (Le 25/11/2021, à 13:39)

En ligne

#6 Le 25/11/2021, à 13:52

Antenaina Flavio Steven R

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

        /etc/apt/sources.list.save


        /etc/apt/sources.list.d/brightbox-ubuntu-ruby-ng-focal.list.save


        /etc/apt/sources.list.d/virtualmin.list

     1  deb http://software.virtualmin.com/vm/6/gpl/apt virtualmin-focal main
     2  deb http://software.virtualmin.com/vm/6/gpl/apt virtualmin-universal main

        /etc/apt/sources.list.d/mariadb.list

     1  # MariaDB Server
     2  # To use a different major version of the server, or to pin to a specific minor version, change URI below.
     3  deb [arch=amd64,arm64] https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal main
     4
     5  deb [arch=amd64,arm64] https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal main/debug
     6
     7  # MariaDB MaxScale
     8  # To use the latest stable release of MaxScale, use "latest" as the version
     9  # To use the latest beta (or stable if no current beta) release of MaxScale, use "beta" as the version
    10  deb [arch=amd64] https://dlm.mariadb.com/repo/maxscale/latest/apt focal main
    11
    12  # MariaDB Tools
    13  deb [arch=amd64] http://downloads.mariadb.com/Tools/ubuntu focal main

        /etc/apt/sources.list.d/virtualmin.list.save


        /etc/apt/sources.list.d/webmin.list

     1  deb http://download.webmin.com/download/repository sarge contrib

        /etc/apt/sources.list.d/docker.list

     1  deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu   focal stable

        /etc/apt/sources.list.d/webmin.list.save


        /etc/apt/sources.list.d/docker.list.save


        /etc/apt/sources.list.d/brightbox-ubuntu-ruby-ng-focal.list

     1  deb http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu focal main
     2  # deb-src http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu focal main

        /etc/apt/sources.list

     1  # deb http://asi-fs-n.contabo.net/ubuntu focal main restricted
     2
     3  # deb http://asi-fs-m.contabo.net/ubuntu focal-updates main restricted
     4  # deb http://security.ubuntu.com/ubuntu focal-security main restricted
     5
     6  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     7  # newer versions of the distribution.
     8  deb http://asi-fs-n.contabo.net/ubuntu focal main restricted
     9  # deb-src http://asi-fs-m.contabo.net/ubuntu focal main restricted
    10
    11  ## Major bug fix updates produced after the final release of the
    12  ## distribution.
    13  deb http://asi-fs-n.contabo.net/ubuntu focal-updates main restricted
    14  # deb-src http://asi-fs-m.contabo.net/ubuntu focal-updates main restricted
    15
    16  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    17  ## team. Also, please note that software in universe WILL NOT receive any
    18  ## review or updates from the Ubuntu security team.
    19  deb http://asi-fs-n.contabo.net/ubuntu focal universe
    20  # deb-src http://asi-fs-m.contabo.net/ubuntu focal universe
    21  deb http://asi-fs-n.contabo.net/ubuntu focal-updates universe
    22  # deb-src http://asi-fs-m.contabo.net/ubuntu focal-updates universe
    23
    24  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    25  ## team, and may not be under a free licence. Please satisfy yourself as to
    26  ## your rights to use the software. Also, please note that software in
    27  ## multiverse WILL NOT receive any review or updates from the Ubuntu
    28  ## security team.
    29  deb http://asi-fs-n.contabo.net/ubuntu focal multiverse
    30  # deb-src http://asi-fs-m.contabo.net/ubuntu focal multiverse
    31  deb http://asi-fs-n.contabo.net/ubuntu focal-updates multiverse
    32  # deb-src http://asi-fs-m.contabo.net/ubuntu focal-updates multiverse
    33
    34  ## N.B. software from this repository may not have been tested as
    35  ## extensively as that contained in the main release, although it includes
    36  ## newer versions of some applications which may provide useful features.
    37  ## Also, please note that software in backports WILL NOT receive any review
    38  ## or updates from the Ubuntu security team.
    39  deb http://asi-fs-n.contabo.net/ubuntu focal-backports main restricted universe multiverse
    40  # deb-src http://asi-fs-m.contabo.net/ubuntu focal-backports main restricted universe multiverse
    41
    42  ## Uncomment the following two lines to add software from Canonical's
    43  ## 'partner' repository.
    44  ## This software is not part of Ubuntu, but is offered by Canonical and the
    45  ## respective vendors as a service to Ubuntu users.
    46  # deb http://archive.canonical.com/ubuntu focal partner
    47  # deb-src http://archive.canonical.com/ubuntu focal partner
    48
    49  deb http://security.ubuntu.com/ubuntu focal-security main restricted
    50  # deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
    51  deb http://security.ubuntu.com/ubuntu focal-security universe
    52  # deb-src http://security.ubuntu.com/ubuntu focal-security universe
    53  deb http://security.ubuntu.com/ubuntu focal-security multiverse
    54  # deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
    55  deb [arch=i386,ppc64el,amd64] http://mirrors.coreix.net/mariadb/repo/10.1/ubuntu xenial main
    56  # deb-src [arch=i386,ppc64el,amd64] http://mirrors.coreix.net/mariadb/repo/10.1/ubuntu xenial main
    57  deb http://www.rabbitmq.com/debian/ testing main
    58  # deb-src http://www.rabbitmq.com/debian/ testing main
    59  deb [arch=amd64] http://mariadb.mirror.globo.tech/repo/10.5/ubuntu focal main
    60  # deb-src [arch=amd64] http://mariadb.mirror.globo.tech/repo/10.5/ubuntu focal main
    61  deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
    62  # deb-src [arch=amd64] https://download.docker.com/linux/ubuntu focal stable

        /etc/apt/sources.liste

Hors ligne

#7 Le 25/11/2021, à 14:27

nany

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

Bien, donne les retours de :

sudo sed -i '55,$d' /etc/apt/sources.list && cat /etc/apt/sources.list
sudo apt install curl gnupg -y
curl -1sLf "https://keys.openpgp.org/vks/v1/by-fingerprint/0A9AF2115F4687BD29803A206B73A36E6026DFCA" | sudo gpg --dearmor | sudo tee /usr/share/keyrings/com.rabbitmq.team.gpg > /dev/null
curl -1sLf https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/gpg.E495BB49CC4BBE5B.key | sudo gpg --dearmor | sudo tee /usr/share/keyrings/io.cloudsmith.rabbitmq.E495BB49CC4BBE5B.gpg > /dev/null
curl -1sLf https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/gpg.9F4587F226208342.key | sudo gpg --dearmor | sudo tee /usr/share/keyrings/io.cloudsmith.rabbitmq.9F4587F226208342.gpg > /dev/null

Colle tout le bloc suivant puis appuie sur [Entrée] et donne le retour.

sudo tee /etc/apt/sources.list.d/rabbitmq.list <<EOF
## Provides modern Erlang/OTP releases
##
## Replace $distribution with the name of the Ubuntu release used.
## On Debian, "deb/ubuntu" should be replaced with "deb/debian"
deb [signed-by=/usr/share/keyrings/io.cloudsmith.rabbitmq.E495BB49CC4BBE5B.gpg] https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu focal main
deb-src [signed-by=/usr/share/keyrings/io.cloudsmith.rabbitmq.E495BB49CC4BBE5B.gpg] https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu focal main

## Provides RabbitMQ
##
## Replace $distribution with the name of the Ubuntu release used.
## On Debian, "deb/ubuntu" should be replaced with "deb/debian"
deb [signed-by=/usr/share/keyrings/io.cloudsmith.rabbitmq.9F4587F226208342.gpg] https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal main
deb-src [signed-by=/usr/share/keyrings/io.cloudsmith.rabbitmq.9F4587F226208342.gpg] https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal main
EOF

Donne aussi les retours de :

echo -e '# MariaDB 10.6 repository list - created  UTC\n# https://mariadb.org/download/\ndeb [arch=amd64,arm64,ppc64el,s390x] http://mirrors.coreix.net/mariadb/repo/10.6/ubuntu focal main\ndeb-src http://mirrors.coreix.net/mariadb/repo/10.6/ubuntu focal main' | sudo tee /etc/apt/sources.list.d/mariadb.list
echo -e 'deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable\n# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu focal stable' | sudo tee /etc/apt/sources.list.d/docker.list
cd /etc/apt && sudo rm -v sources.liste ; cd
sudo apt clean && sudo apt update

Dernière modification par nany (Le 25/11/2021, à 14:37)

En ligne

#8 Le 25/11/2021, à 14:49

nany

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

Antenaina Flavio Steven R a écrit :
http://asi-fs-n.contabo.net/ubuntu

Où es-tu ? En Allemagne ?

En ligne

#9 Le 25/11/2021, à 15:00

Antenaina Flavio Steven R

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

sudo sed -i '55,$d' /etc/apt/sources.list && cat /etc/apt/sources.list

# deb http://asi-fs-n.contabo.net/ubuntu focal main restricted

# deb http://asi-fs-m.contabo.net/ubuntu focal-updates main restricted
# deb http://security.ubuntu.com/ubuntu focal-security main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://asi-fs-n.contabo.net/ubuntu focal main restricted
# deb-src http://asi-fs-m.contabo.net/ubuntu focal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://asi-fs-n.contabo.net/ubuntu focal-updates main restricted
# deb-src http://asi-fs-m.contabo.net/ubuntu focal-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://asi-fs-n.contabo.net/ubuntu focal universe
# deb-src http://asi-fs-m.contabo.net/ubuntu focal universe
deb http://asi-fs-n.contabo.net/ubuntu focal-updates universe
# deb-src http://asi-fs-m.contabo.net/ubuntu focal-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://asi-fs-n.contabo.net/ubuntu focal multiverse
# deb-src http://asi-fs-m.contabo.net/ubuntu focal multiverse
deb http://asi-fs-n.contabo.net/ubuntu focal-updates multiverse
# deb-src http://asi-fs-m.contabo.net/ubuntu focal-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://asi-fs-n.contabo.net/ubuntu focal-backports main restricted universe multiverse
# deb-src http://asi-fs-m.contabo.net/ubuntu focal-backports main restricted universe 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 focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner

deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse

Hors ligne

#10 Le 25/11/2021, à 15:02

Antenaina Flavio Steven R

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

sudo apt install curl gnupg -y

Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version (7.68.0-1ubuntu2.7).
gnupg is already the newest version (2.2.19-3ubuntu2.1).
The following packages were automatically installed and are no longer required:
  galera-3 libreadline5 libsnappy1v5 libterm-readkey-perl mariadb-common socat
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

Hors ligne

#11 Le 25/11/2021, à 15:06

Antenaina Flavio Steven R

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

## Provides modern Erlang/OTP releases
##
## Replace  with the name of the Ubuntu release used.
## On Debian, "deb/ubuntu" should be replaced with "deb/debian"
deb [signed-by=/usr/share/keyrings/io.cloudsmith.rabbitmq.E495BB49CC4BBE5B.gpg] https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu focal main
deb-src [signed-by=/usr/share/keyrings/io.cloudsmith.rabbitmq.E495BB49CC4BBE5B.gpg] https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu focal main

## Provides RabbitMQ
##
## Replace  with the name of the Ubuntu release used.
## On Debian, "deb/ubuntu" should be replaced with "deb/debian"
deb [signed-by=/usr/share/keyrings/io.cloudsmith.rabbitmq.9F4587F226208342.gpg] https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal main
deb-src [signed-by=/usr/share/keyrings/io.cloudsmith.rabbitmq.9F4587F226208342.gpg] https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal main

Hors ligne

#12 Le 25/11/2021, à 15:09

Antenaina Flavio Steven R

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

# MariaDB 10.6 repository list - created  UTC
# https://mariadb.org/download/
deb [arch=amd64,arm64,ppc64el,s390x] http://mirrors.coreix.net/mariadb/repo/10.6/ubuntu focal main
deb-src http://mirrors.coreix.net/mariadb/repo/10.6/ubuntu focal main
root@manager:~# echo -e 'deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable\n# deb-src [arch=amd64] h

Hors ligne

#13 Le 25/11/2021, à 15:12

Antenaina Flavio Steven R

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

echo -e 'deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable\n# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu focal stable' | sudo tee /etc/apt/sources.list.d/docker.list


deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu focal stable

cd /etc/apt && sudo rm -v sources.liste ; cd


removed 'sources.liste'

sudo apt clean && sudo apt update

Hit:1 http://asi-fs-n.contabo.net/ubuntu focal InRelease
Hit:2 http://asi-fs-n.contabo.net/ubuntu focal-updates InRelease
Hit:3 http://asi-fs-n.contabo.net/ubuntu focal-backports InRelease
Hit:4 https://download.docker.com/linux/ubuntu focal InRelease
Get:5 http://mirrors.coreix.net/mariadb/repo/10.6/ubuntu focal InRelease [7,758 B]
Hit:6 http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu focal InRelease
Get:7 https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu focal InRelease [5,177 B]
Get:8 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:9 https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal InRelease [5,141 B]
Get:10 http://mirrors.coreix.net/mariadb/repo/10.6/ubuntu focal/main Sources [1,833 B]
Get:11 http://mirrors.coreix.net/mariadb/repo/10.6/ubuntu focal/main s390x Packages [7,984 B]
Get:12 http://mirrors.coreix.net/mariadb/repo/10.6/ubuntu focal/main amd64 Packages [17.3 kB]
Get:13 http://mirrors.coreix.net/mariadb/repo/10.6/ubuntu focal/main ppc64el Packages [16.6 kB]
Get:14 http://mirrors.coreix.net/mariadb/repo/10.6/ubuntu focal/main arm64 Packages [16.6 kB]
Get:15 https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages [236 kB]
Get:16 https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main i386 Packages [41.3 kB]
Ign:17 http://download.webmin.com/download/repository sarge InRelease
Get:18 https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal/main amd64 Packages [4,673 B]
Get:19 https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal/main i386 Packages [4,673 B]
Hit:20 http://download.webmin.com/download/repository sarge Release
Hit:22 http://software.virtualmin.com/vm/6/gpl/apt virtualmin-focal InRelease
Hit:23 http://software.virtualmin.com/vm/6/gpl/apt virtualmin-universal InRelease
Fetched 479 kB in 4s (122 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.

Hors ligne

#14 Le 25/11/2021, à 15:15

Antenaina Flavio Steven R

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

Non je ne suis pas d'Allemagne , je suis de Madagascar !

Y avait 3 lignes de commande qui ne marchait pas , fin qui ne donnait aucun résultat ( les 3 dernieres commande que vous venait d'envoyer à 16:27)

Hors ligne

#15 Le 25/11/2021, à 15:26

nany

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

Antenaina Flavio Steven R a écrit :

dans mon SSH ?

Antenaina Flavio Steven R a écrit :

Non je ne suis pas d'Allemagne , je suis de Madagascar !

Et ton serveur est à Madagascar ?
C’est pour savoir quel meilleur miroir te donner.


Antenaina Flavio Steven R a écrit :

Y avait 3 lignes de commande qui ne marchait pas , fin qui ne donnait aucun résultat ( les 3 dernieres commande que vous venait d'envoyer à 16:27)

Oui c’est normal, tout est OK du côté des commandes.

En ligne

#16 Le 25/11/2021, à 15:41

Antenaina Flavio Steven R

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

Non mon serveur est en Allemagne

Hors ligne

#17 Le 25/11/2021, à 15:55

nany

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

OK, ça explique le miroir de Contabo.

Donne maintenant les retours de :

sudo sed -i '1,5d' /etc/apt/sources.list && cat /etc/apt/sources.list
sudo sed -i 's/mirrors.coreix.net/mirrors.xtom.de/' /etc/apt/sources.list.d/mariadb.list && cat /etc/apt/sources.list.d/mariadb.list
sudo apt clean && sudo apt update && apt list --upgradable

En ligne

#18 Le 25/11/2021, à 16:20

Antenaina Flavio Steven R

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

sudo sed -i '1,5d' /etc/apt/sources.list && cat /etc/apt/sources.list

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://asi-fs-n.contabo.net/ubuntu focal main restricted
# deb-src http://asi-fs-m.contabo.net/ubuntu focal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://asi-fs-n.contabo.net/ubuntu focal-updates main restricted
# deb-src http://asi-fs-m.contabo.net/ubuntu focal-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://asi-fs-n.contabo.net/ubuntu focal universe
# deb-src http://asi-fs-m.contabo.net/ubuntu focal universe
deb http://asi-fs-n.contabo.net/ubuntu focal-updates universe
# deb-src http://asi-fs-m.contabo.net/ubuntu focal-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://asi-fs-n.contabo.net/ubuntu focal multiverse
# deb-src http://asi-fs-m.contabo.net/ubuntu focal multiverse
deb http://asi-fs-n.contabo.net/ubuntu focal-updates multiverse
# deb-src http://asi-fs-m.contabo.net/ubuntu focal-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://asi-fs-n.contabo.net/ubuntu focal-backports main restricted universe multiverse
# deb-src http://asi-fs-m.contabo.net/ubuntu focal-backports main restricted universe 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 focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner

deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse

sudo sed -i 's/mirrors.coreix.net/mirrors.xtom.de/' /etc/apt/sources.list.d/mariadb.list && cat /etc/apt/sources.list.d/mariadb.list

# MariaDB 10.6 repository list - created  UTC
# https://mariadb.org/download/
deb [arch=amd64,arm64,ppc64el,s390x] http://mirrors.xtom.de/mariadb/repo/10.6/ubuntu focal main
deb-src http://mirrors.xtom.de/mariadb/repo/10.6/ubuntu focal main

sudo apt clean && sudo apt update && apt list --upgradable

Hit:1 http://software.virtualmin.com/vm/6/gpl/apt virtualmin-focal InRelease
Hit:2 http://software.virtualmin.com/vm/6/gpl/apt virtualmin-universal InRelease
Hit:3 http://asi-fs-n.contabo.net/ubuntu focal InRelease
Hit:4 http://asi-fs-n.contabo.net/ubuntu focal-updates InRelease
Hit:5 http://asi-fs-n.contabo.net/ubuntu focal-backports InRelease
Hit:6 http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu focal InRelease
Hit:7 https://download.docker.com/linux/ubuntu focal InRelease
Get:8 http://mirrors.xtom.de/mariadb/repo/10.6/ubuntu focal InRelease [7,761 B]
Ign:9 http://download.webmin.com/download/repository sarge InRelease
Hit:10 http://download.webmin.com/download/repository sarge Release
Get:11 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:12 http://mirrors.xtom.de/mariadb/repo/10.6/ubuntu focal/main Sources [1,854 B]
Get:13 http://mirrors.xtom.de/mariadb/repo/10.6/ubuntu focal/main amd64 Packages [17.4 kB]
Get:14 http://mirrors.xtom.de/mariadb/repo/10.6/ubuntu focal/main arm64 Packages [16.6 kB]
Get:15 http://mirrors.xtom.de/mariadb/repo/10.6/ubuntu focal/main ppc64el Packages [16.6 kB]
Get:16 http://mirrors.xtom.de/mariadb/repo/10.6/ubuntu focal/main s390x Packages [11.6 kB]
Get:17 https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu focal InRelease [5,177 B]
Get:19 https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal InRelease [5,141 B]
Fetched 196 kB in 2s (90.4 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
Listing... Done
mariadb-common/unknown,unknown,unknown,unknown 1:10.6.5+maria~focal all [upgradable from: 1:10.5.13+maria~focal]
mysql-common/unknown,unknown,unknown,unknown 1:10.6.5+maria~focal all [upgradable from: 1:10.5.13+maria~focal]

Hors ligne

#19 Le 25/11/2021, à 16:26

nany

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

Bien, tu peux faire la mise à jour :

sudo apt full-upgrade

 
Tes sources de dépôts sont maintenant correctes, tu peux procéder à l’installation de postal smtp.

En ligne

#20 Le 25/11/2021, à 16:28

Antenaina Flavio Steven R

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

d'accord merci beaucoup pour votre aide , je vais essayé d'installer smtp et je vous ferais si tout est ok

Hors ligne

#21 Le 25/11/2021, à 16:38

Antenaina Flavio Steven R

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

tout se passe bien jusqu'a ce que quand j'installe MariaDB je rencontre cette erreur

Commande : docker run -d \
   --name postal-mariadb \
   -p 127.0.0.1:3306:3306 \
   --restart always \
   -e MARIADB_DATABASE=postal \
   -e MARIADB_ROOT_PASSWORD=postalpassword \
   mariadb

ln: failed to create symbolic link '/usr/bin/postal': File exists
root@manager:~# docker run -d \
>    --name postal-mariadb \
>    -p 127.0.0.1:3306:3306 \
>    --restart always \
>    -e MARIADB_DATABASE=postal \
>    -e MARIADB_ROOT_PASSWORD=postalpassword \
>    mariadb
docker: Error response from daemon: Conflict. The container name "/postal-mariad                                                             b" is already in use by container "071bc5ac1f7f5c18856c53554b1e799f57135612de793                                                             df11c0ce5bb24f701bc". You have to remove (or rename) that container to be able t                                                             o reuse that name.
See 'docker run --help'.

Hors ligne

#22 Le 25/11/2021, à 16:49

nany

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

Le container existe déjà. Peut-être l’avais-tu déjà créé lors de ta précédente tentative ?

Donne le retour de :

docker run --help

En ligne

#23 Le 25/11/2021, à 16:51

Antenaina Flavio Steven R

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

oui je peux dire que j'ai deja essayé beacoup de fois

Usage:  docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Run a command in a new container

Options:
      --add-host list                  Add a custom host-to-IP mapping (host:ip)
  -a, --attach list                    Attach to STDIN, STDOUT or STDERR
      --blkio-weight uint16            Block IO (relative weight), between 10 and 1000, or 0 to disable (default 0)
      --blkio-weight-device list       Block IO weight (relative device weight) (default [])
      --cap-add list                   Add Linux capabilities
      --cap-drop list                  Drop Linux capabilities
      --cgroup-parent string           Optional parent cgroup for the container
      --cgroupns string                Cgroup namespace to use (host|private)
                                       'host':    Run the container in the Docker host's cgroup namespace
                                       'private': Run the container in its own private cgroup namespace
                                       '':        Use the cgroup namespace as configured by the
                                                  default-cgroupns-mode option on the daemon (default)
      --cidfile string                 Write the container ID to the file
      --cpu-period int                 Limit CPU CFS (Completely Fair Scheduler) period
      --cpu-quota int                  Limit CPU CFS (Completely Fair Scheduler) quota
      --cpu-rt-period int              Limit CPU real-time period in microseconds
      --cpu-rt-runtime int             Limit CPU real-time runtime in microseconds
  -c, --cpu-shares int                 CPU shares (relative weight)
      --cpus decimal                   Number of CPUs
      --cpuset-cpus string             CPUs in which to allow execution (0-3, 0,1)
      --cpuset-mems string             MEMs in which to allow execution (0-3, 0,1)
  -d, --detach                         Run container in background and print container ID
      --detach-keys string             Override the key sequence for detaching a container
      --device list                    Add a host device to the container
      --device-cgroup-rule list        Add a rule to the cgroup allowed devices list
      --device-read-bps list           Limit read rate (bytes per second) from a device (default [])
      --device-read-iops list          Limit read rate (IO per second) from a device (default [])
      --device-write-bps list          Limit write rate (bytes per second) to a device (default [])
      --device-write-iops list         Limit write rate (IO per second) to a device (default [])
      --disable-content-trust          Skip image verification (default true)
      --dns list                       Set custom DNS servers
      --dns-option list                Set DNS options
      --dns-search list                Set custom DNS search domains
      --domainname string              Container NIS domain name
      --entrypoint string              Overwrite the default ENTRYPOINT of the image
  -e, --env list                       Set environment variables
      --env-file list                  Read in a file of environment variables
      --expose list                    Expose a port or a range of ports
      --gpus gpu-request               GPU devices to add to the container ('all' to pass all GPUs)
      --group-add list                 Add additional groups to join
      --health-cmd string              Command to run to check health
      --health-interval duration       Time between running the check (ms|s|m|h) (default 0s)
      --health-retries int             Consecutive failures needed to report unhealthy
      --health-start-period duration   Start period for the container to initialize before starting health-retries countdown
                                       (ms|s|m|h) (default 0s)
      --health-timeout duration        Maximum time to allow one check to run (ms|s|m|h) (default 0s)
      --help                           Print usage
  -h, --hostname string                Container host name
      --init                           Run an init inside the container that forwards signals and reaps processes
  -i, --interactive                    Keep STDIN open even if not attached
      --ip string                      IPv4 address (e.g., 172.30.100.104)
      --ip6 string                     IPv6 address (e.g., 2001:db8::33)
      --ipc string                     IPC mode to use
      --isolation string               Container isolation technology
      --kernel-memory bytes            Kernel memory limit
  -l, --label list                     Set meta data on a container
      --label-file list                Read in a line delimited file of labels
      --link list                      Add link to another container
      --link-local-ip list             Container IPv4/IPv6 link-local addresses
      --log-driver string              Logging driver for the container
      --log-opt list                   Log driver options
      --mac-address string             Container MAC address (e.g., 92:d0:c6:0a:29:33)
  -m, --memory bytes                   Memory limit
      --memory-reservation bytes       Memory soft limit
      --memory-swap bytes              Swap limit equal to memory plus swap: '-1' to enable unlimited swap
      --memory-swappiness int          Tune container memory swappiness (0 to 100) (default -1)
      --mount mount                    Attach a filesystem mount to the container
      --name string                    Assign a name to the container
      --network network                Connect a container to a network
      --network-alias list             Add network-scoped alias for the container
      --no-healthcheck                 Disable any container-specified HEALTHCHECK
      --oom-kill-disable               Disable OOM Killer
      --oom-score-adj int              Tune host's OOM preferences (-1000 to 1000)
      --pid string                     PID namespace to use
      --pids-limit int                 Tune container pids limit (set -1 for unlimited)
      --platform string                Set platform if server is multi-platform capable
      --privileged                     Give extended privileges to this container
  -p, --publish list                   Publish a container's port(s) to the host
  -P, --publish-all                    Publish all exposed ports to random ports
      --pull string                    Pull image before running ("always"|"missing"|"never") (default "missing")
      --read-only                      Mount the container's root filesystem as read only
      --restart string                 Restart policy to apply when a container exits (default "no")
      --rm                             Automatically remove the container when it exits
      --runtime string                 Runtime to use for this container
      --security-opt list              Security Options
      --shm-size bytes                 Size of /dev/shm
      --sig-proxy                      Proxy received signals to the process (default true)
      --stop-signal string             Signal to stop a container (default "SIGTERM")
      --stop-timeout int               Timeout (in seconds) to stop a container
      --storage-opt list               Storage driver options for the container
      --sysctl map                     Sysctl options (default map[])
      --tmpfs list                     Mount a tmpfs directory
  -t, --tty                            Allocate a pseudo-TTY
      --ulimit ulimit                  Ulimit options (default [])
  -u, --user string                    Username or UID (format: <name|uid>[:<group|gid>])
      --userns string                  User namespace to use
      --uts string                     UTS namespace to use
  -v, --volume list                    Bind mount a volume
      --volume-driver string           Optional volume driver for the container
      --volumes-from list              Mount volumes from the specified container(s)
  -w, --workdir string                 Working directory inside the container

Hors ligne

#24 Le 25/11/2021, à 17:03

nany

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

OK. Donne le retour de :

docker images

En ligne

#25 Le 25/11/2021, à 17:05

Antenaina Flavio Steven R

Re : Impossible d'installer MariaDB , postal smtp sur Ubuntu 20.4

REPOSITORY                    TAG       IMAGE ID       CREATED       SIZE
rabbitmq                      3.8       8ea909ff13e6   2 days ago    217MB
caddy                         latest    439af64db489   12 days ago   40.1MB
mariadb                       latest    e2278f24ac88   2 weeks ago   410MB
ghcr.io/postalserver/postal   2.1.0     a53271c7084d   5 weeks ago   1.1GB
root@manager:~#

Hors ligne