Re: [OpenIndiana-discuss] pkg folder size escalated

2023-05-18 Thread Goetz T. Fischer
to be clear, the things i pointed out here are just minor inconveniences. 
overall i think indiana is 
great. the very up-to-date repo including big irons like firefox and 
libreoffice in particular. but the 
"core" os also ran very well for me so far. in some ways even better than the 
original solaris.
if i can help out in some way as mentioned i wouldn't mind doing so. for 
details about that and myself i 
would however prefer a bit more private setting.

On Thu, 18 May 2023 22:53:26 +0200, Goetz T. Fischer wrote:
>> We would be quite happy if somebody started carrying the torch in
>> bringing those package manifest changes upstream into illumos from
>> illumos-omnios.
> 
> what would be required to do so?

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] pkg folder size escalated

2023-05-18 Thread Goetz T. Fischer
On Thu, 18 May 2023 11:47:03 +0200, Andreas Wacknitz wrote:
> You are comparing apples to oranges

i'm comparing package managers and i see that for roughly the same kind and 
number of packages the local 
indiana folder takes much more space than others. in my humble opinion too much 
space. why that is and 
whether that's for good reason or not is of course debatable.
what i dare to criticize however is that the default setting makes the folder 
in question grow more or 
less infinitely which is lacking in practical relevance.

On Thu, 18 May 2023 12:53:48 +0200, Till Wegmüller wrote:
> The specific difference you are describing is purely due to our package
> manifests not having received a major update to split up SUNWCS.

much thanks for the insight!

> We would be quite happy if somebody started carrying the torch in
> bringing those package manifest changes upstream into illumos from
> illumos-omnios.

what would be required to do so?

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] OpenIndiana community mailing list management broken

2023-05-18 Thread Espen Martinsen/privat
…
... as found in the archive :-)
https://www.mail-archive.com/openindiana-discuss@openindiana.org/




> On 17 May 2023, at 16:58, Leonard Sitongia  wrote:
> 
> Sorry to spam the list with this, but I've tried more direct methods with no 
> answer.
> 
> The mailman pages for this list are broken. 404 error. File not found. The 
> link at the bottom of email and the same in the openindiana.org page fail.
> 
> 
> 404
> 
> *File not found*
> 
> The site configured at this address does not contain the requested file.
> 
> -- 
> ==Leonard
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] pkg folder size escalated

2023-05-18 Thread Alan Coopersmith

On 5/18/23 02:39, Goetz T. Fischer wrote:

i know what illumos is and where it came from and i didn't imply it had to be 
the same either. my
question was about the size of the pkg folder and that i think it's too big. 
which then turned out to be
right considering the solution with flush-content-cache-on-success and its 
result. the latter should be
True by default if i may suggest that.


Solaris changed the default to True before 11.0 shipped:
https://github.com/oracle/solaris-ips/commit/528306cd9b19b442f56ebad250d3caf15420d077
but I believe the full change also required changes to the
distro-const manifests which are not openly published.

-alan-

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] pkg folder size escalated

2023-05-18 Thread Till Wegmüller
The Software and packaging framework to make packages is roughly the 
same though features have diverged even inbetween illumos distros 
(although a merge is planned there) The package graph however ist 
completely distro dependant. And also different illumos gat forks like 
illumos-omnios have differing package manifests that change the package 
graph extremely.


The specific difference you are describing is purely due to our package 
manifests not having received a major update to split up SUNWCS. Solaris 
finished that migration post source closure/fork. illumos-omnios also 
has updated manifests so omnios will have a smaller chache of files. 
Please also note that linked zones share this cache and it is used to 
restore your system with pkg fix although anything missing will be 
downloaded. In case of openindiana since we are rolling release there is 
however a chance that you'll have to upgrade first before having all 
files available to download and fix the system when a diskoutage too 
your root pool down.


We would be quite happy if somebody started carrying the torch in 
bringing those package manifest changes upstream into illumos from 
illumos-omnios.


-Till


On 18.05.23 11:39, Goetz T. Fischer wrote:

On Thu, 18 May 2023 11:59:52 +0300, Toomas Soome via openindiana-discuss wrote:

those numbers are meaningless without checking what is inside of those files.


sure, but only to some extend. it's both ips. unless of course illumos did a 
massive rewrite there and
just kept the name for historical reasons. and the options and the messages and 
the package format and
... you get the idea :-)


illumos (openindiana) is not solaris. The systems are different and we are not 
intending
to be free clone of Solaris.


i know what illumos is and where it came from and i didn't imply it had to be 
the same either. my
question was about the size of the pkg folder and that i think it's too big. 
which then turned out to be
right considering the solution with flush-content-cache-on-success and its 
result. the latter should be
True by default if i may suggest that.
as for the size, i think even the original solaris pkg folder is too big for 
that number of packages.
looking at rhel for example i see 65mb for 485 packages. of course that depends 
on what packages they
are but it does give a rough estimate.

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] pkg folder size escalated

2023-05-18 Thread Andreas Wacknitz

Am 18.05.23 um 11:39 schrieb Goetz T. Fischer:

On Thu, 18 May 2023 11:59:52 +0300, Toomas Soome via openindiana-discuss wrote:

those numbers are meaningless without checking what is inside of those files.

sure, but only to some extend. it's both ips. unless of course illumos did a 
massive rewrite there and
just kept the name for historical reasons. and the options and the messages and 
the package format and
... you get the idea :-)


illumos (openindiana) is not solaris. The systems are different and we are not 
intending
to be free clone of Solaris.

i know what illumos is and where it came from and i didn't imply it had to be 
the same either. my
question was about the size of the pkg folder and that i think it's too big. 
which then turned out to be
right considering the solution with flush-content-cache-on-success and its 
result. the latter should be
True by default if i may suggest that.
as for the size, i think even the original solaris pkg folder is too big for 
that number of packages.
looking at rhel for example i see 65mb for 485 packages. of course that depends 
on what packages they
are but it does give a rough estimate.



You are comparing apples to oranges. Nevertheless is openindiana a
community project.
So you are free to help us improving it.
Stating shortfalls is a beginning but you have better chances to enhance
oi if you provide changes in form of PR's.
At the moment we have only roughly a handfull of people caring for
oi-userland.
As I have stated before you don't need to be a developer in order to
help maintaining openindiana.

Andreas


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] pkg folder size escalated

2023-05-18 Thread Goetz T. Fischer
On Thu, 18 May 2023 11:59:52 +0300, Toomas Soome via openindiana-discuss wrote:
> those numbers are meaningless without checking what is inside of those files.

sure, but only to some extend. it's both ips. unless of course illumos did a 
massive rewrite there and 
just kept the name for historical reasons. and the options and the messages and 
the package format and 
... you get the idea :-)

> illumos (openindiana) is not solaris. The systems are different and we are 
> not intending 
> to be free clone of Solaris.

i know what illumos is and where it came from and i didn't imply it had to be 
the same either. my 
question was about the size of the pkg folder and that i think it's too big. 
which then turned out to be 
right considering the solution with flush-content-cache-on-success and its 
result. the latter should be 
True by default if i may suggest that.
as for the size, i think even the original solaris pkg folder is too big for 
that number of packages. 
looking at rhel for example i see 65mb for 485 packages. of course that depends 
on what packages they 
are but it does give a rough estimate.

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] pkg folder size escalated

2023-05-18 Thread Toomas Soome via openindiana-discuss



> On 18. May 2023, at 11:31, Goetz T. Fischer  wrote:
> 
> that's way too much. i have 520 packages on solaris 11.4 and that's 200mb.
> on indiana i have 388 packages but pkg is 619mb.
> 

those numbers are meaningless without checking what is inside of those files. 
Also, you need to keep in mind that illumos (openindiana) is not solaris. The 
systems are different and we are not intending to be free clone of Solaris.

rgds,
toomas


> On Thu, 18 May 2023 10:15:09 +0200, Stephan Althaus wrote:
>> and pkg update i now have 2.33G.
>> 
>> That may be normal for >1500 packages:
>> 
>> $ pkg list | wc
>>15724742  127355
>> 
>> 
>> ___
>> openindiana-discuss mailing list
>> openindiana-discuss@openindiana.org
>> https://openindiana.org/mailman/listinfo/openindiana-discuss
> 
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] pkg folder size escalated

2023-05-18 Thread Goetz T. Fischer
that's way too much. i have 520 packages on solaris 11.4 and that's 200mb.
on indiana i have 388 packages but pkg is 619mb.

On Thu, 18 May 2023 10:15:09 +0200, Stephan Althaus wrote:
> and pkg update i now have 2.33G.
> 
> That may be normal for >1500 packages:
> 
> $ pkg list | wc
> 15724742  127355
> 
> 
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] pkg folder size escalated

2023-05-18 Thread Stephan Althaus

On 5/18/23 10:15, Stephan Althaus wrote:

On 5/18/23 09:08, Toomas Soome via openindiana-discuss wrote:

pkg property | grep flush-content-cache-on-success



Thank you very much for the hint, Toomas !!!

:-)

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] pkg folder size escalated

2023-05-18 Thread Stephan Althaus

On 5/18/23 09:51, Goetz T. Fischer wrote:

it was set to False and i set it to True, did a "pkg refresh" and then it got 
even bigger. so i
uninstalled something to see what happens and after that it lost around 35% in 
size. still more than 3
times the size of the pkg folder in solaris 11.4.

On Thu, 18 May 2023 09:10:22 +0200, Stephan Althaus wrote:

On 5/18/23 09:08, Toomas Soome via openindiana-discuss wrote:

pkg property

$ pkg property|grep fl
flush-content-cache-on-success False


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


after setting

pkg set-propoerty flush-content-cache-on-success True

and pkg update i now have 2.33G.

That may be normal for >1500 packages:

$ pkg list | wc
    1572    4742  127355



___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] pkg folder size escalated

2023-05-18 Thread Toomas Soome via openindiana-discuss
Set it True and then you need to install/remove some packages or run pkg 
update. 

Sent from my iPhone

> On 18. May 2023, at 10:10, Stephan Althaus  
> wrote:
> 
> On 5/18/23 09:08, Toomas Soome via openindiana-discuss wrote:
>> pkg property
> 
> $ pkg property|grep fl
> flush-content-cache-on-success False
> 
> 
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] pkg folder size escalated

2023-05-18 Thread Goetz T. Fischer
it was set to False and i set it to True, did a "pkg refresh" and then it got 
even bigger. so i 
uninstalled something to see what happens and after that it lost around 35% in 
size. still more than 3 
times the size of the pkg folder in solaris 11.4.

On Thu, 18 May 2023 09:10:22 +0200, Stephan Althaus wrote:
> On 5/18/23 09:08, Toomas Soome via openindiana-discuss wrote:
>> pkg property
> 
> $ pkg property|grep fl
> flush-content-cache-on-success False
> 
> 
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] pkg folder size escalated

2023-05-18 Thread Stephan Althaus

On 5/18/23 09:08, Toomas Soome via openindiana-discuss wrote:

pkg property


$ pkg property|grep fl
flush-content-cache-on-success False


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] pkg folder size escalated

2023-05-18 Thread Stephan Althaus

On 5/18/23 07:22, Goetz T. Fischer wrote:

hello everyone,

after a fresh indiana installation and removing a couple of packages my 
/var/pkg folder is more than
700mb! doing comparable things with solaris 11.4 leaves me with a /var/pkg size 
of less than 200.
how can i clean that up safely and how can i keep it from escalating again in 
the future?

thanks in advance for any help


--
R-A-C
Götz T. Fischer CertIT&Comp
+49(0)7225/98 98 79
g.fisc...@r-a-c.de
r-a-c.de

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Hello!

Uuh, my laptop has 35.2G in  /var/pkg,
my tiny server has 23.5G.
Both are installations from ~5(?) years ago..

Yes, it would be nice if that is (automatically) cleaned up after a pkg 
update.


Regards,
Stephan


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] pkg folder size escalated

2023-05-18 Thread Toomas Soome via openindiana-discuss


> On 18. May 2023, at 08:22, Goetz T. Fischer  wrote:
> 
> hello everyone,
> 
> after a fresh indiana installation and removing a couple of packages my 
> /var/pkg folder is more than 
> 700mb! doing comparable things with solaris 11.4 leaves me with a /var/pkg 
> size of less than 200.
> how can i clean that up safely and how can i keep it from escalating again in 
> the future?
> 
> thanks in advance for any help
> 

what does ‘pkg property’ output for flush-content-cache-on-success?

rgds,
toomas
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss