Rust Rewrite Index

dpkg

Debian package management system

Rust efforts

Original source check. The packaged source scan found zero files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Rust component

Debian packaging crates

Rust libraries and tooling for Debian package data and repository metadata. The installed-package transaction engine and maintainer-script lifecycle are separate parts of dpkg.

Evidence checked 2026-11-29

Suggested starting point

Read a Debian package database

Begin with copies of synthetic status files. Compare parsed package states, multi-architecture names and multiline fields with dpkg-query.

An index research suggestion. Check existing efforts and upstream priorities before starting a port.

Project structure

The package database tracks installed state. Archive handling, unpacking, configuration, maintainer scripts and triggers make up the installation lifecycle.

Inside the source tree

Source files by extension in this snapshot · C (172), C++ (24)

Selected components packaged from this source in Debian 13.

  • dpkg · Debian package management system
  • libdpkg-perl · Dpkg perl modules
  • dselect · Debian package management front-end
  • dpkg-dev · Debian package development tools
  • libdpkg-dev · Debian package management static library