[OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?
Predrag Zečević
predrag.zecevic.1961 at googlemail.com
Thu Dec 14 08:30:53 UTC 2023
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
>>> /var/pkg/cache/publisher/openindiana.org 1,0K
>>> /var/pkg/cache/publisher/userland
>>
>> I suggest to do:
>>
>> rm -rf /var/pkg/cache/publisher/hipster-encumbered
>
> Oops, 13G is apparently the size of openindiana.org, so it should read:
>
> rm -rf /var/pkg/cache/publisher/openindiana.org
>
> And the answer to the question in subject is: AFAIK, yes.
>
So, I did it (removed all directories under /var/pkg/cache and empty
directory /var/pkg/publisher/userland) - so far no problems...
Actually, I saw this when tried to upgrade OS yesterday (was not able
during whole day to do it):
:; pfexec pkg update -v --be-name oi_20231213
...
Download: 0/47128 items 0.0/2300.5MB 0% complete
...
Download: 7659/47128 items 821.4/2300.5MB 35% complete (64.2k/s)
Download: 7659/47128 items 821.6/2300.5MB 35% complete (61.9k/s)
Download: 7659/47128 items 821.7/2300.5MB 35% complete
Download: 7659/47128 items 819.2/2300.5MB 35% complete
Download: 7668/47128 items 819.5/2300.5MB 35% complete (-100703550B/s)
Download: 7668/47128 items 819.7/2300.5MB 35% complete (-84004559B/s)
Download: 7668/47128 items 819.8/2300.5MB 35% complete
...
Download: 7827/47128 items 824.3/2300.5MB 35% complete (130k/s)
Errors were encountered while attempting to retrieve package or file
data for the requested operation.
Details follow:
Framework error: code: E_SSL_CONNECT_ERROR (35) reason: OpenSSL
SSL_connect: SSL_ERROR_SYSCALL in connection to pkg.openindiana.org:443
URL:
'https://pkg.openindiana.org/hipster/openindiana.org/file/1/3cc12b4cdd19433593e052b636fda419ec14dd04'
If you look at the numbers, you will see strange values (decreasing)...
I understand network - there can be a lot of problems preventing fast
download, but *pkg* showing packages decreasing...
Started new one this morning (which looks better/faster) but somehow I
have to download 2.3GB updates (0/48494 items 0.0/2312.9MB)?
My active BE is relatively new:
:; beadm list
BE Active Mountpoint Space Policy Created
oi_20231108 - - 51,87M static 2023-11-08 08:38
oi_20231122 NR / 72,12G static 2023-11-22 11:16
Also, is this OK (15GB of OI packages seems too much to me)?
:; pfexec du -sh /var/pkg/publisher/*
21M /var/pkg/publisher/hipster-encumbered
15G /var/pkg/publisher/openindiana.org
Regards.
--
Predrag Zečević
More information about the openindiana-discuss
mailing list