|
Packit Service |
27f74b |
..
|
|
Packit Service |
27f74b |
Copyright (C) 2015 Red Hat, Inc.
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
This copyrighted material is made available to anyone wishing to use,
|
|
Packit Service |
27f74b |
modify, copy, or redistribute it subject to the terms and conditions of
|
|
Packit Service |
27f74b |
the GNU General Public License v.2, or (at your option) any later version.
|
|
Packit Service |
27f74b |
This program is distributed in the hope that it will be useful, but WITHOUT
|
|
Packit Service |
27f74b |
ANY WARRANTY expressed or implied, including the implied warranties of
|
|
Packit Service |
27f74b |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
Packit Service |
27f74b |
Public License for more details. You should have received a copy of the
|
|
Packit Service |
27f74b |
GNU General Public License along with this program; if not, write to the
|
|
Packit Service |
27f74b |
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
Packit Service |
27f74b |
02110-1301, USA. Any Red Hat trademarks that are incorporated in the
|
|
Packit Service |
27f74b |
source code or documentation are not subject to the GNU General Public
|
|
Packit Service |
27f74b |
License and may only be used or replicated with the express permission of
|
|
Packit Service |
27f74b |
Red Hat, Inc.
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
================
|
|
Packit Service |
27f74b |
DNF debug Plugin
|
|
Packit Service |
27f74b |
================
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
-----------
|
|
Packit Service |
27f74b |
Description
|
|
Packit Service |
27f74b |
-----------
|
|
Packit Service |
27f74b |
|
|
Packit Service |
ae39cd |
The plugin provides two dnf commands:
|
|
Packit Service |
ae39cd |
|
|
Packit Service |
ae39cd |
``debug-dump``
|
|
Packit Service |
ae39cd |
Writes system RPM configuration to a dump file
|
|
Packit Service |
ae39cd |
|
|
Packit Service |
ae39cd |
``debug-restore``
|
|
Packit Service |
ae39cd |
Restore the installed packages to the versions written in the dump file. By
|
|
Packit Service |
ae39cd |
default, it does not remove already installed versions of install-only
|
|
Packit Service |
ae39cd |
packages and only marks those versions that are mentioned in the dump file
|
|
Packit Service |
ae39cd |
for installation. The final decision on which versions to keep on the
|
|
Packit Service |
ae39cd |
system is left to dnf and can be fine-tuned using the `installonly_limit`
|
|
Packit Service |
ae39cd |
(see :manpage:`dnf.conf(5)`) configuration option.
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
.. note:: DNF and Yum debug files are not compatible and thus can't be used
|
|
Packit Service |
27f74b |
by the other program.
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
--------
|
|
Packit Service |
27f74b |
Synopsis
|
|
Packit Service |
27f74b |
--------
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
``dnf debug-dump [--norepos] [<filename>]``
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
``dnf debug-restore [--output] [--install-latest] [--ignore-arch]
|
|
Packit Service |
27f74b |
[--filter-types = [install,remove,replace]] <filename>``
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
---------
|
|
Packit Service |
27f74b |
Arguments
|
|
Packit Service |
27f74b |
---------
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
``<filename>``
|
|
Packit Service |
27f74b |
File to write dump to or read from.
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
-------
|
|
Packit Service |
27f74b |
Options
|
|
Packit Service |
27f74b |
-------
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
All general DNF options are accepted, see `Options` in :manpage:`dnf(8)` for details.
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
``dnf debug-dump``
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
``--norepos``
|
|
Packit Service |
27f74b |
Do not dump content of enabled repos.
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
``dnf debug-restore``
|
|
Packit Service |
27f74b |
|
|
Packit Service |
369c9a |
``--filter-types=[install,remove,replace]``
|
|
Packit Service |
369c9a |
Limit package changes to specified type.
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
``--ignore-arch``
|
|
Packit Service |
27f74b |
When installing package ignore architecture and install missing packages
|
|
Packit Service |
27f74b |
matching the name, epoch, version and release.
|
|
Packit Service |
27f74b |
|
|
Packit Service |
369c9a |
``--install-latest``
|
|
Packit Service |
369c9a |
When installing use the latest package of the same name and architecture.
|
|
Packit Service |
369c9a |
|
|
Packit Service |
369c9a |
``--output``
|
|
Packit Service |
369c9a |
Only output list of packages which will be installed or removed.
|
|
Packit Service |
369c9a |
No actuall changes are done.
|
|
Packit Service |
ae39cd |
|
|
Packit Service |
ae39cd |
``--remove-installonly``
|
|
Packit Service |
ae39cd |
Allow removal of install-only packages. Using this option may result in an
|
|
Packit Service |
ae39cd |
attempt to remove the running kernel version (in situations when the currently
|
|
Packit Service |
ae39cd |
running kernel version is not part of the dump file).
|