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

Failure at the Debian Install Tailscale task "E: Failed to fetch.." #514

Open
qurm opened this issue Nov 14, 2024 · 1 comment
Open

Failure at the Debian Install Tailscale task "E: Failed to fetch.." #514

qurm opened this issue Nov 14, 2024 · 1 comment
Labels
bug:needs-reproduction A reported bug that needs to be confirmed and reproduced.

Comments

@qurm
Copy link

qurm commented Nov 14, 2024

Describe the bug
Failure at the Debian Install Tailscale task
E: Failed to fetch https://pkgs.tailscale.com/stable/ubuntu/pool/tailscale_1.76.6_amd64.deb

To Reproduce
Steps to reproduce the behavior:

  1. New Ubuntu OS server has been setup
  2. Other packages installed, docker for example.
  3. Run the role: artis3n.tailscale on ubuntu 24.04
  4. Fails at TASK [artis3n.tailscale : Debian | Install Tailscale] - see detailed message below
    I guess this may be due to the server apt environment, but I am unable to see why this error occurs. I have not yet done a manual install, as I would like to use ansible for this task.

Expected behavior
Clean installation
I have tried to download the tailscale packages directly on the server, and this completes with no errors:

curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/noble.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/noble.tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list
also 
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/pool/tailscale_1.76.6_amd64.deb

Screenshots
If applicable, add screenshots to help explain your problem.

Target (please complete the following information):

  • OS: Ubuntu 24.04.1 LTSL
  • Ansible version: [core 2.17.6]
  • artis3n.tailscale version: 4.5.0
  • Tailscale version (set verbose to true): 1.76.6

Output of tailscale status during role execution (set verbose to true):
n/a not installed

Additional context
Ansible role output here:

TASK [artis3n.tailscale : Debian | Add Tailscale Signing Key] ********************************************************************************************************************************************************ok: [141.147.88.35]

TASK [artis3n.tailscale : Debian | Add Tailscale Deb] ****************************************************************************************************************************************************************ok: [141.147.88.35]

TASK [artis3n.tailscale : Debian | Install Tailscale] ****************************************************************************************************************************************************************fatal: [141.147.88.35]: FAILED! => {"cache_update_time": 1731608079, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"       install 'tailscale=1.76.6'' failed: E: Failed to fetch https://pkgs.tailscale.com/stable/ubuntu/pool/tailscale_1.76.6_amd64.deb  302  Found [IP: 199.38.181.239 443]\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "rc": 100, "stderr": "E: Failed to fetch https://pkgs.tailscale.com/stable/ubuntu/pool/tailscale_1.76.6_amd64.deb  302  Found [IP: 199.38.181.239 443]\nE: Unable 
to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "stderr_lines": ["E: Failed to fetch https://pkgs.tailscale.com/stable/ubuntu/pool/tailscale_1.76.6_amd64.deb  302  Found [IP: 199.38.181.239 443]", "E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nRecommended packages:\n  tailscale-archive-keyring\nThe following NEW packages will be installed:\n  tailscale\n0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.\nNeed to get 28.9 MB of archives.\nAfter this operation, 53.8 MB of additional disk space will be used.\nErr:1 https://pkgs.tailscale.com/stable/ubuntu noble/main amd64 tailscale amd64 1.76.6\n  302  Found [IP: 199.38.181.239 443]\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "Recommended packages:", "  tailscale-archive-keyring", "The following NEW packages will be installed:", "  tailscale", "0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.", "Need to get 28.9 MB of archives.", "After this operation, 53.8 MB of additional disk space will be used.", "Err:1 https://pkgs.tailscale.com/stable/ubuntu noble/main amd64 tailscale amd64 1.76.6", "  302  Found [IP: 199.38.181.239 443]"]}
@qurm qurm added the bug:needs-reproduction A reported bug that needs to be confirmed and reproduced. label Nov 14, 2024
@artis3n
Copy link
Owner

artis3n commented Nov 17, 2024

Can you add more details to

New Ubuntu OS server has been setup

In what way is it set up? Is this on a cloud or a physical server?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:needs-reproduction A reported bug that needs to be confirmed and reproduced.
Projects
None yet
Development

No branches or pull requests

2 participants