[SOLVED] No updates from no-subscription repository

NPK

Member
Oct 12, 2021
24
2
8
41
Hi,

I have some difficulties with a Proxmox 7 cluster : repositories seems to be OK but I can't get updates.

sources.list:
Code:
deb http://httpredir.debian.org/debian bullseye main contrib
deb http://httpredir.debian.org/debian bullseye-updates main contrib
deb http://httpredir.debian.org/debian-security bullseye-security main contrib

sources.list.d/pve-no-subscription.list:
Code:
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

apt update:
Code:
Hit:1 http://httpredir.debian.org/debian bullseye InRelease
Hit:2 http://httpredir.debian.org/debian bullseye-updates InRelease
Hit:3 http://download.proxmox.com/debian/pve bullseye InRelease
Hit:4 http://httpredir.debian.org/debian-security bullseye-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

But, pve-manager is still 7.0-11, and I have another cluster (on a different network) in 7.0.13 with the same configuration files (except proxy, see above). Some other packages are not up to date.

pveversion -v:
Code:
proxmox-ve: 7.0-2 (running kernel: 5.11.22-4-pve)
pve-manager: 7.0-11 (running version: 7.0-11/63d82f4e)
pve-kernel-5.11: 7.0-7
pve-kernel-helper: 7.0-7
pve-kernel-5.11.22-4-pve: 5.11.22-8
ceph-fuse: 15.2.14-pve1
corosync: 3.1.2-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.21-pve1
libproxmox-acme-perl: 1.3.0
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.0-4
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.0-6
libpve-guest-common-perl: 4.0-2
libpve-http-server-perl: 4.0-2
libpve-storage-perl: 7.0-10
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.9-4
lxcfs: 4.0.8-pve2
novnc-pve: 1.2.0-3
proxmox-backup-client: 2.0.9-2
proxmox-backup-file-restore: 2.0.9-2
proxmox-mini-journalreader: 1.2-1
proxmox-widget-toolkit: 3.3-6
pve-cluster: 7.0-3
pve-container: 4.0-9
pve-docs: 7.0-5
pve-edk2-firmware: 3.20200531-1
pve-firewall: 4.2-2
pve-firmware: 3.3-1
pve-ha-manager: 3.3-1
pve-i18n: 2.5-1
pve-qemu-kvm: 6.0.0-3
pve-xtermjs: 4.12.0-1
qemu-server: 7.0-13
smartmontools: 7.2-1
spiceterm: 3.2-2
vncterm: 1.7-1
zfsutils-linux: 2.0.5-pve1

The main difference between clusters is proxy, but I can download some files from Proxmox repository with wget.

76pveproxy (XX.XX.XX.XX is for example):
Code:
Acquire::http::Proxy "http://XX.XX.XX.XX:8080";

What's wrong with this cluster ?

Thanks :)
 
hi,

The main difference between clusters is proxy, but I can download some files from Proxmox repository with wget.
so does it work without the proxy?

have you checked your proxy configuration? maybe it's being cached
 
Solved !

I replaced download.proxmox.com with download.cdn.proxmox.com in sources.list, and it works... why ? I don't really know. Both seems to be the same :

Code:
root@pve01:~# host download.proxmox.com
download.proxmox.com is an alias for download.cdn.proxmox.com.
download.cdn.proxmox.com is an alias for fr.cdn.proxmox.com.
fr.cdn.proxmox.com has address 51.91.38.34
fr.cdn.proxmox.com has IPv6 address 2001:41d0:203:7470::34

root@pve01:~# host download.cdn.proxmox.com
download.cdn.proxmox.com is an alias for fr.cdn.proxmox.com.
fr.cdn.proxmox.com has address 51.91.38.34
fr.cdn.proxmox.com has IPv6 address 2001:41d0:203:7470::34

Edit : resolved with adding some servers on cache exclusion (i.e. download.proxmox.com).

Thanks @oguz !
 
Last edited:
  • Like
Reactions: rursache

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!