{"id":21310008,"url":"https://github.com/tadd/local-apt-repos","last_synced_at":"2026-05-19T11:05:37.172Z","repository":{"id":139138133,"uuid":"549974175","full_name":"tadd/local-apt-repos","owner":"tadd","description":"Automate updating of deb files in scattered locations","archived":false,"fork":false,"pushed_at":"2025-01-09T15:31:02.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T09:33:21.900Z","etag":null,"topics":["apt","deb","debian","zoom"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tadd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-12T02:38:21.000Z","updated_at":"2025-01-09T15:31:00.000Z","dependencies_parsed_at":"2023-12-13T13:31:42.340Z","dependency_job_id":"fb8c895a-9fbe-440d-beb4-7d30d7cabb63","html_url":"https://github.com/tadd/local-apt-repos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tadd%2Flocal-apt-repos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tadd%2Flocal-apt-repos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tadd%2Flocal-apt-repos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tadd%2Flocal-apt-repos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tadd","download_url":"https://codeload.github.com/tadd/local-apt-repos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243788249,"owners_count":20348000,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apt","deb","debian","zoom"],"created_at":"2024-11-21T17:11:56.359Z","updated_at":"2026-05-19T11:05:37.116Z","avatar_url":"https://github.com/tadd.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!WARNING]\n\u003e **This repository was generalized and deprecated in favor of\n\u003e [local-apt-repository-update-debs](https://github.com/tadd/local-apt-repository-update-debs)\n\u003e with [local-apt-repository](https://salsa.debian.org/debian/local-apt-repository).**\n\n# How to automate updating of `*.deb` files in scattered locations\n\nor: I don't want to check every Zoom update with my own eyes. Really.\n\n1. `sudo ./setup.sh`\n2. Done.\n\nNow you can use `apt update` as usual, which will check on its own. Nothing special.\n\n## ⚠ Warning ⚠\n\nThis repository is just a sample and not yet generalized enough. You'll need to edit files\nyourself, especially `update-index`.\n\nCurrently, it includes definitions of\n\n* [`zoom`](https://zoom.us/download?os=linux)\n* [`bat`](https://github.com/sharkdp/bat)\n* [`delta`](https://github.com/dandavison/delta) (or `git-delta` as a package)\n* [`discord`](https://discord.com/download)\n* [`rclone`](https://github.com/rclone/rclone)\n\n## Method\n\n* You've created a local APT repository in `/usr/local/mydebs` directory\n  * `setup.sh` is a simple copier with few lines\n    * `/etc/apt/sources.list.d/mydebs.list`\n    * `/etc/apt/apt.conf.d/99mydebs-update`\n    * `/usr/local/mydebs/update-index`\n* The script `update-index` is called whenever you invoke `apt update`\n  * with `APT::Update::Pre-Invoke` hook in `99mydebs-update`\n* It checks remote `*.deb` files and downloads them **only if updated**\n  * with `wget -N` timestamp-checking option\n* Then builds two files to behave as a local repository\n  * `Packages` and `Release` with `apt-ftparchive` command (It's useful even without FTP)\n\nSo you don't need to watch webpages of companies and/or GitHub release pages anymore if\nyou setup once.\n\n## References\n\nThis repository is just a recap/rehash of `niry`'s answer in\n[askubuntu.com](https://askubuntu.com):\n**[Updating Zoom in the terminal](https://askubuntu.com/a/1316231)**.\n\nI've been living by Debian for over 15 years, but I had no idea I could `apt update` from\nlocal sources. Thanks a lot.\n\n## TODO\n\n* Generalize more: drive source definitions out of the script\n* Be faster\n* Secure with signatures\n* ~~Know about PPA~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftadd%2Flocal-apt-repos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftadd%2Flocal-apt-repos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftadd%2Flocal-apt-repos/lists"}