Migrated Debian apt-cache support to OCaml