Re: [OpenIndiana-discuss] pkg folder size escalated
well there is this one https://github.com/omniosorg/illumos-omnios/commits/master/usr/src/pkg i would have to know a few more details about what i should be looking for. also did you mean the makefiles in pkg or the global ones? On Fri, 19 May 2023 20:08:25 +0200, Till Wegmüller wrote: > find and group the commits from > omnios-illumos https://github.com/omniosorg/illumos-omnios that modify > files under usr/src/pkg and the makefiles ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] pkg folder size escalated
On 18.05.23 22:53, Goetz T. Fischer wrote: 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? Git knowledge and patience to find and group the commits from omnios-illumos https://github.com/omniosorg/illumos-omnios that modify files under usr/src/pkg and the makefiles and push it through https://illumos.org/docs/contributing/ Probably also some Wine and nice mails to the omnios guys as they probably have already intended on doing so and have some more info about this set of commits or the diff. If you manage to find a git invocation that shows the differing files between forks, that would help a lot already. Hope this gives a starter Till ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] pkg folder size escalated
On 18.05.2023 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 Hi all, if I recall properly, it is all about pkg.openindiana.org (e.g. server side). It has to be "squashed" somehow (Alexander Pyhalov did it long time ago), I guess on preparing new release. Best regards P.S: On my OI, initially installed few years ago and constantly updated: :; pfexec du -shc /var/pkg/* 11G /var/pkg/cache 512 /var/pkg/gui_cache 1,5K /var/pkg/history 56M /var/pkg/license 512 /var/pkg/linked 512 /var/pkg/lock 512 /var/pkg/lost+found 512 /var/pkg/modified 5,5K /var/pkg/pkg5.image 12G /var/pkg/publisher 512 /var/pkg/ssl 267M /var/pkg/state 22G total ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss -- Predrag Zečević predrag.zecevic.1...@googlemail.com ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] pkg folder size escalated
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
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] pkg folder size escalated
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
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
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
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
> 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
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
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
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
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
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
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
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
> 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
[OpenIndiana-discuss] pkg folder size escalated
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