this post was submitted on 06 Sep 2024
199 points (99.0% liked)

Linux

48328 readers
598 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

On Debian-based distros, when an app is available as a DEB or an AppImage (that doesn't self-update), but no APT repository, PPA or Flatpak, the only option is to manually download each update, and usually manually check even whether there are updates.

But, what if those would be upgraded at the same time as everything else using the tools you're familiar with ?

dynapt is a local web server that fetches those DEBs (and AppImages to be wrapped into DEBs) wherever those are, then serves these to APT like any package repository does.

I started building it a few months ago, and after using it to upgrade apps on my computers and servers for some time, I pre-released it for the first time last week.

The stable version will come with a CLI wizard to avoid this manual configuration.

Feedback is welcome :)

you are viewing a single comment's thread
view the rest of the comments
[–] Shdwdrgn@mander.xyz 0 points 2 months ago (2 children)

Sorry to ask, but isn't this basically the same thing as apt-cacher-ng?

[–] KaKi87@jlai.lu 7 points 2 months ago (1 children)

Sorry to ask

Don't be. I would love to know that an existing and more experienced program does what mine does.

I've been looking for it myself for a long time before deciding to build it.

isn’t this basically the same thing as apt-cacher-ng?

Here's what I'm reading :

Apt-Cache-ng is A caching proxy. Specialized for package files from Linux distributors, primarily for Debian (and Debian based) distributions but not limited to those.

A caching proxy have the following benefits:

  • Lower latency
  • Reduce WAN traffic
  • Higher speed for cached contents
+------------+         +------------+        +------------+
| Apt Client |  <------+ Apt Cache  | <------+ Apt Mirror |
+------------+         +------------+        +------------+

So, not the same thing.

It locally mirrors existing repositories containing existing packages, it doesn't locally create a new repository for new packages from standalone DEBs.

[–] Shdwdrgn@mander.xyz 3 points 2 months ago

OK yeah, I wasn't sure if it had a way to collect debs from other sources. I've been using it for years to locally cache the standard Debian repos so I don't need to re-download packages every time I update my various servers and VMs, but I haven't really tried using it for anything beyond that.