Re: [OpenIndiana-discuss] Questions about /var/pkg

2024-01-12 Thread Marcel Telka
On Fri, Jan 12, 2024 at 04:08:12AM -0600, Matthew R. Trower wrote: > /var/pkg/publisher is exactly what I thought it was. I am still not clear > as to whether the format is committed(stable) across different versions of > pkg5, and therefore safe to share across BEs. The man page says: Interface

Re: [OpenIndiana-discuss] Questions about /var/pkg

2024-01-12 Thread Marcel Telka
On Thu, Jan 11, 2024 at 11:16:21PM -0600, Matthew R. Trower wrote: > Is the format of /var/pkg/publisher committed at this point? It looks to > contain cached data and downloads from publishers, which ought not to be > tied to any particular BE. If I create a ZFS dataset to share that among >

Re: [OpenIndiana-discuss] Questions about /var/pkg

2024-01-12 Thread Matthew R. Trower
On 1/12/24 03:19, Marcel Telka wrote: On Thu, Jan 11, 2024 at 11:16:21PM -0600, Matthew R. Trower wrote: Is the format of /var/pkg/publisher committed at this point? It looks to contain cached data and downloads from publishers, which ought not to be tied to any particular BE. If I create a

Re: [OpenIndiana-discuss] Questions about /var/pkg

2024-01-12 Thread Marcel Telka
On Fri, Jan 12, 2024 at 08:21:17AM -0600, Matthew R. Trower wrote: > > On 1/12/24 04:41, Marcel Telka wrote: > > On Fri, Jan 12, 2024 at 04:08:12AM -0600, Matthew R. Trower wrote: > > > /var/pkg/publisher is exactly what I thought it was. I am still not > > > clear as to whether the format is

Re: [OpenIndiana-discuss] Questions about /var/pkg

2024-01-12 Thread Matthew R. Trower
On 1/12/24 04:41, Marcel Telka wrote: On Fri, Jan 12, 2024 at 04:08:12AM -0600, Matthew R. Trower wrote: /var/pkg/publisher is exactly what I thought it was. I am still not clear as to whether the format is committed(stable) across different versions of pkg5, and therefore safe to share

Re: [OpenIndiana-discuss] Questions about /var/pkg

2024-01-12 Thread Till Wegmueller
Hi, From personal experience, Yes this data is kind of a cache. It is later merged into the publisher independant JSON. However you MUST NOT share this between BE's this directory is not safe to go back in time due to how partial download and merging works. Do NOT share /var/pkg between BE's

Re: [OpenIndiana-discuss] Questions about /var/pkg

2024-01-12 Thread Bill Sommerfeld via openindiana-discuss
On 1/12/24 06:49, Marcel Telka wrote: On Fri, Jan 12, 2024 at 08:21:17AM -0600, Matthew R. Trower wrote: If uninstalling a package places files in lost+found, then I'm well and truly confused. To confuse you a bit more here is an example: # find /var/pkg/lost+found/ -type f # echo test >

Re: [OpenIndiana-discuss] Questions about /var/pkg

2024-01-12 Thread Matthew R. Trower
Hi Till, To clarify, I only wish to share /var/pkg/publisher. /var/pkg clearly contains image-specific data, and bad bad things would happen if that were shared. Does your statement still apply specifically to /var/pkg/publisher? -- Matthew R. Trower On 1/12/24 12:25, Till Wegmueller

Re: [OpenIndiana-discuss] Questions about /var/pkg

2024-01-12 Thread Bill Sommerfeld via openindiana-discuss
On 1/12/24 16:06, Matthew R. Trower wrote: Interesting, I only knew of attributes(5).  It appears attributes(7) may have shared a common root, but has long since diverged (or maybe they're just encoded differently).  Still, they appear identical in regards to the Interface Stability attribute.

Re: [OpenIndiana-discuss] Questions about /var/pkg

2024-01-12 Thread Matthew R. Trower
On 1/12/24 18:51, Bill Sommerfeld via openindiana-discuss wrote: > Today, illumos-gate has only attributes(7). > > I believe you have stale preformatted man pages from a system installed > before https://www.illumos.org/issues/14443 landed, likely in > /usr/man/cat?/ directories that are no

Re: [OpenIndiana-discuss] Questions about /var/pkg

2024-01-12 Thread Matthew R. Trower
On 1/12/24 08:49, Marcel Telka wrote: On Fri, Jan 12, 2024 at 08:21:17AM -0600, Matthew R. Trower wrote: On 1/12/24 04:41, Marcel Telka wrote: On Fri, Jan 12, 2024 at 04:08:12AM -0600, Matthew R. Trower wrote: /var/pkg/publisher is exactly what I thought it was. I am still not clear as