DOSE-CEVE(1)

πŸ’– DOSE-CEVE(1) β€” the ceve girlies' manual πŸ’–

okay bestie, welcome to DOSE Tools, this is ceve, and she is literally the moment.


✨ NAME ✨

ceve β€” parse package metadata πŸŽ€


🌸 SYNOPSIS 🌸

ceve [-h] [-v] [-c pkgspec] [-r pkgspec] [--depth=n] [-T format] [-G
graph type] [-o filename] input-spec [input-spec...]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so. ceve is a generalized metadata parser. She reads package specifications, extracts package metadata from them, does some little manipulations (slay), and then outputs that metadata in one of several formats. iconic behavior honestly.

input-spec is a url that says what the input format is and which file to grab the input from. for the possible list of schemes, go look at the -t parameter, she's got the receipts πŸ’…

some examples of URLs:

  • deb://Packages.gz β€” (the Debian file packages.gz in the current directory)
  • cudf:///home/examples/cudf/test.cudf β€” (the CUDF file /home/examples/cudf/test.cudf)

πŸ’œ OPTIONS πŸ’œ

πŸ“ MISC OPTIONS

  • -h, --help β€” displays the help message. the classic.
  • -v, --verbose β€” be verbose. and like, you can repeat this option for more verbosity. go off.
  • --version β€” show the program's version and exit.
  • --progress β€” print progress bars. 🫢
  • --timers β€” print timing information.
  • --quiet β€” do no print any messages. (that's what the original says and I'm not fixing it, it's giving sleepy energy 😭)

πŸ”₯ INPUT OPTIONS

Dose3 accepts files compressed with gzip(1) or bzip2(1), depending on compile-time options. no cap.

  • -t input-spec β€” select the input type. possible values are:
    • cudf β€” Cudf file format
    • pef β€” PEF file format. the PEF format (Package Exchange Format) is a generic 822 file format used to encode package dependencies. deb, opam, debsrc and edsp are all based on the pef format.
    • csw β€” OpenCSW Solaris packages binary format
    • opam β€” Opam Package universe in Opam/PEF format. this format is a 822 textual format encoding the opam universe.
    • deb β€” for Debian binary package files, also known as Packages files.
    • debsrc β€” for Debian source package files, also knows as Sources files. (yes, "knows". I'm keeping it, it's cute.)
    • edsp β€” apt-get External Dependency Solver Protocol
    • hdlist β€” RPM hdlists. Binary file format.
    • synthesis β€” urpmi synthesis hdlists. XML Based format
  • --trim β€” consider only installable packages. bye to the rest βœ‚οΈ
  • --latest n β€” consider only the latest -n most recent versions of each package, older versions of packages are ignored.
  • -c, --cone=vpkglist β€” okay so listen. the match of an atomic dependency (a package name p possibly together with a version constraint c) is the set of all packages in the repository with name p, and a version that satisfies the constraint c. the dependency cone of a package p is the set of all matches of all atomic dependencies of p, together with their respective dependency cones. the package specification pkgspec is a list of packages (separated by a semicolon), where each package is specified as follows: (name,version).

this option extracts the union of the dependency cones of all packages selected by vpkglist.

Example: =over 12

-c 'golang-golang-x-tools (= 1:0.0~git20150716.0.87156cb+dfsg1-4),golang-golang-x-tools-dev'
  • -r, --rcone=vpkglist β€” using the same syntax as in -c, this option use the reverse dependency relation to make the transitive closure. πŸ”
  • --depth n β€” in combination with the -c or -r options, this specifies the maximum depth for the transitive closure.
  • --request installation-request β€” specifies an installation request of the form "install: vpkglist" or "remove: vpkglist" or "upgrade: vpkglist" where vpkglist is a list of (real) packages possibly associated with a constraint. Ex.: bash (< 2.0), exim (= 3.1-debian1). this option can be repeated to specify install, remove and upgrade actions. πŸ’…

Examples:

--request "install: bash (< 2.0), exim (= 3.1-debian1)"
--request "upgrade: apt-cudf"

🧚 OUTPUT OPTIONS

  • -o, --outfile=filename β€” instead of stdout, send output to the file filename.
  • -d, --outdir=directory β€” set the output directory (default current directory)
  • --dot β€” save the explanation graph (one for each package) in dot format.
  • -G graph type β€” specifies the graph type format to compute. this option must be used together with the option -T dot|gml|grml. default is syn. possible values are:
    • syn β€” for the syntactic graph where disjunctions nodes and conflicts are explicitly added to the graph.
    • pkg β€” for the package graph where all dependencies are threated uniformly and conflicts are not added to the graph. (yes, "threated". we keep her exactly as she is.)
    • strdeps β€” the strong dependency graph. a package p strong depends on q iff p cannot be installed if q is not installed.
    • strcnf
    • conj β€” the conjunctive graph where only conjunctive dependencies are considered.
    • dom
  • -T format β€” specifies the output format to use. default is cnf. possible values are:
    • cnf β€” output in CNF format.
    • dimacs β€” output in DIMACS format for CNF formulae.
    • cudf β€” pretty-printed output in an RFC 822-like format
    • deb β€” binary packages in deb822 format.
    • debsrc β€” source packages in deb822 format.
    • dot β€” a graph in Dot/GraphViz format.
    • gml β€” a graph in GML format.
    • grml β€” a graph in GraphML format.
    • table β€” plain text output of three integer values: the universe size, the number of edges in the dependency graph, the number of conflicts in the universe.

🌈 DEBIAN SPECIFIC OPTIONS

Multi-arch annotations are handled by ceve. packages whose's architecture is neither the native architecture nor in the list of foreign architectures (see below) are ignored. πŸ‘‘ (again: "whose's". she said what she said, I'm not touching it.)

  • --deb-native-arch=name β€” specify the native architecture. the default behavior is to deduce the native architecture from the first package stanza in the input that has an architecture different from all.
  • --deb-foreign-archs=name [,name] ... β€” specify a comma-separated list of foreign architectures. the default is an empty list of foreign architectures.
  • --deb-ignore-essential β€” by default all essential package are considered as a dependency of all packages in the universe. this option allows the user to ignore essential packages.
  • --deb-host-arch=name β€” native/cross compile host architecture, defaults to native architecture.
  • --deb-builds-from β€” add builds-from relationship of binary packages on source packages as dependency. this allows one to create graphs for bootstrapping purposes. πŸš€
  • -P, --deb-profiles=name[,name...] β€” comma separated list of activated build profiles.
  • --deb-drop-b-d-indep β€” drop Build-Depends-Indep dependencies from Debian source packages.
  • --deb-drop-b-d-arch β€” drop Build-Depends-Arch dependencies from Debian source packages.

⭐ EXAMPLES ⭐

find all the reverse binary dependencies of the package patchutils:

dose-ceve --deb-native-arch amd64 -r patchutils -T deb \
        deb:///var/lib/apt/lists/*_dists_sid_main_binary-amd64_Packages \
        | grep-dctrl -n -s Package '' | sort -u

find all the source packages that (directly or indirectly) build depend on patchutils:

dose-ceve -T debsrc --deb-native-arch=amd64 -r patchutils \
        debsrc:///var/lib/apt/lists/*_dists_sid_main_source_Sources \
        deb:///var/lib/apt/lists/*_dists_sid_main_binary-amd64_Packages \
        | grep-dctrl -n -s Package '' | sort -u

find the source packages (-T debsrc) that have in a relation builds-from with all the binary package in the reverse dependency cone of libssl-dev (a specific version constraint).

dose-ceve --deb-builds-from --deb-native-arch=amd64 -T debsrc \
-r 'libssl-dev (>= 0.9.8)' deb://Sid-amd64-Packages-050812.bz2 \
debsrc://Sid-Sources-050812.bz2

πŸ’– that's the whole page bestie. every flag, every default, every weird little typo β€” all preserved, no cap. go build some dependency cones, you ate. 🫢

okay mwah, that's a wrap β€” this is DOSE Tools, dated 2026-07-06, and you're officially a ceve girlie now. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from