|
Packit |
3a9065 |
..
|
|
Packit |
3a9065 |
Copyright (C) 2014 Red Hat, Inc.
|
|
Packit |
3a9065 |
|
|
Packit |
3a9065 |
This copyrighted material is made available to anyone wishing to use,
|
|
Packit |
3a9065 |
modify, copy, or redistribute it subject to the terms and conditions of
|
|
Packit |
3a9065 |
the GNU General Public License v.2, or (at your option) any later version.
|
|
Packit |
3a9065 |
This program is distributed in the hope that it will be useful, but WITHOUT
|
|
Packit |
3a9065 |
ANY WARRANTY expressed or implied, including the implied warranties of
|
|
Packit |
3a9065 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
Packit |
3a9065 |
Public License for more details. You should have received a copy of the
|
|
Packit |
3a9065 |
GNU General Public License along with this program; if not, write to the
|
|
Packit |
3a9065 |
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
Packit |
3a9065 |
02110-1301, USA. Any Red Hat trademarks that are incorporated in the
|
|
Packit |
3a9065 |
source code or documentation are not subject to the GNU General Public
|
|
Packit |
3a9065 |
License and may only be used or replicated with the express permission of
|
|
Packit |
3a9065 |
Red Hat, Inc.
|
|
Packit |
3a9065 |
|
|
Packit |
3a9065 |
===============
|
|
Packit |
3a9065 |
Package Cleanup
|
|
Packit |
3a9065 |
===============
|
|
Packit |
3a9065 |
|
|
Packit |
3a9065 |
A DNF-based shim imitating the original YUM-based package-cleanup utility.
|
|
Packit |
3a9065 |
|
|
Packit |
3a9065 |
--------
|
|
Packit |
3a9065 |
Synopsis
|
|
Packit |
3a9065 |
--------
|
|
Packit |
3a9065 |
|
|
Packit |
3a9065 |
``package-cleanup [options]``
|
|
Packit |
3a9065 |
|
|
Packit |
3a9065 |
-------
|
|
Packit |
3a9065 |
Options
|
|
Packit |
3a9065 |
-------
|
|
Packit |
3a9065 |
|
|
Packit |
3a9065 |
All general DNF options are accepted, see `Options` in :manpage:`dnf(8)` for details.
|
|
Packit |
3a9065 |
|
|
Packit |
3a9065 |
``--leaves``
|
|
Packit |
3a9065 |
List leaf nodes in the local RPM database.
|
|
Packit |
3a9065 |
Leaf nodes are RPMs that are not relied upon by any other RPM.
|
|
Packit |
3a9065 |
Maps to ``dnf repoquery --unneeded``.
|
|
Packit |
3a9065 |
|
|
Packit |
3a9065 |
``--orphans``
|
|
Packit |
3a9065 |
List installed packages which are not available from currently configured
|
|
Packit |
3a9065 |
repositories.
|
|
Packit |
3a9065 |
Maps to ``dnf repoquery --extras``.
|
|
Packit |
3a9065 |
|
|
Packit |
3a9065 |
``--problems``
|
|
Packit |
3a9065 |
List dependency problems in the local RPM database.
|
|
Packit |
3a9065 |
Maps to ``dnf repoquery --unsatisfied``.
|
|
Packit |
3a9065 |
|
|
Packit |
3a9065 |
``--dupes``
|
|
Packit |
3a9065 |
Scan for duplicates in the local RPM database.
|
|
Packit |
3a9065 |
Maps to ``dnf repoquery --duplicates``.
|
|
Packit |
3a9065 |
|
|
Packit |
3a9065 |
``--cleandupes``
|
|
Packit |
3a9065 |
Scan for duplicates in the local RPM database and clean out the older
|
|
Packit |
3a9065 |
versions.
|
|
Packit |
3a9065 |
Maps to ``dnf remove --duplicates``.
|
|
Packit |
3a9065 |
|
|
Packit |
3a9065 |
--------
|
|
Packit |
3a9065 |
Examples
|
|
Packit |
3a9065 |
--------
|
|
Packit |
3a9065 |
|
|
Packit |
3a9065 |
``package-cleanup --problems``
|
|
Packit |
3a9065 |
List all dependency problems.
|
|
Packit |
3a9065 |
|
|
Packit |
3a9065 |
``package-cleanup --orphans``
|
|
Packit |
3a9065 |
List all packages that are not in any DNF repository.
|
|
Packit |
3a9065 |
|
|
Packit |
3a9065 |
``package-cleanup --cleandupes``
|
|
Packit |
3a9065 |
Remove all packages that have a duplicate installed.
|