Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

mirror.hetzner.com broken again

zserozsero Member

mirror.hetzner.com seems to be broken again:

apt-get update && apt-get upgrade -y
Hit:1 https://mirror.hetzner.com/ubuntu/packages jammy InRelease
Hit:2 https://mirror.hetzner.com/ubuntu/packages jammy-updates InRelease
Hit:3 https://mirror.hetzner.com/ubuntu/packages jammy-backports InRelease
Hit:4 https://mirror.hetzner.com/ubuntu/security jammy-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libnetplan0 netplan.io
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 217 kB of archives.
After this operation, 0 B of additional disk space will be used.
Ign:1 https://mirror.hetzner.com/ubuntu/packages jammy-updates/main amd64 netplan.io amd64 0.106.1-7ubuntu0.22.04.4
Ign:2 https://mirror.hetzner.com/ubuntu/packages jammy-updates/main amd64 libnetplan0 amd64 0.106.1-7ubuntu0.22.04.4
Err:1 https://mirror.hetzner.com/ubuntu/packages jammy-updates/main amd64 netplan.io amd64 0.106.1-7ubuntu0.22.04.4
  404  Not Found [IP: 2a01:4ff:ff00::3:3 443]
Err:2 https://mirror.hetzner.com/ubuntu/packages jammy-updates/main amd64 libnetplan0 amd64 0.106.1-7ubuntu0.22.04.4
  404  Not Found [IP: 2a01:4ff:ff00::3:3 443]
E: Failed to fetch https://mirror.hetzner.com/ubuntu/security/pool/main/n/netplan.io/netplan.io_0.106.1-7ubuntu0.22.04.4_amd64.deb  404  Not Found [IP: 2a01:4ff:ff00::3:3 443]
E: Failed to fetch https://mirror.hetzner.com/ubuntu/security/pool/main/n/netplan.io/libnetplan0_0.106.1-7ubuntu0.22.04.4_amd64.deb  404  Not Found [IP: 2a01:4ff:ff00::3:3 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

How can I turn this thing off? Is there a one liner or similar to go back to the official Ubuntu sources?

The sources file has this at the top, so I don't think it's as easy as a sed

## Note, this file is written by cloud-init on first boot of an instance
## modifications made here will not survive a re-bundle.
## if you wish to make changes you can:
## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg
##     or do the same in user-data
## b.) add sources in /etc/apt/sources.list.d
## c.) make changes to template file /etc/cloud/templates/sources.list.tmpl

Comments

  • hyperhostsolutionshyperhostsolutions Member, Patron Provider

    they have problems with there mirror fairly often , just change mirror to another one problem solved

  • bretwbretw Member

    @hyperhostsolutions said:
    they have problems with there mirror fairly often , just change mirror to another one problem solved

    That's what they're asking for help with.. 😅

    @zsero You could just modify the /etc/apt/sources.list file and replace the hetzner URLs with http://archive.ubuntu.com/ubuntu/ to use Ubuntu's own mirror system. Then if you want it to be retained, you can add add 'apt_preserve_sources_list: true to /etc/cloud/cloud.cfg like the output you pasted mentioned.

    Thanked by 1Erisa
  • zserozsero Member

    Thanks. When does this re-bundling happen actually?

Sign In or Register to comment.