I've been working on a new apt cacher I'm calling "apt-cacher-ultra", with two goals in mind:
-
Robustness.
-
Availability when upstream is down.
I consider it to be at the beta stage now, I'm slowing down development and I'm mostly just letting it soak in my various environments to get hours on
it to see how robust it proves to be.
https://github.com/linsomniac/apt-cacher-ultra
I've been working on a new apt cacher I'm calling "apt-cacher-ultra",
MITM https proxy so you don't need to do the "http://HTTPS///"
kludge, but you can also get the benefit of the cache (-ng does a
binary passthrough which bypasses the cache).
Well, I tried to find the .deb package, but in `many cases github is such a messy site. Sometimes a developer will have a clear download link, but much ofGItHub has (somewhat) embraced the idea of "Cool URIs". If you're
the time its long toolbars-and-a bunch of non-links which just say "button"
Thanks in advance
Chime
On Tue, May 19, 2026 at 08:51:34AM -0600, Sean Reifschneider wrote:
https://github.com/linsomniac/apt-cacher-ultra
Very interesting, thanks, I shall take a look.
Hi,Huh?
On Tue, May 19, 2026 at 03:17:34PM +0000, Andy Smith wrote:
On Tue, May 19, 2026 at 08:51:34AM -0600, Sean Reifschneider wrote:
https://github.com/linsomniac/apt-cacher-ultra
Very interesting, thanks, I shall take a look.
I've had 5 minutes worth of looking and I have to say the contribution
policy is giving me some concern. TL;DR: they ONLY accept AI-assisted contributions.
https://github.com/linsomniac/apt-cacher-ultra/blob/main/CONTRIBUTING.md
On Tue, May 19, 2026 at 06:40:31PM +0000, Andy Smith wrote:Try appending '?raw=true' to the URL. I was able to wget it in readable
Hi,
On Tue, May 19, 2026 at 03:17:34PM +0000, Andy Smith wrote:
On Tue, May 19, 2026 at 08:51:34AM -0600, Sean Reifschneider wrote:
https://github.com/linsomniac/apt-cacher-ultra
Very interesting, thanks, I shall take a look.
I've had 5 minutes worth of looking and I have to say the contribution
policy is giving me some concern. TL;DR: they ONLY accept AI-assisted
contributions.
https://github.com/linsomniac/apt-cacher-ultra/blob/main/CONTRIBUTING.md
Huh?
I actually tried to wget that "markdown" and, yikes.
So, I'll pass, thanks. Thanks for the heads-up.The "AI-only contribution policy" is a fairly alarming red flag,
<snip>The only way it could be reasonable is if this is an
intentional-parody setup
I do cover it in the CONTRIBUTING document, I'll include that section
below. I'll add further color by saying that the idea came to me as,
in your words, an intentional parody, in the shower a few days ago.
But the more I thought about it the more I felt it was an important
social experiment to run. The phrase "somebody has to be first" came
to mind as well.
From the CONTRIBUTING.md:
On Tue, May 19, 2026 at 03:17:34PM +0000, Andy Smith wrote:.md
On Tue, May 19, 2026 at 08:51:34AM -0600, Sean Reifschneider wrote:
https://github.com/linsomniac/apt-cacher-ultra
Very interesting, thanks, I shall take a look.
I've had 5 minutes worth of looking and I have to say the contribution
policy is giving me some concern. TL;DR: they ONLY accept AI-assisted contributions.
https://github.com/linsomniac/apt-cacher-ultra/blob/main/CONTRIBUTING
It's probably this or switching to a general HTTP proxy (e.g. Squid) so
I guess I'll still try it out, but?
I'm not familiar with this. Can you point me to a writeup on how to
use it
In apt-cacher-ng (possibly originating from apt-cacher?), if you
request an https repo from the cache,?.
On Tue, 19 May 2026 16:29:59 -0600
Sean Reifschneider <jafo00@gmail.com> wrote:
I'm not familiar with this. Can you point me to a writeup on how to
use it
In apt-cacher-ng (possibly originating from apt-cacher?), if you
request an https repo from the cache,?.
Thank you.
A third way to handle the problem is to tell apt et al. to bypass the
proxy for certain repos. For example, edit
Acquire::https::Proxy::updates.signal.org "DIRECT";
into (e.g.) /etc/apt/apt.conf.d/02signal-direct. That is OK for a small network, not so good for a large one.
Does anybody read signatures any more?
On 2026-05-19 at 14:54, tomas@tuxteam.de wrote:[...]
Thanks for the hint, as always insightful for you. I guessed thatI actually tried to wget that "markdown" and, yikes.
Try appending '?raw=true' to the URL. I was able to wget it in readable
form that way.
I doubt this addresses your concerns, but in reviewing the wordingFWIW, while that does improve the picture *slightly*, my
in CONTRIBUTING.md to try to understand where you are coming from, I
made a few changes to clarify that by "comments" I meant "code
comments", and to further state that documentation and translations
are naturally likely to be a mix of human and AI work.
I will admit I took a focused stance on the wording, expecting thatThat is, whether fortunately or unfortunately, not the default
people would know that there will be exceptions and we can address
them as they arise.
On Tue, May 19, 2026 at 4:54?PM Andy Smith <andy@strugglers.net> wrote:
I've had 5 minutes worth of looking and I have to say the contribution policy is giving me some concern. TL;DR: they ONLY accept AI-assisted contributions.
https://github.com/linsomniac/apt-cacher-ultra/blob/main/CONTRIBUTING.md
That policy ensures a lot of experienced folks will pass on reporting
bugs and submitting patches. Is it any wonder the program is having stability problems?
I've had 5 minutes worth of looking and I have to say the contribution
policy is giving me some concern. TL;DR: they ONLY accept AI-assisted
contributions.
https://github.com/linsomniac/apt-cacher-ultra/blob/main/CONTRIBUTING.md
That policy ensures a lot of experienced folks will pass on reporting
bugs and submitting patches. Is it any wonder the program is having stability problems?
It's probably this or switching to a general HTTP proxy (e.g. Squid) so
I guess I'll still try it out, but?
Jeff
The "AI-only contribution policy" is a fairly alarming red flag,
certainly. The only way it could be reasonable is if this is an intentional-parody setup, and that doesn't look to be the case from what
I can see.
I saw that Linus had complained on the kernel mailing list that there
were multiple bug reports for the same vulnerability because people
were using AI and deriving the same results.
I'll be blunt:
That clause not only leaves me disinclined to contribute to the
project, but disinclined to use it, and inclined to recommend
*against* other people using it. The explanations you give in that
document do not help with this, and some of them actually strengthen
it.
This project already is what the policy describes. Every line of apt-cacher-ultra was written by an AI assistant working with a human director. Keeping the contribution model consistent with how the
project was built feels reasonable.
Sounds like we both got started coding around the same time. ;-)
I've been experimenting with the AI coding tools for around 3 years
now, and I have found a use for the tooling: In around 40 hours of
my attention I have something that manual coding would have
taken ~9 months of focused effort.
This contributor arrangement is an experiment, and we'll see how
it goes. If it plays out that this project has suffered because of
the lack contributions by senior coders such as yourself, that is a
useful deliverable in my mind.
I appreciate your feedback on the wording, I'll ponder that because
my intention is to have this experiment be about AI generated
software, so I may want to select different wording.
Hi,.md
On Tue, May 19, 2026 at 03:17:34PM +0000, Andy Smith wrote:
On Tue, May 19, 2026 at 08:51:34AM -0600, Sean Reifschneider wrote:
https://github.com/linsomniac/apt-cacher-ultra
Very interesting, thanks, I shall take a look.
I've had 5 minutes worth of looking and I have to say the contribution
policy is giving me some concern. TL;DR: they ONLY accept AI-assisted contributions.
https://github.com/linsomniac/apt-cacher-ultra/blob/main/CONTRIBUTING
On Wed, May 20, 2026 at 12:04?AM Andy Smith <andy@strugglers.net> wrote:
I've had 5 minutes worth of looking and I have to say the contribution policy is giving me some concern. TL;DR: they ONLY accept AI-assisted contributions.
https://github.com/linsomniac/apt-cacher-ultra/blob/main/CONTRIBUTING.md
Hey, at least they don't have that BS code-of-conduct that was so
popular by big corporations during peak-woke.
As far as cost, my work pays $110/mo for the "Claude Pro 5x" plan,
and most months I pay another $100-ish on top of that to get the
"Pro 20x" upgrade ($200+tax).
If that's software that you do or would share the code for, I'd be
happy to feed it to Claude to see what it can do, to give you an idea.
Hello,n
On Thu, May 21, 2026 at 12:11:48AM +0200, Anders Andersson wrote:
On Wed, May 20, 2026 at 12:04?AM Andy Smith <andy@strugglers.newrote:
I've had 5 minutes worth of looking and I have to say the contributio
TING.mdpolicy is giving me some concern. TL;DR: they ONLY accept AI-assisted contributions.
https://github.com/linsomniac/apt-cacher-ultra/blob/main/CONTRIBU
Hey, at least they don't have that BS code-of-conduct that was so
popular by big corporations during peak-woke.
The Debian project also has a code of conduct which also applies to this mailing list, and that code of conduct is pretty similar to what one
would find in a typical software repository. So I think your views on
codes of conduct are not only at odds with mine but also with those of
Debian at large.
The CONTRIBUTING.md in question does also have a "Code of Conduct"
section at the end which makes me wonder if you did even read that far.
I've been working on a new apt cacher I'm calling "apt-cacher-ultra", with two goals in mind:
* MITM https proxy so you don't need to do the "http://HTTPS///" kludge, but you can also get the benefit of the cache
(-ng does a binary passthrough which bypasses the cache).
Even with something simple, like just debian.org in the regexp, I wasUnlike -NG, -Ultra has a lot of knobs for hardening the cache, as you've
able to connect to deb.debian.org but not even to
Sean Reifschneider <jafo00@gmail.com> writes:
I've been working on a new apt cacher I'm calling "apt-cacher-ultra",with two goals in mind:
With a quick look, it seems to work nicely. Then again, so does apt-cacher-ng, it's just that later when you try to use it, it won't
respond or responds with error and needs a restart.
* MITM https proxy so you don't need to do the "http://HTTPS///"kludge, but you can also get the benefit of the cache
(-ng does a binary passthrough which bypasses the cache).
This feature might need some looking into or at least a little
documentation on how to use it, e.g. how to specify the regexp? The
example config in readme doesn't seem to work, as in the regexp isn't accepted.
Even with something simple, like just debian.org in the regexp, I was
able to connect to deb.debian.org but not even to
security.debian.org. Let alone the repos I actually want to connect,
mega, nvidia, spideroak, spotify... Everything but deb.debian.org came
back with a certificate error. So, documentation, a working example, or explanation? Or maybe I did something wrong. And, to be honest, those non-Debian repos I use so little the caching doesn't much matter. But
how do you use apt-cacher-ultra for https without caching?
I'm going to push some changes to the default config that open it up.
You should be able to get the new config, and then remove `/var/cache/apt-cacher-ultra/ca/*` and restart apt-cacher-ultra. It
should then generate a new CA, and you will need to copy that
ca.crt to the client machine to continue testing. At that point it
should work for you.
In my environment I started with things wide open and then looked at
the logs after a few days and used actual usage to create the allow
lists. However, I've since come to the mind that because of signing of remote packages, the CA being limited to apt use only, and typical use
inside a trusted network that has public Internet access anyway, that
a more open default is probably better.
removing the package would remove /var/cache/apt-cacher-ultra but itdoesn't.
But I'm still baffled as to when the cert needs regenerating?The cert it creates is a *CA* cert, which the MITM then uses to create and
But why json by default?It was a call I made, but I don't have a strong opinion on the default
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 4 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 495145:23:05 |
| Calls: | 165 |
| Files: | 574 |
| D/L today: |
29 files (9,998K bytes) |
| Messages: | 78,198 |