error on pkg update

Hello!
pkg say cannot extract the archive.

output of pkg update:
Updating FreeBSD repository catalogue...
Fetching meta.conf: 100% 163 B 0.2kB/s 00:01
Fetching packagesite.pkg: 100% 7 MiB 14.4kB/s 07:58
pkg: Error extracting the archive: 'Write error'
pkg: No signature found
Unable to update repository FreeBSD
Error updating repositories!

where it should extract the archive?
 
nothing about extracting or writing to storage:

Code:
DBG(1)[4723]> pkg initialized
Updating FreeBSD repository catalogue...
DBG(1)[4723]> PkgRepo: verifying update for FreeBSD
DBG(1)[4723]> PkgRepo: need forced update of FreeBSD
DBG(1)[4723]> Pkgrepo, begin update of '/var/db/pkg/repo-FreeBSD.sqlite'
DBG(1)[4723]> Request to fetch pkg+http://pkg0.twn.FreeBSD.org/FreeBSD:13:amd64/quarterly/meta.conf
DBG(1)[4723]> opening libfetch fetcher
DBG(1)[4723]> Fetch > libfetch: connecting
DBG(1)[4723]> Fetch: fetching from: http://pkg0.twn.freebsd.org/FreeBSD:13:amd64/quarterly/meta.conf with opts "i"
DBG(1)[4723]> Fetch: fetcher chosen: http
Fetching meta.conf: 100%    163 B   0.2kB/s    00:01
DBG(1)[4723]> Request to fetch pkg+http://pkg0.twn.FreeBSD.org/FreeBSD:13:amd64/quarterly/packagesite.pkg
DBG(1)[4723]> opening libfetch fetcher
DBG(1)[4723]> Fetch > libfetch: connecting
DBG(1)[4723]> Fetch: fetching from: http://pkg0.twn.freebsd.org/FreeBSD:13:amd64/quarterly/packagesite.pkg with opts "i"
DBG(1)[4723]> Fetch: fetcher chosen: http
Fetching packagesite.pkg: 100%    7 MiB  15.2kB/s    07:32
DBG(1)[4723]> PkgRepo: extracting packagesite.yaml of repo FreeBSD
DBG(1)[4760]> PkgRepo: extracting signature of repo in a sandbox
pkg: Error extracting the archive: 'Write error'
pkg: No signature found
Unable to update repository FreeBSD
Error updating repositories!
 
No!
but yesterday I remove the /tmp directory instead of contents and see Xorg and some program cannot start. I recreate this directory and set mount tmpfs parameters in fstab file. I removes the mount parameters in fstab file and try to update the repository. I'm waiting for finish...

Edit:
The promlem solved.
how the permission of /tmp should be?
 
Back
Top