Module Dose_debian.Apt
include sig ... end
val it : Dose_common__Util.Info.tval info : ('a, unit, string, unit) Stdlib.format4 -> 'aval nt : Dose_common__Util.Notice.tval notice : ('a, unit, string, unit) Stdlib.format4 -> 'aval wt : Dose_common__Util.Warning.tval warning : ('a, unit, string, unit) Stdlib.format4 -> 'aval dt : Dose_common__Util.Debug.tval debug : ('a, unit, string, unit) Stdlib.format4 -> 'aval fatal : ('a, unit, string, 'b) Stdlib.format4 -> 'a
val blank_regexp : Pcre.regexpval parse_inst : Stdlib.in_channel -> (string * string, unit) ExtLib.Hashtbl.tval parse_inst_from_cmd : string -> (string * string, unit) ExtLib.Hashtbl.tval parse_inst_from_file : string -> (string * string, unit) ExtLib.Hashtbl.tval parse_popcon : string -> int * string * int
type apt_req=|Install of Dose_pef.Packages_types.vpkgreq list|Remove of Dose_pef.Packages_types.vpkgreq list|Upgrade of Dose_pef.Packages_types.suite option|DistUpgrade of Dose_pef.Packages_types.suite option
val parse_req : string -> string -> Dose_pef.Packages_types.vpkgreqval parse_pkg_req : Dose_pef.Packages_types.suite option -> string -> Dose_pef.Packages_types.action option * ((string * Dose_pef.Packages_types.architecture option) * Dose_pef.Packages_types.constr option) * Dose_pef.Packages_types.suite optionval parse_request_apt : string -> apt_reqparse a string containing an apt-get command line
- returns
a data structure containing the request
val parse_request_aptitude : string -> apt_req
module Pref : sig ... endfor details on the apt_preferences format : man apt_preferences
val comma_regexp : Pcre.regexpval eq_regexp : Pcre.regexpval di_regexp : Pcre.regexpval al_regexp : Pcre.regexpval parse_pref_labels : string -> (string * string) listval general_regexp : Pcre.regexpval parse_pref_package : ('a * ('b * string)) -> Pref.package_tval pin_regexp : Pcre.regexpval parse_pin : ('a * ('b * string)) -> Pref.pin_tval parse_preferences_stanza : Dose_common.Format822.stanza -> Pref.apt_preferencesval preferences_parser : (Dose_common.Format822.stanza -> 'a) -> 'a list -> Dose_common.Format822.f822_parser -> 'a listval parse_preferences_in : IO.input -> Pref.apt_preferences listparse the apt_preferences file