-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation of debuginfo-install command
It also describes dropping autoenable debug repositories for other commands.
- Loading branch information
Showing
2 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
.. | ||
Copyright Contributors to the libdnf project. | ||
This file is part of libdnf: https://github.com/rpm-software-management/libdnf/ | ||
|
||
Libdnf is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 2 of the License, or | ||
(at your option) any later version. | ||
|
||
Libdnf is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
|
||
You should have received a copy of the GNU General Public License | ||
along with libdnf. If not, see <https://www.gnu.org/licenses/>. | ||
|
||
.. _debuginfo_install_command_ref-label: | ||
|
||
########################## | ||
Debuginfo-install Command | ||
########################## | ||
|
||
Synopsis | ||
======== | ||
|
||
``dnf5 debuginfo-install [options] <patterns>...`` | ||
|
||
|
||
Description | ||
=========== | ||
|
||
Install the associated debuginfo packages for a given package specification. | ||
The command temporary enables corresponding debug repository for each enabled | ||
repository using following algorithm. When enabled repository ID has suffix `-rpm` | ||
then it enables <ID>-debug-rpms. When enabled repository does not have suffix `-rpm` | ||
it enables repository using pattern <ID>-debuginfo. | ||
|
||
When regular upgrade of debuginfo packages is expected, then it requires enabling | ||
of debug repository permanently using `config-manager` command. | ||
|
||
Arguments | ||
========= | ||
|
||
``<pattern>`` | ||
The pattern to install the associated debuginfo package for. | ||
|
||
Options | ||
======= | ||
|
||
``--allowerasing`` | ||
| Allow erasing of installed packages to resolve any potential dependency problems. | ||
``--skip-broken`` | ||
| Resolve any dependency problems by removing packages that are causing problems from the transaction. | ||
``--skip-unavailable`` | ||
| Allow skipping packages that are not available in repositories. All available packages will be installed. | ||
|
||
Examples | ||
======== | ||
|
||
``dnf debuginfo-install foobar`` | ||
Install the debuginfo packages for the foobar package. | ||
|
||
``dnf upgrade --enablerepo=*-debuginfo <package-name>-debuginfo`` | ||
Upgrade debuginfo package of a <package-name>. | ||
|
||
``dnf upgrade --enablerepo=*-debuginfo "*-debuginfo"`` | ||
Upgrade all debuginfo packages. |