News for hackers. Stuff that matters.
Re:Much faster incremental apt updates by grandinj on Sunday December 27, 2015 @08:57AM (#10797446)
No, they made the right choices. (1)Make it work. (2)Make it correct. (3)Make it fast.

Can take a long time to get to step 3 with something as safety critical as an update tool.

Re:Much faster incremental apt updates by rektide on Sunday December 27, 2015 @01:33PM (#10798264)
Sometime between the start and the end, there's often a mandatory burn it all down step required to more fully satisfy either (2) or (3). Watching hundreds of MB of data getting written to my HD for an apt-get update makes me 90% certain that Debian indeed needs to burn it all down.

To their credit, they started really early. And burning it all down seems to be an increasingly better option for purely extrinsic reasons; the late mover advantage keeps increasing, and better and better options keep emerging. A LMDB-based refactor perhaps? This is probably a pipe dream, alas: Debian developers must have a hundred different programs that all build and extend forward the original "make it work" technology, to make it survivable. And that's really my final counter to your cute linear notion of ongoing improvement: the mold is set, and there are dozens of things bound up in what has happened.

Re:Much faster incremental apt updates by julian-klode on Tuesday December 29, 2015 @12:17PM (#10807681)
Where do you want LMDB? apt has a super fast binary cache, the repositories and dpkg store their package lists as text files.

RPM systems have the advantage IIRC that they can basically just download a bunch of sqlite3 databases, which means they do not have to parse any data.

Re:Much faster incremental apt updates by hyc_symas on Sunday January 10, 2016 @05:17PM (#10877493)
AFAIK RPM uses BerkeleyDB, though it will probably switch to LMDB https://bugzilla.redhat.com/show_bug.cgi?id=1086784
Re:Much faster incremental apt updates by k__ on Sunday December 27, 2015 @09:25AM (#10797514)
> implying apt is a young tool and the maintainers didn't have many years to go from 1 to 3
Re:Much faster incremental apt updates by baghira on Sunday December 27, 2015 @09:46AM (#10797557)
According to the developer the bug was present only in the 1.1 series, which is just a few months old (it was pre-released at debconf 2015, and is not in Jessie if i'm not mistaken).
Re:Much faster incremental apt updates by r0muald on Sunday December 27, 2015 @12:32PM (#10798077)
Furthermore pdiffs were introduced in ~2006: https://www.debian-administration.org/article/439/Avoiding_s...