Local mirror or /var/cache/apt?

proxtest

Active Member
Mar 19, 2014
108
0
36
Best way to setup a mirror for your installation? Want to avoid things like this on a production cluster:

W: Fehlschlag beim Holen von http://ceph.com/debian-firefly/dists/wheezy/main/binary-amd64/Packages 404 Not Found
E: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt.

Its happen on all 4 nodes but it jumps around! :-(

Recently there are 2 posts here about not starting machines after a upgrade is done. So i'm thinking about a mirror who holds all my currently running packages. Because i have to expand a older cluster now and need the same versions and i dont want to upgrade to new versions as long the cluster running stable.

proxmox-ve-2.6.32: 3.4-182 (running kernel: 2.6.32-48-pve)

Never change a running system! :-)

So what will be the best solution?

https://www.qwdsa.com/c/threads/proxmox-local-mirror.207/

and the same for ceph? Or simply copy /var/cache/apt?
Is somebody running a local mirror for proxmox and ceph?