Article View: linux.debian.user
Article #555[RFC] extracting apt and dpkg for independent use for alternative purposes
From: Luke Kenneth Casson Leighton
Date: Mon, 16 Nov 2026 18:10
Date: Mon, 16 Nov 2026 18:10
181 lines
12789 bytes
12789 bytes
--0000000000009e24b0066068260f Content-Type: text/plain; charset="UTF-8" this is a little complex to explain, and please be patient and strictly follow debian community guidelines, as i have had strokes and now am forced to use AIs in a symbiotic fashion. below is written *without* their assistance. repo first, explanation second, motto at the end: https://gitlab.com/d12rg/wot/ about 25 years ago i envisaged debian being fully peer-distributed. not dependent on any domain hosting in any way, the entire process of debian development could hypothetically be done via TCP/CP using git (bundles via Carrier Pigeon) or a true peer-to-peer git transport [not to be confused with pushing to a server, i do mean e.g. pushing git bundles to a bittorrent network and linking SHA256 commits directly into its Kademlia DHT] in addition to that, many people will have seen how badly windows .EXE provenance goes (the windows 95 sheep screensaver wrapped in malware was my favourite) and a plethora of linux distros are blissfully unaware of the deeply impressive provenance, documentation, rigor, and... i run out of superlatives - i got up to 18 hard requirements and listed how every distribution but debian fails them: http://lkcl.net/reports/wot/ in addition to *that* if there is a *non-debian* or even non-distro aim to distribute, for example, the source latex of arxiv.org peer reviewed academic journals, and have each PDF built as a binary package and the latex as source, where the Citations are mapped to package dependencies and - this is the kicker - the distribution does NOT end up messing with /var/lib/apt etc but can be placed into an ENTIRELY INDEPENDENT location of the user's choice... this is where the research project i am putting together kicks in. the goal is to then link the entire thing together behind fully peer-to-peer infrastructure. apt-swarm is a candidate however that does not help with the other aspects: peer-distribution of GPG keyring signing and Identity verification protocols, whom do you trust when the entire provenance is peer-distributable, even to the point of allowing you to choose whom *you* trust as ftp-masters, *and* which "Releases" - quantity multiple - you accept. remember that in this scenario there will NOT be one single /etc/apt/sources.list[.d] there will be *MULTIPLE* $(repo[nnnnnn])/etc/apt/sources.list[.d] of *your* choice for *your* chosen purpose(s), every single one of them fully decentralised, peer-distributable, the number of top-level Release files is not in any way limited (and can go directly into a DHT *and* have apt search keywords associated with it) yet still fulfilling the hard requirements that gives debian its near-invulnerable reputation to provenance attack. the first stage - self-bootstrap - is already complete. the scripts can automatically package themselves up as a debian package, install and set themselves up under an arbitrary directory, set up a debian pool mirror ready for actual distribution, and can then be installed AGAIN from that mirror and re-built or installed again, in order to perform gcc-style bootstrap self-checking (does the compiler compile itself 3x in a chain and produce identical binaries?) the second stage is to introduce apt-swarm and separate out packages for the documentation and associated papers, set up reproducible builds and tests for use of apt-mirror and other hosting options, sort out the gpg keyring peer distribution. a third stage is to establish a rigorous set of hostile attack vectors, actively seeking to shred the entire system and make it fall over. i would welcome feedback and assistance, this is a fascinating meta-meta-project that solves a particularly complex provenance and reproducability problem on moving target(s). until otherwise established a mailing list is here: https://groups.google.com/g/d12rg one particular question i would love to hear from people: i suggested putting the entirety of arxiv.org source and PDFs into debian archive form: what would *you* use this for? software project management of releases, even those from Visual Studio or Eclipse or Arduino? ERM or other Sales Force Management of customer contracts? a type of blockchain which goes well beyond Ethereum? what else? the motto, if you have seen mythbusters, is to use [software] tools for purposes for which they were never originally intended. back-to-back. and not as a rube goldberg machine. l. -- --- geometry: without it life is pointless the fibonacci series: easy as 1 1 2 3 we are humans and can make mistakes --0000000000009e24b0066068260f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable this is a little complex to explain, and please be patient and strictly fol= low debian community guidelines, as i have had strokes and now am forced to= use AIs in a symbiotic fashion. below is<div>written *without* their assis= tance.<br><div><br></div><div>repo first, explanation second, motto at the = end:</div><div><a href=3D"https://gitlab.com/d12rg/wot/">https://gitlab.com= /d12rg/wot/</a></div><div><br></div><div>about 25 years ago i envisaged deb= ian being fully peer-distributed. not dependent on any domain hosting in an= y way, the entire process of debian development could hypothetically be don= e via TCP/CP using git (bundles via Carrier Pigeon) or a true peer-to-peer = git transport [not to be confused with pushing to a server, i do mean e.g. = pushing git bundles to a bittorrent network and linking SHA256 commits dire= ctly into its Kademlia DHT]</div><div><br></div><div>in addition to that, m= any people will have seen how badly windows .EXE provenance goes (the windo= ws 95 sheep screensaver wrapped in malware was my favourite) and a plethora= of linux distros are blissfully unaware of the deeply impressive provenanc= e, documentation, rigor, and... i run out of superlatives - i got up to 18 = hard requirements and listed how every distribution but debian fails them:<= /div><div><a href=3D"http://lkcl.net/reports/wot/" target=3D"_blank">http:/= /lkcl.net/reports/wot/</a></div><div><br></div><div>in addition to *that* i= f there is a *non-debian* or</div><div>even non-distro aim to distribute, f= or example, the</div><div>source latex of <a href=3D"http://arxiv.org">arxi= v.org</a> peer reviewed academic</div><div>journals, and have each PDF buil= t as a binary</div><div>package and the latex as source, where the</div><di= v>Citations are mapped to package dependencies</div><div>and - this is the = kicker - the distribution does NOT</div><div>end up messing with /var/lib/a= pt etc but can be</div><div>placed into an ENTIRELY INDEPENDENT location</d= iv><div>of the user's choice...</div><div><br></div><div>this is where = the research project i am putting together kicks in.</div><div><br></div><d= iv>the goal is to then link the entire thing together behind fully peer-to-= peer infrastructure. apt-swarm is a candidate however that does not help wi= th the other aspects: peer-distribution of GPG keyring signing and Identity= verification protocols, whom do you trust when the entire provenance is pe= er-distributable, even to the point of allowing you to choose whom *you* tr= ust as ftp-masters, *and* which "Releases" - quantity multiple - = you accept.</div><div><br></div><div>remember that in this scenario there w= ill NOT be one single /etc/apt/sources.list[.d] there will be *MULTIPLE* $(= repo[nnnnnn])/etc/apt/sources.list[.d]</div><div>of *your* choice for *your= * chosen purpose(s), every single one of them fully decentralised, peer-dis= tributable, the number of top-level Release files is not in any way limited= (and can go directly into a DHT *and* have apt search keywords associated = with it)</div><div><br></div><div>yet still fulfilling the hard requirement= s that gives debian its near-invulnerable reputation to provenance attack.<= /div><div><br></div><div>the first stage - self-bootstrap - is already comp= lete. the scripts can automatically package themselves up as a debian packa= ge, install and set themselves up under an arbitrary directory, set up a de= bian pool mirror ready for actual distribution, and can then be installed A= GAIN from that mirror and re-built or installed again, in order to perform = gcc-style bootstrap self-checking (does the compiler compile itself 3x in a= chain and produce identical binaries?)</div><div><br></div><div>the second= stage is to introduce apt-swarm and separate out packages for the document= ation and associated papers, set up reproducible builds and tests for use o= f apt-mirror and other hosting options, sort out the gpg keyring peer distr= ibution.</div><div><br></div><div>a third stage is to establish a rigorous = set of hostile attack vectors, actively seeking to shred the entire system = and make it fall over.</div><div><br></div><div>i would welcome feedback an= d assistance, this is a fascinating meta-meta-project that solves a particu= larly complex provenance and reproducability problem on moving target(s).</= div><div><br></div><div>until otherwise established a mailing list is here:= </div><div><a href=3D"https://groups.google.com/g/d12rg">https://groups.goo= gle.com/g/d12rg</a></div><div><br></div><div>one particular question i woul= d love to hear from people: i suggested putting the entirety of <a href=3D"= http://arxiv.org">arxiv.org</a> source and PDFs into debian archive form: w= hat would *you* use this for? software project management of releases, even= those from Visual Studio or Eclipse or Arduino? ERM or other Sales Force M= anagement of customer contracts? a type of blockchain which goes well beyon= d Ethereum? what else?</div><div><br></div><div>the motto, if you have seen= mythbusters, is to use [software] tools for purposes for which they were n= ever originally intended. back-to-back. and not as a rube goldberg machine.= </div><div><br></div><div>l.</div><div><br></div> </div><br><br>-- <br><div dir=3D"ltr">---<br>geometry: without it life is p= ointless<div>the fibonacci series: easy as 1 1 2 3</div><div>we are humans = and can make mistakes</div></div><br> --0000000000009e24b0066068260f--
Technical Details
Message-ID:
<O09js-ciy1-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Luke Kenneth Casson Leighton <lkcl@lkcl.net> Newsgroups: linux.debian.user,linux.debian.devel Subject: [RFC] extracting apt and dpkg for independent use for alternative purposes Date: Mon, 16 Nov 2026 19:10:02 +0100 Message-ID: <O09js-ciy1-3@gated-at.bofh.it> X-Original-To: debian-user list <debian-user@lists.debian.org>, "debian-devel@lists.debian.org" <debian-devel@lists.debian.org>, D12RG Conformal Field Theory <d12rg@googlegroups.com> X-Mailbox-Line: From debian-user-request@lists.debian.org Mon Nov 16 18:04:46 2026 Old-Return-Path: <prvs=0780f4f165=lkcl@lkcl.net> X-Amavis-Spam-Status: No, score=-2.099 tagged_above=-10000 required=5.3 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001] autolearn=unavailable autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 X-Greylist: delayed 1969 seconds by postgrey-1.37 at bendel; Mon, 16 Nov 2026 18:04:34 UTC X-Gm-Message-State: APuU4Z/OLoozPAgI0p2Eu7DTOFd6Gm3pwqx7ELb96k85NWbBce6paflv 8VV36dr1VEcWJZmHO4geE9dEdd2/9QVhY1C03HiO6zvYL0HAlwFeVnxFJX9ztprCTUgJkfrRu4j QJFWbyxtSmnBXmcqt2ktr9QSwwJYjXNM= X-Received: by 2002:a05:690e:43ce:b0:67d:c0d2:d1b1 with SMTP id 956f58d0204a3-67dc0d2d3dfmr507045d50.23.1794850301024; Mon, 16 Nov 2026 09:31:41 -0800 (PST) MIME-Version: 1.0 X-Gmail-Original-Message-ID: <CAPweEDx_B1iPoPhzd859jTJmADv=4zy-hQHqJXfBbkck_Qxr5w@mail.gmail.com> X-Gm-Features: AclHuK-XuS5rlP33sJmmMrsUbQZSXxJZApBq9FbxRzClBrxGUWzhRSD9_VuEVdY Content-Type: multipart/alternative; boundary="0000000000009e24b0066068260f" X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832943 List-ID: <debian-user.lists.debian.org> List-URL: <https://lists.debian.org/debian-user/> List-Archive: https://lists.debian.org/msgid-search/CAPweEDx_B1iPoPhzd859jTJmADv=4zy-hQHqJXfBbkck_Qxr5w@mail.gmail.com Approved: robomod@news.nic.it Lines: 181 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 16 Nov 2026 23:01:39 +0530 X-Original-Message-ID: <CAPweEDx_B1iPoPhzd859jTJmADv=4zy-hQHqJXfBbkck_Qxr5w@mail.gmail.com>