You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some time ago I've set up few Debian servers and I'd like to set up a caching update server for these, similar as I already have for my Arch machines.
Now, I'm aware that there are already multiple solutions that can do that for apt repos, but considering that I've already have pacoloco deployed and I'm happy with it I wondered if it could be used for that purpose.
deb https://<pacoloco-url>/repo/debian bookworm main non-free-firmware
deb https://<pacoloco-url>/repo/debian-updates bookworm-updates main non-free-firmware
deb https://<pacoloco-url>/repo/debian-security bookworm-security main non-free-firmware
and it seems to work fine and cache the packages correctly.
I guess I want to ask if it's a good idea to keep it that way.
Is there any "Arch Linux specific" stuff implemented that would not allow pacoloco to be used as a general caching proxy?
Of course I'm aware that supporting such scenario is not really in scope of this project, so any issues related to mirroring Debian I might run into I am on my own.
The text was updated successfully, but these errors were encountered:
I suppose it's a similar case as with multiple architectures, so I've split these repos
Yep, it needs splitting. Pacoloco uses flat repository directories as it is how Arch repos are structured.
Is there any "Arch Linux specific" stuff implemented that would not allow pacoloco to be used as a general caching proxy?
Pacoloco is Arch Linux centric, I've never thought about using it for Debian to be honest.
When it comes to 'what exactly Arch-specific there' the main thing I can think of is the way .db.sig and .files files are handled:
regular packages are considered fully cacheable, i.e. once a file with the name is downloaded it considered never changed at the server. In contrast .db files are always checked for modification time at the server and re-fetched if server has newer files.
prefetch code downloads .db, parses it and prefetches Arch packages.
Hi,
thanks for the great work again!
Some time ago I've set up few Debian servers and I'd like to set up a caching update server for these, similar as I already have for my Arch machines.
Now, I'm aware that there are already multiple solutions that can do that for
apt
repos, but considering that I've already havepacoloco
deployed and I'm happy with it I wondered if it could be used for that purpose.Setting up a single repo as such:
with the following node config:
doesn't work nicely, as
bookworm
andbookworm-updates
seem to fight over ownership of some common repo files.That's ok, I suppose it's a similar case as with multiple architectures, so I've split these repos:
and aligned the node config to the new setup:
and it seems to work fine and cache the packages correctly.
I guess I want to ask if it's a good idea to keep it that way.
Is there any "Arch Linux specific" stuff implemented that would not allow
pacoloco
to be used as a general caching proxy?Of course I'm aware that supporting such scenario is not really in scope of this project, so any issues related to mirroring Debian I might run into I am on my own.
The text was updated successfully, but these errors were encountered: