Re: [OpenIndiana-discuss] safely cleanup pkg cache?

2021-02-28 Thread Jim Klimov via openindiana-discuss
On February 28, 2021 9:18:09 PM UTC, Stephan Althaus wrote: >On 02/26/21 09:07 PM, Andreas Wacknitz wrote: >> Am 23.02.21 um 08:00 schrieb Stephan Althaus: >>> On 02/23/21 12:13 AM, Tim Mooney via openindiana-discuss wrote: >>>> In regard to: Re: [OpenIndiana-dis

Re: [OpenIndiana-discuss] safely cleanup pkg cache?

2021-02-28 Thread Stephan Althaus
On 02/26/21 09:07 PM, Andreas Wacknitz wrote: Am 23.02.21 um 08:00 schrieb Stephan Althaus: On 02/23/21 12:13 AM, Tim Mooney via openindiana-discuss wrote: In regard to: Re: [OpenIndiana-discuss] safely cleanup pkg cache?, Andreas...: Am 21.02.21 um 22:42 schrieb Stephan Althaus: Hello

Re: [OpenIndiana-discuss] safely cleanup pkg cache?

2021-02-26 Thread Andreas Wacknitz
Am 23.02.21 um 08:00 schrieb Stephan Althaus: On 02/23/21 12:13 AM, Tim Mooney via openindiana-discuss wrote: In regard to: Re: [OpenIndiana-discuss] safely cleanup pkg cache?, Andreas...: Am 21.02.21 um 22:42 schrieb Stephan Althaus: Hello! The "-s" option does the minimal obvi

Re: [OpenIndiana-discuss] safely cleanup pkg cache?

2021-02-22 Thread Stephan Althaus
On 02/23/21 12:13 AM, Tim Mooney via openindiana-discuss wrote: In regard to: Re: [OpenIndiana-discuss] safely cleanup pkg cache?, Andreas...: Am 21.02.21 um 22:42 schrieb Stephan Althaus: Hello! The "-s" option does the minimal obvious remove of the corresponding snapshot: My

Re: [OpenIndiana-discuss] safely cleanup pkg cache?

2021-02-22 Thread Tim Mooney via openindiana-discuss
In regard to: Re: [OpenIndiana-discuss] safely cleanup pkg cache?, Andreas...: Am 21.02.21 um 22:42 schrieb Stephan Althaus: Hello! The "-s" option does the minimal obvious remove of the corresponding snapshot: My experience seems to match what Andreas and Toomas are saying: -s i

Re: [OpenIndiana-discuss] safely cleanup pkg cache?

2021-02-22 Thread Andreas Wacknitz
Am 21.02.21 um 22:42 schrieb Stephan Althaus: Hello! The "-s" option does the minimal obvious remove of the corresponding snapshot: $ beadm list BE    Active Mountpoint Space   Policy Created openindiana-2020:11:03    -  - 42.08M  static 2020-11-03 09:30

Re: [OpenIndiana-discuss] safely cleanup pkg cache?

2021-02-21 Thread Richard L. Hamilton
> On Feb 21, 2021, at 16:42, Stephan Althaus > wrote: > > Hello! > > The "-s" option does the minimal obvious remove of the corresponding snapshot: Yes, that does help simplify cleanup; thanks. ___ openindiana-discuss mailing list openindiana-dis

Re: [OpenIndiana-discuss] safely cleanup pkg cache?

2021-02-21 Thread Judah Richardson
I've always wondered this, but never had the context to ask until now: purely out of curiosity (*not* criticism), why does pkg on OI not support pkg clean or something similar? Or is there a similar OI pkg command I'm missing? Across all my desktop OSes, I typically clean my package caches after ea

Re: [OpenIndiana-discuss] safely cleanup pkg cache?

2021-02-21 Thread Stephan Althaus
Hello! The "-s" option does the minimal obvious remove of the corresponding snapshot: $ beadm list BE    Active Mountpoint Space   Policy Created openindiana-2020:11:03    -  - 42.08M  static 2020-11-03 09:30 openindiana-2020:11:26    -  - 40

Re: [OpenIndiana-discuss] safely cleanup pkg cache?

2021-02-21 Thread Andreas Wacknitz
That doesn‘t work correctly either. Von meinem iPhone gesendet > Am 21.02.2021 um 21:43 schrieb Stephan Althaus > : > > On 02/21/21 09:17 AM, Andreas Wacknitz wrote: >>> Am 21.02.21 um 09:10 schrieb Toomas Soome via openindiana-discuss: >>> On 21. Feb 2021, at 08:45, Tim Mooney via openi

Re: [OpenIndiana-discuss] safely cleanup pkg cache?

2021-02-21 Thread Stephan Althaus
On 02/21/21 09:17 AM, Andreas Wacknitz wrote: Am 21.02.21 um 09:10 schrieb Toomas Soome via openindiana-discuss: On 21. Feb 2021, at 08:45, Tim Mooney via openindiana-discuss wrote: All- My space-constrained OI hipster build VM is running low on space. It looks like either pkg caching or

Re: [OpenIndiana-discuss] safely cleanup pkg cache?

2021-02-21 Thread Richard L. Hamilton
While I'm not sure why extra snapshots seem to be involved, here's what I actually see when going through an update, looking at the results, and cleaning up. # starting with just the running BE, no extra snapshots: root@openindiana:~# pkg update Packages to install: 10 P

Re: [OpenIndiana-discuss] safely cleanup pkg cache?

2021-02-21 Thread Toomas Soome via openindiana-discuss
> On 21. Feb 2021, at 10:17, Andreas Wacknitz wrote: > > Am 21.02.21 um 09:10 schrieb Toomas Soome via openindiana-discuss: >> >>> On 21. Feb 2021, at 08:45, Tim Mooney via openindiana-discuss >>> wrote: >>> >>> >>> All- >>> >>> My space-constrained OI hipster build VM is running low on

Re: [OpenIndiana-discuss] safely cleanup pkg cache?

2021-02-21 Thread Richard L. Hamilton
Before you do that, just to cover the obvious, have you gotten rid of old boot environments (and the snapshots shown with beadm list -a) ? > On Feb 21, 2021, at 01:45, Tim Mooney via openindiana-discuss > wrote: > > > All- > > My space-constrained OI hipster build VM is running low on space.

Re: [OpenIndiana-discuss] safely cleanup pkg cache?

2021-02-21 Thread Andreas Wacknitz
Am 21.02.21 um 09:10 schrieb Toomas Soome via openindiana-discuss: On 21. Feb 2021, at 08:45, Tim Mooney via openindiana-discuss wrote: All- My space-constrained OI hipster build VM is running low on space. It looks like either pkg caching or pkg history is using quite a lot of space: $

Re: [OpenIndiana-discuss] safely cleanup pkg cache?

2021-02-21 Thread Toomas Soome via openindiana-discuss
> On 21. Feb 2021, at 08:45, Tim Mooney via openindiana-discuss > wrote: > > > All- > > My space-constrained OI hipster build VM is running low on space. > > It looks like either pkg caching or pkg history is using quite a lot of > space: > > $ pfexec du -ks /var/pkg/* | sort -n > 0

Re: [OpenIndiana-discuss] safely cleanup pkg cache?

2021-02-20 Thread Richard Lowe
History is recorded for the user only. If you don't use it you could purge it. Flushing the cache on success is fine too, anything it needs again will just get redownloaded. ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https: