When the subset portage is enable inside a macaroni installation it's possible use vulner with portage engine but instead if this subset is not enable a possibility could be use the output generated by the luet search --installed . command in the JSON format.
Hereinafter, an example of the output:
$ sudo luet s --installed -o json lshw | jq
{
"stones": [
{
"name": "lshw",
"category": "sys-apps",
"version": "02.18b",
"license": "GPL-2",
"repository": "system",
"annotations": {
"subsets": {
"rules": {
"devel": [
"^/usr/include/"
],
"portage": [
"^/var/db/pkg/"
]
}
}
},
"labels": {
"DEPEND": "gtk? ( x11-libs/gtk+:2 ) sqlite? ( dev-db/sqlite:3 ) gtk? ( virtual/pkgconfig ) sqlite? ( virtual/pkgconfig )",
"IUSE": "gtk sqlite static",
"RDEPEND": "gtk? ( x11-libs/gtk+:2 ) sqlite? ( dev-db/sqlite:3 ) sys-apps/hwids",
"emerge.packages": "sys-apps/lshw",
"kit": "core-hw-kit",
"original.package.name": "sys-apps/lshw",
"original.package.slot": "0",
"original.package.version": "02.18b-r1"
}
}
]
}
My suggestion is for now check if exists the labels original.package.name and original.package.version, and then exclude package without these labels. For the other packages we need to study a different solution but it's a minor number of packages in this condition.
Thanks in advance
When the subset
portageis enable inside a macaroni installation it's possible usevulnerwith portage engine but instead if this subset is not enable a possibility could be use the output generated by theluet search --installed .command in the JSON format.Hereinafter, an example of the output:
My suggestion is for now check if exists the labels
original.package.nameandoriginal.package.version, and then exclude package without these labels. For the other packages we need to study a different solution but it's a minor number of packages in this condition.Thanks in advance