From 0d921d7aea9f2e1c209a0e7785e9de0057aca2fe Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Mon, 12 Oct 2026 14:48:20 -0400 Subject: [PATCH] xbps/troubleshooting/common-issues: add truncated tar error --- src/xbps/troubleshooting/common-issues.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/xbps/troubleshooting/common-issues.md b/src/xbps/troubleshooting/common-issues.md index 57882703..b3ac4a08 100644 --- a/src/xbps/troubleshooting/common-issues.md +++ b/src/xbps/troubleshooting/common-issues.md @@ -76,7 +76,7 @@ the repositories are in the staged state, which can happen due to large builds. The solution is to wait for the builds to finish. You can view the builds' progress in the [Buildbot's web interface](https://build.voidlinux.org). -### repodata errors +### repodata compression errors In March 2020, the compression format used for the repository data (repodata) was changed from gzip to zstd. If XBPS wasn't updated to version `0.54` @@ -92,6 +92,23 @@ this error is shown below. In this situation, it is necessary to follow the steps in [xbps-static](./static.md). +### truncated tar archive detected + +When doing an operation that synchronizes repositories, an error like below can +occur in some rare cases: + +``` +ERROR: failed to read archive entry: index.plist: Truncated tar archive detected while reading data +``` + +To fix this, the cached repodata should be removed and the repository should be +re-synchronized: + +``` +# rm /var/db/xbps/http*/*-repodata +# xbps-install -S +``` + ## Broken systems If your system is for some reason broken and can't perform updates or package