From 013df5e418c020928ececc7c1fa7d2943df2a5b6 Mon Sep 17 00:00:00 2001 From: tianci Date: Wed, 25 May 2022 12:11:58 +0800 Subject: [PATCH 1/3] Content supplement --- .../books/admin_guide/04-advanced-commands.md | 70 +++++++++---------- 1 file changed, 34 insertions(+), 36 deletions(-) diff --git a/docs/books/admin_guide/04-advanced-commands.md b/docs/books/admin_guide/04-advanced-commands.md index 3b56ae43dd..239f8a093d 100644 --- a/docs/books/admin_guide/04-advanced-commands.md +++ b/docs/books/admin_guide/04-advanced-commands.md @@ -224,45 +224,43 @@ Here are some examples of usage: * `repoquery` command: -The `repoquery` command queries the repositories. +The `repoquery` command is used to query the packages in the repository. Examples of use: - * Knowing the dependencies of an uninstalled package: - -``` -repoquery --requires -``` - - * Know the files provided by a non-installed package: - -``` -$ repoquery -l yum-utils -/etc/bash_completion.d -/etc/bash_completion.d/yum-utils.bash -/usr/bin/debuginfo-install -/usr/bin/find-repos-of-install -/usr/bin/needs-restarting -/usr/bin/package-cleanup -/usr/bin/repo-graph -/usr/bin/repo-rss -/usr/bin/repoclosure -/usr/bin/repodiff -/usr/bin/repomanage -/usr/bin/repoquery -/usr/bin/reposync -/usr/bin/repotrack -/usr/bin/show-changed-rco -/usr/bin/show-installed -/usr/bin/verifytree -/usr/bin/yum-builddep -/usr/bin/yum-config-manager -/usr/bin/yum-debug-dump -/usr/bin/yum-debug-restore -/usr/bin/yum-groups-manager -/usr/bin/yumdownloader -… -``` + * Knowing the dependencies of an package(it can be a software package that has been installed or not installed), Equivalent to `dnf deplist `. + + repoquery --requires + + * Know the files provided by a installed package(does not work for packages that are not installed), Equivalent to `rpm -ql ` + + ``` + $ repoquery -l yum-utils + /etc/bash_completion.d + /etc/bash_completion.d/yum-utils.bash + /usr/bin/debuginfo-install + /usr/bin/find-repos-of-install + /usr/bin/needs-restarting + /usr/bin/package-cleanup + /usr/bin/repo-graph + /usr/bin/repo-rss + /usr/bin/repoclosure + /usr/bin/repodiff + /usr/bin/repomanage + /usr/bin/repoquery + /usr/bin/reposync + /usr/bin/repotrack + /usr/bin/show-changed-rco + /usr/bin/show-installed + /usr/bin/verifytree + /usr/bin/yum-builddep + /usr/bin/yum-config-manager + /usr/bin/yum-debug-dump + /usr/bin/yum-debug-restore + /usr/bin/yum-groups-manager + /usr/bin/yumdownloader + … + ``` * `yumdownloader` command: From d69c0da25734108c91739b12e9109282d106da7f Mon Sep 17 00:00:00 2001 From: tianci Date: Wed, 25 May 2022 13:03:43 +0800 Subject: [PATCH 2/3] update --- docs/books/admin_guide/04-advanced-commands.md | 4 ++-- docs/index.it.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/books/admin_guide/04-advanced-commands.md b/docs/books/admin_guide/04-advanced-commands.md index 239f8a093d..e6ebf7ea9f 100644 --- a/docs/books/admin_guide/04-advanced-commands.md +++ b/docs/books/admin_guide/04-advanced-commands.md @@ -228,11 +228,11 @@ The `repoquery` command is used to query the packages in the repository. Examples of use: - * Knowing the dependencies of an package(it can be a software package that has been installed or not installed), Equivalent to `dnf deplist `. + * Display the dependencies of an package(it can be a software package that has been installed or not installed), Equivalent to `dnf deplist `. repoquery --requires - * Know the files provided by a installed package(does not work for packages that are not installed), Equivalent to `rpm -ql ` + * Display the files provided by a installed package(does not work for packages that are not installed), Equivalent to `rpm -ql ` ``` $ repoquery -l yum-utils diff --git a/docs/index.it.md b/docs/index.it.md index 5f6a9f016b..e22a6fec87 100644 --- a/docs/index.it.md +++ b/docs/index.it.md @@ -1,7 +1,7 @@ --- title: Home --- -# Documentazione Rocky Linux +[^1]# Documentazione Rocky Linux ## Benvenuto! From c87ee4fe18eeba06605ed2e2e4838f873c871ec4 Mon Sep 17 00:00:00 2001 From: tianci Date: Wed, 25 May 2022 13:14:41 +0800 Subject: [PATCH 3/3] Sorry, I touched other documents by mistake --- docs/index.it.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/index.it.md b/docs/index.it.md index e22a6fec87..7bc66e7389 100644 --- a/docs/index.it.md +++ b/docs/index.it.md @@ -1,7 +1,8 @@ --- title: Home --- -[^1]# Documentazione Rocky Linux + +# Documentazione Rocky Linux ## Benvenuto!