On Sat, Dec 29, 2018 at 11:03 AM Andrew Udvare <audv...@gmail.com> wrote: > > > On Dec 29, 2018, at 10:47, Helmut Jarausch <jarau...@skynet.be> wrote: > > > > How can I find out the list of packages in @preserved-rebuild? > > There's a JSON file in /var/db/portage >
Not sure if there is anything that directly targets the API here, but this will probably work: emerge -p --nodeps @preserved-rebuild In general it is better to use portage or its API to read the package database than to go reading files directly. -- Rich