A wrapper library around dpkg to make it use tokyocabinet (or sqlite) and speed it up when reading database. See http://yourcmc.ru/wiki/Tdpkg
 
 
Go to file
Luca Bruno 71f10389a1 First commit 2010-03-14 20:18:51 +01:00
AUTHORS First commit 2010-03-14 20:18:51 +01:00
COPYING First commit 2010-03-14 20:18:51 +01:00
Makefile First commit 2010-03-14 20:18:51 +01:00
README First commit 2010-03-14 20:18:51 +01:00
cache.c First commit 2010-03-14 20:18:51 +01:00
cache.h First commit 2010-03-14 20:18:51 +01:00
tdpkg.c First commit 2010-03-14 20:18:51 +01:00

README

The `tdpkg' shared library is used to speed up dpkg .list file handling using sqlite3.
Homepage: http://lethalman.hostei.com/tdpkg.html

REQUIREMENTS

build-essential
libsqlite3-dev

BUILD

Type `make'.
You'd better not install this library, it could make your system highly unstable.

USAGE

Please make a backup copy of your /var/lib/dpkg/info directory before using tdpkg.

LD_PRELOAD="./libtdpkg.so" dpkg ...

BENCHMARKING

The operations involved with dpkg database reading are mostly done on the file system.
For this reason cleaning up the kernel cache is a must before calling either tdpkg or dpkg:

echo 1 > /proc/sys/vm/drop_caches