From 0600ada30d25630b360954a270878e7476082029 Mon Sep 17 00:00:00 2001 From: asas1asas200 Date: Mon, 27 Dec 2021 05:46:43 +0800 Subject: [PATCH] xbps: fix --sync and --update examples (#7574) --- pages/linux/xbps.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/linux/xbps.md b/pages/linux/xbps.md index 85c6acca76..ad57f1fecd 100644 --- a/pages/linux/xbps.md +++ b/pages/linux/xbps.md @@ -5,7 +5,7 @@ - Install packages and synchronize them with the remote repository: -`xbps-install --synchronize {{package_name1}} {{package_name2}}` +`xbps-install --sync {{package_name1}} {{package_name2}}` - Search for a package in the remote repository: @@ -21,7 +21,7 @@ - Synchronize your repository databases and update your system and dependencies: -`xbps-install --synchronize -u` +`xbps-install --sync --update` - Remove packages that were installed as dependencies and aren't currently needed: