Re: [gentoo-user] @preserved-rebuild how to find out the contents of

2018-12-29 Thread Andrew Udvare


> On 2018-12-29, at 12:33, Helmut Jarausch  wrote:
> 
> On 12/29/2018 05:03:51 PM, Andrew Udvare wrote:
>> > On Dec 29, 2018, at 10:47, Helmut Jarausch  wrote:
>> >
>> > How can I find out the list of packages in @preserved-rebuild?
>> There's a JSON file in /var/db/portage
> 
> I don't have the folder /var/db/portage here.
> Thanks,
> Helmut
> 
The file you want is /var/lib/portage/preserved_libs_registry

# cat /var/lib/portage/preserved_libs_registry
{
"dev-libs/openssl:0": [
"dev-libs/openssl-1.1.0j",
"62711",
[
"/usr/lib32/libcrypto.so.1.0.0",
"/usr/lib32/libssl.so.1.0.0",
"/usr/lib64/libcrypto.so.1.0.0",
"/usr/lib64/libssl.so.1.0.0"
]
]
}



Re: [gentoo-user] @preserved-rebuild how to find out the contents of

2018-12-29 Thread Helmut Jarausch

On 12/29/2018 05:09:02 PM, Rich Freeman wrote:
On Sat, Dec 29, 2018 at 11:03 AM Andrew Udvare   
wrote:

>
> > On Dec 29, 2018, at 10:47, Helmut Jarausch   
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.



Thanks Rich,

I'll try that later.
I've found those packages with revdep-rebuild --library ...
s.t. there aren't any packages currently in @preserved-rebuild



Re: [gentoo-user] @preserved-rebuild how to find out the contents of

2018-12-29 Thread Helmut Jarausch

On 12/29/2018 05:03:51 PM, Andrew Udvare wrote:



> On Dec 29, 2018, at 10:47, Helmut Jarausch   
wrote:

>
> How can I find out the list of packages in @preserved-rebuild?

There's a JSON file in /var/db/portage



I don't have the folder /var/db/portage here.
Thanks,
Helmut





Re: [gentoo-user] @preserved-rebuild how to find out the contents of

2018-12-29 Thread Rich Freeman
On Sat, Dec 29, 2018 at 11:03 AM Andrew Udvare  wrote:
>
> > On Dec 29, 2018, at 10:47, Helmut Jarausch  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



Re: [gentoo-user] @preserved-rebuild how to find out the contents of

2018-12-29 Thread Andrew Udvare



> On Dec 29, 2018, at 10:47, Helmut Jarausch  wrote:
> 
> How can I find out the list of packages in @preserved-rebuild?

There's a JSON file in /var/db/portage



[gentoo-user] @preserved-rebuild how to find out the contents of

2018-12-29 Thread Helmut Jarausch

Hi,

I have some old packages like dev-qt/qtcore:4 on my machine, and other  
packages which need this.


Therefore emerge -vp @preserved-rebuild  doesn't work.

How can I find out the list of packages in @preserved-rebuild?

Many thanks for a hint,
Helmut