View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005613 | Kali Linux | Feature Requests | public | 2019-08-04 14:34 | 2021-07-07 15:24 |
Reporter | Balling | Assigned To | rhertzog | ||
Priority | normal | Severity | minor | Reproducibility | unable to reproduce |
Status | assigned | Resolution | open | ||
Product Version | kali-dev | ||||
Summary | 0005613: Deploy support for (p)diff incremental for apt-get update on https://http.kali.org/kali | ||||
Description | Сущ:1 http://files.viva64.com/deb viva64-release InRelease As you can see debian has incremental apt-get update (.pdiff and .diff) while with kali I have to download every day (practically) 122 MiB!!! | ||||
Hi Balling, |
|
crash, the real problem that I cannot find pdiff server side open source implementation(( I suppose debian (and Amazon which help them) should have it, though... About evaluation, I suppose it will be like 3-5 % more CPU time, but many, many times less bandwidth use... Because you do not need to do anything on kali destro side, it is all already supported (by apt). |
|
Yeah sure. I totally understand your point. (: Regarding the evaluation, I meant I guess the pdiff implementation is under evaluation (: |
|
crash, cannot you ask debian for it? It can't be propriatory! I mean it is debian and all. |
|
I will chase it. (: |
|
crash, that was hard to google but --pdiff=mirror in debmirror can do the trick, no? Are you using it, of are you using apt-mirror (apt-cacher(-ng))? |
|
crash, dak generate-index-diffs |
|
We are using reprepro to manage our repositories. It doesn't support "pdiff" files natively though it provides some "example" script that is supposed to be able to generate those: I'm not sure whether that script still works and there are many warnings in the top-level comment. It needs some tests and further investigation... |
|
BTW, another benefit, I suppose as now kali update repo on every boot, it is even better for your servers.
No! It is implemetation from 2006-2014! Do not use it please! https://salsa.debian.org/brlink/reprepro/commits/debian/docs/pdiff.example You must use dak for this purpose. Reprepro is in python, and dak is as well. Look for example how it is done in pureos. Thanks. |
|
Old code is not necessarily broken and no we won't switch to "dak" just for this feature. Changing the archive management software is not an easy operation and has many implications on other parts of our infrastructure. BTW reprepro is written in C, but the pdiff example script is written in Python. |
|
Anyway, this script is derived from dak |
|
Note to myself: look into using "rredtool" to generate those .diff files. |
|
@rhertzog |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-08-04 14:34 | Balling | New Issue | |
2019-08-09 09:25 | crash | Note Added: 0010837 | |
2019-08-09 09:33 | Balling | Note Added: 0010838 | |
2019-08-09 09:43 | crash | Note Added: 0010840 | |
2019-08-09 09:46 | Balling | Note Added: 0010841 | |
2019-08-09 09:47 | crash | Note Added: 0010842 | |
2019-08-09 10:37 | Balling | Note Added: 0010843 | |
2019-08-09 10:54 | Balling | Note Added: 0010844 | |
2019-08-13 20:42 | rhertzog | Note Added: 0010863 | |
2019-08-13 20:42 | rhertzog | Assigned To | => rhertzog |
2019-08-13 20:42 | rhertzog | Status | new => assigned |
2019-08-13 21:19 | Balling | Note Added: 0010864 | |
2019-08-15 13:38 | rhertzog | Note Added: 0010875 | |
2019-08-15 13:47 | Balling | Note Added: 0010878 | |
2019-08-15 14:51 | rhertzog | Note Added: 0010888 | |
2019-09-20 15:31 | Balling | Note Added: 0011137 |