Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing Ansible on Debian 11 fails, trying to fetch packages from mantic, which has not been released yet #66

Open
elecharny opened this issue Sep 18, 2023 · 3 comments

Comments

@elecharny
Copy link

Hi,

following the procedure described in https://docs.ansible.com/ansible/latest/installation_guide/installation_distros.html#installing-ansible-on-debian, here is what I get:

$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.P9nufx3041/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
gpg: clef 93C4A3FD7BB9C367 : « Launchpad PPA for Ansible, Inc. » n'est pas modifiée
gpg:       Quantité totale traitée : 1
gpg:                 non modifiées : 1

then

$ sudo apt update
Atteint :1 http://deb.debian.org/debian bullseye InRelease
Atteint :2 http://deb.debian.org/debian-security bullseye-security InRelease
Atteint :3 http://deb.debian.org/debian bullseye-updates InRelease
Atteint :4 http://ppa.launchpad.net/ansible/ansible/ubuntu focal InRelease
Ign :5 http://ppa.launchpad.net/ansible/ansible/ubuntu mantic InRelease
Err :6 http://ppa.launchpad.net/ansible/ansible/ubuntu mantic Release
  404  Not Found [IP : 185.125.190.52 80]
Lecture des listes de paquets... Fait
E: Le dépôt http://ppa.launchpad.net/ansible/ansible/ubuntu mantic Release n'a pas de fichier Release.
N: Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut.
N: Voir les pages de manuel d'apt-secure(8) pour la création des dépôts et les détails de configuration d'un utilisateur.

It seems to fetch packages from Ubuntu Mantic, which is intended to be released in October 2023...

@elecharny
Copy link
Author

So when you run this command:

apt-add-repository ppa:ansible/ansible

it creates a file:

/etc/apt/sources.list.d/ansible-ubuntu-ansible-mantic.list

which contains:

deb http://ppa.launchpad.net/ansible/ansible/ubuntu mantic main

Replacing mantic by lunarin this file solve the issue.

I think the pushed line is anticipating the coming release...

@dericcrago
Copy link
Collaborator

@elecharny - we've added mantic to the testing-ansible PPA, would you be able to try that out and report back?

https://launchpad.net/~ansible/+archive/ubuntu/testing-ansible

@elecharny
Copy link
Author

@dericcrago Thanks! Actually, I successfully installed Ansible using pip, but I will try again now that mantic has been added.

Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants