From 6c98af405df77c33428c4b38ff2865420fff8467 Mon Sep 17 00:00:00 2001 From: John Freeman Date: Mon, 15 Oct 2018 13:44:06 +0100 Subject: [PATCH] Fixed out of disk space documentation (#488) Workaround too many args for `rm`. --- docs/_docs/upgrade.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/_docs/upgrade.md b/docs/_docs/upgrade.md index 5619dd27..f5c43622 100644 --- a/docs/_docs/upgrade.md +++ b/docs/_docs/upgrade.md @@ -97,7 +97,8 @@ commands: ```bash rm -rf /var/persistent/usr/local/src/ansible/data/* -rm -rf /var/persistent/var/cache/apt/archives/* +# Workaround for /bin/rm: cannot execute [Argument list too long] +for f in /var/persistent/var/cache/apt/archives/*.deb; do sudo rm -f "$f"; done ``` Now go back to the console where you run Vagrant and run the following to retry