Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-18 Thread Predrag Zecevic via openindiana-discuss
On 2023-12-15 11:40:21, Predrag Zečević wrote: Strange is this: :; pkg list | grep golang developer/golang 1.21.1-2023.0.0.0     i-- developer/golang-121 1.21.5-2023.0.0.0     i-- But: :; ls -dlh /var/pkg/publisher/openindiana.org/pkg/developer%2Fgolang* drwxr-xr-x 2 root root 9 Dec 13

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-15 Thread Marcel Telka
On Fri, Dec 15, 2023 at 11:40:21AM +0100, Predrag Zečević via openindiana-discuss wrote: > Am I right when assuming that 'pkg update -vn' should NOT _download_ > packages? Those are not full packages, just their manifests. > > From 'man pkg': > -- >-n > >

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-15 Thread Predrag Zečević via openindiana-discuss
Strange is this: :; pkg list | grep golang developer/golang  1.21.1-2023.0.0.0     i-- developer/golang-121  1.21.5-2023.0.0.0     i-- But: :; ls -dlh /var/pkg/publisher/openindiana.org/pkg/developer%2Fgolang* drwxr-xr-x 2 root root

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-14 Thread Predrag Zečević via openindiana-discuss
On 2023-12-14 16:26, Predrag Zečević wrote: On 2023-12-14 11:52, Toomas Soome via openindiana-discuss wrote: On 14. Dec 2023, at 12:43, Marcel Telka wrote: On Thu, Dec 14, 2023 at 11:37:52AM +0100, Aurélien Larcher wrote: On Thu, Dec 14, 2023 at 10:38 AM Marcel Telka wrote: On Thu,

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-14 Thread Predrag Zečević via openindiana-discuss
On 2023-12-14 11:52, Toomas Soome via openindiana-discuss wrote: On 14. Dec 2023, at 12:43, Marcel Telka wrote: On Thu, Dec 14, 2023 at 11:37:52AM +0100, Aurélien Larcher wrote: On Thu, Dec 14, 2023 at 10:38 AM Marcel Telka wrote: On Thu, Dec 14, 2023 at 09:30:53AM +0100, Predrag

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-14 Thread Toomas Soome via openindiana-discuss
> On 14. Dec 2023, at 12:43, Marcel Telka wrote: > > On Thu, Dec 14, 2023 at 11:37:52AM +0100, Aurélien Larcher wrote: >> On Thu, Dec 14, 2023 at 10:38 AM Marcel Telka wrote: >> >>> On Thu, Dec 14, 2023 at 09:30:53AM +0100, Predrag Zečević wrote: I understand network - there can be a

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-14 Thread Marcel Telka
On Thu, Dec 14, 2023 at 11:37:52AM +0100, Aurélien Larcher wrote: > On Thu, Dec 14, 2023 at 10:38 AM Marcel Telka wrote: > > > On Thu, Dec 14, 2023 at 09:30:53AM +0100, Predrag Zečević wrote: > > > I understand network - there can be a lot of problems preventing fast > > > download, but *pkg*

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-14 Thread Aurélien Larcher
On Thu, Dec 14, 2023 at 10:38 AM Marcel Telka wrote: > On Thu, Dec 14, 2023 at 09:30:53AM +0100, Predrag Zečević wrote: > > I understand network - there can be a lot of problems preventing fast > > download, but *pkg* showing packages decreasing... > > Yes, it looks like a bug. Feel free to

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-14 Thread Marcel Telka
On Thu, Dec 14, 2023 at 09:30:53AM +0100, Predrag Zečević wrote: > I understand network - there can be a lot of problems preventing fast > download, but *pkg* showing packages decreasing... Yes, it looks like a bug. Feel free to file a bugreport. > Also, is this OK (15GB of OI packages seems

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-14 Thread Predrag Zečević via openindiana-discuss
On 2023-12-14 00:12, Marcel Telka wrote: On Wed, Dec 13, 2023 at 11:25:36PM +0100, Marcel Telka wrote: On Wed, Dec 13, 2023 at 07:04:41PM +0100, Predrag Zečević wrote: :; pfexec du -sh /var/pkg/cache/publisher/* 4,0M /var/pkg/cache/publisher/hipster-encumbered 13G

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-13 Thread Marcel Telka
On Wed, Dec 13, 2023 at 11:25:36PM +0100, Marcel Telka wrote: > On Wed, Dec 13, 2023 at 07:04:41PM +0100, Predrag Zečević wrote: > > :; pfexec du -sh /var/pkg/cache/publisher/* 4,0M > > /var/pkg/cache/publisher/hipster-encumbered 13G > > /var/pkg/cache/publisher/openindiana.org 1,0K > >

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-13 Thread Marcel Telka
On Wed, Dec 13, 2023 at 07:04:41PM +0100, Predrag Zečević wrote: > :; pfexec du -sh /var/pkg/cache/publisher/* 4,0M > /var/pkg/cache/publisher/hipster-encumbered 13G > /var/pkg/cache/publisher/openindiana.org 1,0K > /var/pkg/cache/publisher/userland I suggest to do: rm -rf

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-13 Thread Predrag Zečević via openindiana-discuss
On 2023-12-13 17:13:22, Marcel Telka wrote: On Wed, Dec 13, 2023 at 04:39:51PM +0100, Predrag Zecevic wrote: On 2023-12-13 16:33:28, Marcel Telka wrote: On Wed, Dec 13, 2023 at 04:30:27PM +0100, Predrag Zecevic wrote: 13G /var/pkg/cache/publisher What is there? Does it match `pkg

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-13 Thread Marcel Telka
On Wed, Dec 13, 2023 at 04:39:51PM +0100, Predrag Zecevic wrote: > On 2023-12-13 16:33:28, Marcel Telka wrote: > > On Wed, Dec 13, 2023 at 04:30:27PM +0100, Predrag Zecevic wrote: > > > 13G /var/pkg/cache/publisher > > What is there? Does it match `pkg publisher` output? > > > > Yes, it

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-13 Thread Predrag Zecevic via openindiana-discuss
On 2023-12-13 16:33:28, Marcel Telka wrote: On Wed, Dec 13, 2023 at 04:30:27PM +0100, Predrag Zecevic wrote: 13G /var/pkg/cache/publisher What is there? Does it match `pkg publisher` output? Yes, it matches: :; pkg publisher PUBLISHER   TYPE STATUS P LOCATION

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-13 Thread Marcel Telka
On Wed, Dec 13, 2023 at 04:30:27PM +0100, Predrag Zecevic wrote: > 13G /var/pkg/cache/publisher What is there? Does it match `pkg publisher` output? -- +---+ | Marcel Telka e-mail: mar...@telka.sk | |homepage: http://telka.sk/ |

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-13 Thread Predrag Zecevic via openindiana-discuss
On 2023-12-13 15:50:12, Marcel Telka wrote: On 13. Dec 2023, at 15:13, Predrag Zecevic wrote: :; du -sh /var/pkg/cache/ 13G /var/pkg/cache/ How big is /var/pkg/cache/tmp ? :; du -sh /var/pkg/cache/* 38M /var/pkg/cache/actions.offsets 110M    /var/pkg/cache/actions.stripped 429M   

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-13 Thread Marcel Telka
> > > On 13. Dec 2023, at 15:13, Predrag Zecevic > > > wrote: > > > :; du -sh /var/pkg/cache/ > > > 13G /var/pkg/cache/ How big is /var/pkg/cache/tmp ? -- +---+ | Marcel Telka e-mail: mar...@telka.sk | |homepage:

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-13 Thread Predrag Zecevic via openindiana-discuss
On 2023-12-13 15:34:38, Toomas Soome wrote: On 13. Dec 2023, at 15:13, Predrag Zecevic wrote: On 2023-12-13 13:35:03, Toomas Soome wrote: On 13. Dec 2023, at 14:30, Predrag Zecevic via openindiana-discuss wrote: Hi all, I have searched for solution first, and could not find it...

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-13 Thread Toomas Soome via openindiana-discuss
> On 13. Dec 2023, at 15:13, Predrag Zecevic > wrote: > > On 2023-12-13 13:35:03, Toomas Soome wrote: >> >> >>> On 13. Dec 2023, at 14:30, Predrag Zecevic via openindiana-discuss >>> wrote: >>> >>> Hi all, >>> >>> I have searched for solution first, and could not find it... >>> >>> My

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-13 Thread Predrag Zecevic via openindiana-discuss
On 2023-12-13 13:35:03, Toomas Soome wrote: On 13. Dec 2023, at 14:30, Predrag Zecevic via openindiana-discuss wrote: Hi all, I have searched for solution first, and could not find it... My /var/pkg is huge: :; pfexec du -shc /var/pkg/* 13G /var/pkg/cache 512 /var/pkg/gui_cache

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-13 Thread Toomas Soome via openindiana-discuss
> On 13. Dec 2023, at 14:30, Predrag Zecevic via openindiana-discuss > wrote: > > Hi all, > > I have searched for solution first, and could not find it... > > My /var/pkg is huge: > > :; pfexec du -shc /var/pkg/* > 13G /var/pkg/cache > 512 /var/pkg/gui_cache > 5,0K

[OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-13 Thread Predrag Zecevic via openindiana-discuss
Hi all, I have searched for solution first, and could not find it... My /var/pkg is huge: :; pfexec du -shc /var/pkg/* 13G /var/pkg/cache 512 /var/pkg/gui_cache 5,0K    /var/pkg/history 61M /var/pkg/license 512 /var/pkg/linked 512 /var/pkg/lock 512 /var/pkg/modified