Commit 4a8f84e 1 parent ca32ab3 commit 4a8f84e Copy full SHA for 4a8f84e
File tree 2 files changed +15
-2
lines changed
2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 59
59
## Opamfile
60
60
61
61
## External dependencies
62
+ * [ BUG] Fix apt/debian lookup for installed packages [ #6054 @rjbou ]
62
63
63
64
## Format upgrade
64
65
Original file line number Diff line number Diff line change @@ -774,12 +774,24 @@ let packages_status ?(env=OpamVariable.Map.empty) config packages =
774
774
let get_installed str_pkgs =
775
775
(* ouput:
776
776
>ii uim-gtk3 1:1.8.8-6.1 amd64 Universal ...
777
- >ii uim-gtk3-immodule:amd64 1:1.8.8-6.1 amd64 Universal ...
777
+ >ri uim-gtk3-immodule:amd64 1:1.8.8-6.1 amd64 Universal ...
778
+
779
+ First column is <desired action><package status>
780
+ * Desired action:
781
+ u = Unknown h = Hold p = Purge
782
+ i = Install r = Remove
783
+ * Package status:
784
+ n = Not-installed U = Unpacked t = Triggers-pending
785
+ c = Config-files F = Half-configured i = Installed
786
+ H = Half-installed W = Triggers-awaiting
787
+
788
+ We focus on the second element of the column
778
789
*)
779
790
let re_pkg =
780
791
Re. (compile @@ seq
781
792
[ bol;
782
- str " ii" ;
793
+ alpha;
794
+ char 'i' ;
783
795
rep1 @@ space;
784
796
group @@ rep1 @@ diff (alt [alnum; punct]) (char ':' );
785
797
(* pkg:arch convention *)
You can’t perform that action at this time.
0 commit comments