-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkg: Error extracting the archive: 'Write error' #2188
Comments
i found the culprit. i had tmpmfs="YES" in my /etc/rc.conf after commenting out that line (back to defaults, i guess...) the pkg update -f worked again. |
I had same error with my RPI FBSD. So thanks to this ticket i checked my /etc/fstab and there was this line: |
I also had the same error and this solution fixed it! Thank you! 🎉 |
Must be something in the water, same error, 12.4, Pi3, this worked, THANK YOU |
trying to upgrade packages...
tried with pkg, pkg-static, with pkg bootstrap -f and then again, and with pkg.freebsd.org as well as pkg0.bbt.freebsd.org and this one...
rebooted the vm, same problem.
rebooted an hour later, same problem.
this wasnt a problem earlier today...
`
cat /usr/local/etc/pkg/repos/FreeBSD.conf
FreeBSD: {
url: "pkg+http://pkg.freebsd.org/${ABI}/latest",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
`
getting this one:
`
pkg -d upgrade -f
DBG(1)[5372]> pkg initialized
Updating FreeBSD repository catalogue...
DBG(1)[5372]> PkgRepo: verifying update for FreeBSD
DBG(1)[5372]> PkgRepo: need forced update of FreeBSD
DBG(1)[5372]> Pkgrepo, begin update of '/var/db/pkg/repo-FreeBSD.sqlite'
DBG(1)[5372]> Request to fetch pkg+http://pkg.freebsd.org/FreeBSD:13:amd64/latest/meta.conf
DBG(1)[5372]> curl_open
DBG(1)[5372]> Fetch: fetcher used: pkg+http
DBG(1)[5372]> curl> fetching http://pkg.freebsd.org/FreeBSD:13:amd64/latest/meta.conf
DBG(1)[5372]> CURL> attempting to fetch from , left retry 3
< HTTP/1.1 200 OK
Fetching meta.conf: 0%< Server: nginx
< Date: Fri, 06 Oct 2023 00:23:39 GMT
< Content-Type: application/octet-stream
< Content-Length: 163
< Last-Modified: Thu, 13 Feb 2020 23:51:13 GMT
< Connection: keep-alive
< ETag: "5e45e0f1-a3"
< Expires: Fri, 06 Oct 2023 00:23:39 GMT
< Cache-Control: max-age=0
< Cache-Control: private
< Accept-Ranges: bytes
<
Fetching meta.conf: 100% 163 B 0.2kB/s 00:01
DBG(1)[5372]> Request to fetch pkg+http://pkg.freebsd.org/FreeBSD:13:amd64/latest/packagesite.pkg
DBG(1)[5372]> curl_open
DBG(1)[5372]> Fetch: fetcher used: pkg+http
DBG(1)[5372]> curl> fetching http://pkg.freebsd.org/FreeBSD:13:amd64/latest/packagesite.pkg
DBG(1)[5372]> CURL> attempting to fetch from , left retry 3
< HTTP/1.1 200 OK
Fetching packagesite.pkg: 0%< Server: nginx
< Date: Fri, 06 Oct 2023 00:23:39 GMT
< Content-Type: application/octet-stream
< Content-Length: 6892172
< Last-Modified: Wed, 04 Oct 2023 08:31:29 GMT
< Connection: keep-alive
< ETag: "651d22e1-692a8c"
< Expires: Fri, 06 Oct 2023 00:23:39 GMT
< Cache-Control: max-age=0
< Cache-Control: private
< Accept-Ranges: bytes
<
Fetching packagesite.pkg: 100% 7 MiB 3.5MB/s 00:02
DBG(1)[5372]> PkgRepo: extracting packagesite.yaml of repo FreeBSD
DBG(1)[5375]> 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!
`
thanks for any tip that could get me further...
The text was updated successfully, but these errors were encountered: