debian/0000755000000000000000000000000012235747512007176 5ustar debian/copyright0000644000000000000000000000302612235723306011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: yum-utils Upstream-Contact: Yum Development Team Source: http://yum.baseurl.org/ Files: * Copyright: 2007-2011 Red Hat, Inc 2004-2007 Seth Vidal 2006-2008 NC State University 2005-2006 Duke University 2006-2007 Daniel de Kok 2005 Luke Macken 2007 Adel Gadllah 2005 Gijs Hollestelle 2005 Panu Matilainen 2009 Ville Skyttä License: GPL-2+ Files: debian/* Copyright: 2013 Mike Miller License: GPL-2+ License: GPL-2+ This program 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. . This program 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 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. debian/source/0000755000000000000000000000000012235723306010471 5ustar debian/source/format0000644000000000000000000000001412235723306011677 0ustar 3.0 (quilt) debian/yum-utils.docs0000644000000000000000000000000712235723306012010 0ustar README debian/rules0000755000000000000000000000261112235723306010251 0ustar #!/usr/bin/make -f UTILS_PRUNE = debuginfo-install find-repos-of-install needs-restarting \ package-cleanup show-changed-rco show-installed verifytree \ yum-debug-dump yum-debug-restore %: dh $@ --with python2 override_dh_auto_build: # Backup a pristine copy of l10n files for po in po/*.po po/yum-utils.pot; do cp -p $$po $$po.backup; done dh_auto_build override_dh_auto_install: dh_auto_install rm -rf debian/yum-utils/etc/NetworkManager # Purge man pages for yum plugins, not relevant to Debian for plugin in $$(ls plugins); do \ rm -f debian/yum-utils/usr/share/man/man*/yum-$$plugin.[0-9]; \ rm -f debian/yum-utils/usr/share/man/man*/yum-$$plugin.conf.[0-9]; \ done rm -rf debian/yum-utils/usr/share/man/man5 # Don't install utils that don't work at all for Debian or that are # less useful and have unfortunate or confusing names. These utils # are installed as examples instead. for n in $(UTILS_PRUNE); do \ rm -f debian/yum-utils/usr/bin/$$n; \ rm -f debian/yum-utils/usr/share/man/man*/$$n.[0-9]; \ done override_dh_auto_clean: dh_auto_clean $(MAKE) -C po clean # Restore pristine l10n files for po in po/*.backup; do test ! -e $$po || mv -f $$po $${po%%.backup}; done override_dh_installexamples: dh_installexamples chmod +x debian/yum-utils/usr/share/doc/yum-utils/examples/*.py override_dh_compress: dh_compress -Xusr/share/doc/yum-utils/examples/ debian/compat0000644000000000000000000000000212235723306010367 0ustar 9 debian/README.Debian0000644000000000000000000000066712235723306011243 0ustar yum-utils for Debian -------------------- Some of the utilities from upstream have been removed in the Debian package, either because they are non-functional on Debian systems or because of potential name confusion or conflicts. All utilities that have been removed from this package are installed as example scripts under /usr/share/doc/yum-utils/examples instead, so they are still available for reference or for local use if needed. debian/changelog0000644000000000000000000000105012235723306011037 0ustar yum-utils (1.1.31-2) unstable; urgency=low * Add Depends for missing python module dependencies: python-iniparse, python-libxml2, python-rpm, python-urlgrabber. (Closes: #724755) * Remove unpackaged commands from package description: yum-debug-dump, yum-debug-restore. * Add debian/gbp.conf for git-buildpackage. -- Mike Miller Mon, 04 Nov 2013 08:52:35 -0500 yum-utils (1.1.31-1) unstable; urgency=low * Initial release. (Closes: #547171) -- Mike Miller Mon, 19 Aug 2013 01:37:59 -0400 debian/watch0000644000000000000000000000012112235723306010214 0ustar version=3 http://yum.baseurl.org/download/yum-utils/yum-utils-([\d\.]+)\.tar\.gz debian/gbp.conf0000644000000000000000000000003612235723306010607 0ustar [DEFAULT] pristine-tar = True debian/yum-utils.examples0000644000000000000000000000026012235723306012677 0ustar debuginfo-install.py find-repos-of-install.py needs-restarting.py package-cleanup.py show-changed-rco.py show-installed.py verifytree.py yum-debug-dump.py yum-debug-restore.py debian/control0000644000000000000000000000410112235723306010570 0ustar Source: yum-utils Section: admin Priority: extra Maintainer: Mike Miller Build-Depends: debhelper (>= 9), gettext, intltool, python-all (>= 2.6.6-3~) Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/mtmiller-guest/yum-utils.git Vcs-Git: git://anonscm.debian.org/users/mtmiller-guest/yum-utils.git Standards-Version: 3.9.4 X-Python-Version: >= 2.4 Homepage: http://yum.baseurl.org/wiki/YumUtils Package: yum-utils Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-iniparse, python-libxml2, python-rpm, python-urlgrabber, yum (>= 3.2.29) Description: Utilities based around the yum package manager Yum-utils is a collection of utilities and examples for the yum package manager. It includes utilities by different authors that make yum easier and more powerful to use. The commands provided are: . * repo-graph: output a full package dependency graph in dot format * repo-rss: generate an RSS feed from one or more yum repositories * repoclosure: display a list of unresolved dependencies for a yum repository * repodiff: list differences between two or more yum repositories * repomanage: list the newest or oldest packages in a yum repository * repoquery: query information from yum repositories * reposync: synchronize yum repositories to a local directory * repotrack: track a package and its dependencies and download them * yum-builddep: install missing dependencies for building an RPM package * yum-complete-transaction: attempt to complete failed or aborted yum transactions * yum-config-manager: manage yum configuration options and yum repositories * yum-groups-manager: create and edit group metadata for a yum repository * yumdb: query and alter the yum database * yumdownloader: download RPM packages from yum repositories . On Debian and derived systems, this package can be useful for installing and managing chroots or lxc containers of yum-based distributions. The utilities for querying and managing yum repositories may also be useful for maintaining repositories of RPM packages on a Debian host. debian/patches/0000755000000000000000000000000012235723306010620 5ustar debian/patches/series0000644000000000000000000000047012235723306012036 0ustar 01_python-lib-install-path.patch 02_man-page-spelling-fixes.patch 03_show-changed-rco.1-Fix-h-help-syntax.patch 04_add-yum-debug-restore-man-page.patch 05_docs-add-missing-man-page-short-descriptions.patch 06_docs-escape-dashes-in-command-line-options.patch 07_docs-add-missing-man-pages-for-all-yum-utils.patch debian/patches/06_docs-escape-dashes-in-command-line-options.patch0000644000000000000000000010227212235723306022243 0ustar Origin: upstream, http://yum.baseurl.org/gitweb?p=yum-utils.git;a=commit;h=3fb9d69 From: Mike Miller Subject: docs: Escape dashes in command-line options By default groff interprets dashes as hyphens. Escape them in all command-line options to allow them to be copied and searched for. --- docs/package-cleanup.1 | 8 ++++---- docs/repo-rss.1 | 2 +- docs/repodiff.1 | 18 +++++++++--------- docs/repoquery.1 | 40 ++++++++++++++++++++-------------------- docs/reposync.1 | 12 ++++++------ docs/show-changed-rco.1 | 16 ++++++++-------- docs/yum-aliases.1 | 10 +++++----- docs/yum-changelog.1 | 6 +++--- docs/yum-complete-transaction.8 | 2 +- docs/yum-debug-restore.1 | 6 +++--- docs/yum-filter-data.1 | 36 ++++++++++++++++++------------------ docs/yum-fs-snapshot.conf.5 | 4 ++-- docs/yum-groups-manager.1 | 8 ++++---- docs/yum-security.8 | 26 +++++++++++++------------- docs/yum-utils.1 | 2 +- docs/yum-verify.1 | 14 +++++++------- docs/yum-versionlock.1 | 2 +- docs/yumdownloader.1 | 4 ++-- 18 files changed, 108 insertions(+), 108 deletions(-) diff --git a/docs/package-cleanup.1 b/docs/package-cleanup.1 index 9895b6f..89f933b 100644 --- a/docs/package-cleanup.1 +++ b/docs/package-cleanup.1 @@ -56,14 +56,14 @@ Do not remove kernel-devel packages when removing kernels .SH "EXAMPLES" .IP "List all dependency problems:" -\fBpackage-cleanup --problems\fP +\fBpackage-cleanup \-\-problems\fP .IP "List all packages that are not in any Yum repository:" -\fBpackage-cleanup --orphans\fP +\fBpackage-cleanup \-\-orphans\fP .IP "Remove old kernels keeping 3 and leaving old kernel-devel packages installed:" -\fBpackage-cleanup --oldkernels --count=3 --keepdevel\fP +\fBpackage-cleanup \-\-oldkernels \-\-count=3 \-\-keepdevel\fP .PP .IP "List all leaf packages with no files in a bin directory whose name begins with either 'perl' or 'python':" -\fBpackage-cleanup --leaves --exclude-bin --leaf-regex="^(perl)|(python)"\fP +\fBpackage-cleanup \-\-leaves \-\-exclude\-bin \-\-leaf\-regex="^(perl)|(python)"\fP .PP .SH "FILES" As package-cleanup uses YUM libraries for retrieving all the information, it diff --git a/docs/repo-rss.1 b/docs/repo-rss.1 index 469a316..62e00cc 100644 --- a/docs/repo-rss.1 +++ b/docs/repo-rss.1 @@ -28,7 +28,7 @@ default for non-root users. .SH "EXAMPLES" .IP "Generate an RSS for the updates-released repository and save it as updates-release.xml:" -\fBrepo-rss -f updates-released.xml updates-released\fP +\fBrepo-rss \-f updates-released.xml updates-released\fP .PP .SH "FILES" As repo-rss uses YUM libraries for retrieving all the information, it diff --git a/docs/repodiff.1 b/docs/repodiff.1 index 5d8682f..5ea6f41 100644 --- a/docs/repodiff.1 +++ b/docs/repodiff.1 @@ -3,35 +3,35 @@ .SH "NAME" repodiff \- list differences between two or more Yum repositories .SH "SYNOPSIS" -\fBrepodiff\fP --old=old_repo_baseurl --new=new_repo_baseurl +\fBrepodiff\fP \-\-old=old_repo_baseurl \-\-new=new_repo_baseurl .SH "DESCRIPTION" .PP \fBrepodiff\fP is a program which will list differences between two sets of repositories. \fBNote\fP that by default only source packages are compared. .PP .SH "GENERAL OPTIONS" -.IP "\fB\-\-old, -o\fP" +.IP "\fB\-\-old, \-o\fP" Add a repo. as an old repo. -.IP "\fB\-\-new, -n\fP" +.IP "\fB\-\-new, \-n\fP" Add a repo. as an new repo. -.IP "\fB\-\-archlist, -a\fP" +.IP "\fB\-\-archlist, \-a\fP" Add architectures to change the default from just comparing source packages. Note that if you want the same as a native "x86_64" architecture machine you just need to pass "x86_64" (this is different from earlier versions where you needed to specify "x86_64,athlon,i686,i586,i486,i386,noarch" and you still got "src"). -.IP "\fB\-\-size, -s\fP" +.IP "\fB\-\-size, \-s\fP" Output additional data about the size of the changes. -.IP "\fB\-\-compare-arch\fP" +.IP "\fB\-\-compare\-arch\fP" Normally packages are just compared based on their name, this flag makes the comparison also use the arch. So foo.i386 and foo.x86_64 are different. .SH "EXAMPLES" .IP "Compare source pkgs in two local repos:" -\fBrepodiff --old=/tmp/repo-old --new=/tmp/repo-new\fP +\fBrepodiff \-\-old=/tmp/repo-old \-\-new=/tmp/repo-new\fP .IP "Compare x86_64 compat. binary pkgs in two remote repos, and two local one:" -\fBrepodiff -a x86_64 --old=http://example.com/repo1-old --old=/tmp/repo-old --new=http://example.com/repo1-new --new=/tmp/repo-new\fP +\fBrepodiff \-a x86_64 \-\-old=http://example.com/repo1-old \-\-old=/tmp/repo-old \-\-new=http://example.com/repo1-new \-\-new=/tmp/repo-new\fP .IP "Compare x86_64 compat. binary pkgs, but also compare arch:" -\fBrepodiff -a x86_64 --compare-arch --old=http://example.com/repo1-old --old=/tmp/repo-old --new=http://example.com/repo1-new --new=/tmp/repo-new\fP +\fBrepodiff \-a x86_64 \-\-compare\-arch \-\-old=http://example.com/repo1-old \-\-old=/tmp/repo-old \-\-new=http://example.com/repo1-new \-\-new=/tmp/repo-new\fP .PP .SH "SEE ALSO" diff --git a/docs/repoquery.1 b/docs/repoquery.1 index ea08430..9ad7bad 100644 --- a/docs/repoquery.1 +++ b/docs/repoquery.1 @@ -5,7 +5,7 @@ repoquery \- query information from Yum repositories .SH "SYNOPSIS" \fBrepoquery\fP [options] .br -\fBrepoquery\fP -a [options] +\fBrepoquery\fP \-a [options] .SH "DESCRIPTION" .PP \fBrepoquery\fP is a program for querying information from YUM repositories @@ -18,7 +18,7 @@ List valid queryformat tags and exit.. Report program version and exit. .IP "\fB\-\-repoid=\fP" Specify which repository to query. Using this option disables all repositories -not explicitly enabled with --repoid option (can be used multiple times). By +not explicitly enabled with \-\-repoid option (can be used multiple times). By default repoquery uses whatever repositories are enabled in YUM configuration. .IP "\fB\-\-enablerepo=\fP" In addition to the default set, query the given additional repository, even if @@ -30,7 +30,7 @@ configuration. Can be used multiple times. Specify a path or url to a repository (same path as in a baseurl) to add to the repositories for this query. This option can be used multiple times. If you want to view only the pkgs from this repository combine this with ---repoid. The repoid for the repository is specified by . +\-\-repoid. The repoid for the repository is specified by . .IP "\fB\-\-plugins\fP" Enable YUM plugin support. .IP "\fB\-q, \-\-query\fP" @@ -64,13 +64,13 @@ config just use: \-\-setopt=option=value for repo options use: \-\-setopt=repoid .PP .SH "PACKAGE QUERY OPTIONS" .IP "\fB\-i, \-\-info\fP" -Show general information about package similarly to "rpm -qi" +Show general information about package similarly to "rpm \-qi" .IP "\fB\-l, \-\-list\fP" List files in package. .IP "\fB\-R, \-\-requires\fP" List package dependencies. .IP "\fB\-\-resolve\fP" -When used with --requires, resolve capabilities to originating packages. +When used with \-\-requires, resolve capabilities to originating packages. .IP "\fB\-\-provides\fP" List capabilities package provides. .IP "\fB\-\-obsoletes\fP" @@ -81,7 +81,7 @@ List capabilities conflicting with package. List package changelog. .IP "\fB\-\-location\fP" Show a location where the package could be downloaded from. -For example: \fBwget `repoquery --location yum`\fP +For example: \fBwget `repoquery \-\-location yum`\fP .IP "\fB\-s, \-\-source\fP" Show package source RPM name. .IP "\fB\-\-srpm\fP" @@ -95,16 +95,16 @@ Use name-epoch:version-release.architecture output format (default) .IP "\fB\-\-envra\fP" Use epoch:name-version-release.architecture output format (easier to parse than nevra) -.IP "\fB\--qf=FORMAT, \-\-queryformat=FORMAT\fP" +.IP "\fB\-\-qf=FORMAT, \-\-queryformat=FORMAT\fP" Specify custom output format for queries. You can add ":date", ":day" and ":isodate" to all the tags that are a time, and you can add ":k", ":m", ":g", ":t" and ":h" to sizes. You can also specify field width as in sprintf (Eg. %-20{name}) .IP "\fB\-\-output [text|ascii-tree|dot-tree]\fP" -Output format which can be used with --requires/--whatrequires/--obsoletes/--conflicts. +Output format which can be used with \-\-requires/\-\-whatrequires/\-\-obsoletes/\-\-conflicts. Default output is 'text'. .IP "\fB\-\-level [all|any int]\fP" -In combination with --output ascii-tree|dot-tree this option specifies the +In combination with \-\-output ascii-tree|dot-tree this option specifies the number of level to print on the tree. Default level is 'all'. .PP @@ -123,14 +123,14 @@ Query all packages that provide CAPABILITY. .IP "\fB\-\-whatrequires CAPABILITY\fP" Query all packages that require CAPABILITY. .IP "\fB\-\-alldeps\fP" -When used with --whatrequires, look for non-explicit dependencies in +When used with \-\-whatrequires, look for non-explicit dependencies in addition to explicit ones (e.g. files and Provides in addition to package names). This is the default. .IP "\fB\-\-exactdeps\fP" -When used with --whatrequires, search for dependencies only exactly as given. -This is effectively the opposite of --alldeps. +When used with \-\-whatrequires, search for dependencies only exactly as given. +This is effectively the opposite of \-\-alldeps. .IP "\fB\-\-recursive\fP" -When used with --whatrequires, query packages recursively. +When used with \-\-whatrequires, query packages recursively. .IP "\fB\-\-archlist=ARCH1[,ARCH2...]\fP" Limit the query to packages of given architecture(s). Valid values are all architectures known to rpm/yum such as 'i386' and 'src' for @@ -168,17 +168,17 @@ Query groups instead of packages. .IP "List all packages whose name contains 'perl':" \fBrepoquery '*perl*'\fP .IP "List all packages depending on openssl:" -\fBrepoquery --whatrequires openssl\fP +\fBrepoquery \-\-whatrequires openssl\fP .IP "List all package names and the repository they come from, nicely formatted:" -\fBrepoquery -a --qf "%-20{repoid} %{name}"\fP +\fBrepoquery \-a \-\-qf "%-20{repoid} %{name}"\fP .IP "List name and summary of all available updates (if any), nicely formatted:" -\fBrepoquery -a --pkgnarrow=updates --qf "%{name}:\\n%{summary}\\n"\fP +\fBrepoquery \-a \-\-pkgnarrow=updates \-\-qf "%{name}:\\n%{summary}\\n"\fP .IP "List optional packages in base group:" -\fBrepoquery -g --grouppkgs=optional -l base\fP +\fBrepoquery \-g \-\-grouppkgs=optional \-l base\fP .IP "List build requirements from 'anaconda' source rpm:" -\fBrepoquery --requires anaconda.src\fP +\fBrepoquery \-\-requires anaconda.src\fP .IP "List packages which BuildRequire gail-devel" -\fBrepoquery --archlist=src --whatrequires gail-devel\fP +\fBrepoquery \-\-archlist=src \-\-whatrequires gail-devel\fP NB: This command will only work if you have repositories enabled which include srpms. .\"TODO: Add more examples... @@ -204,7 +204,7 @@ of the following: .br \fBepoch:name-ver-rel.arch\fP .IP -For example: \fBrepoquery -l kernel-2.4.1-10.i686\fP +For example: \fBrepoquery \-l kernel-2.4.1-10.i686\fP .br Additionally wildcards (shell-style globs) can be used. diff --git a/docs/reposync.1 b/docs/reposync.1 index c1bc818..586310d 100644 --- a/docs/reposync.1 +++ b/docs/reposync.1 @@ -1,7 +1,7 @@ .\" reposync .TH "reposync" "1" "27 April 2007" "" "" .SH "NAME" -reposync - synchronize yum repositories to a local directory +reposync \- synchronize yum repositories to a local directory .SH "SYNOPSIS" \fBreposync\fP [options] .SH "DESCRIPTION" @@ -28,19 +28,19 @@ Path to download packages to: defaults to current directory. Remove packages that fail GPG signature checking after downloading. .IP "\fB\-u, \-\-urls\fP" Just list urls of what would be downloaded, don't download. -.IP "\fB\-n, \-\-newest-only\fP" +.IP "\fB\-n, \-\-newest\-only\fP" Download only newest packages per-repo. .IP "\fB\-q, \-\-quiet\fP" Output as little information as possible. .SH "EXAMPLES" .IP "Sync all packages from the 'updates' repo to the current directory:" -\fB reposync --repoid=updates\fP +\fB reposync \-\-repoid=updates\fP .IP "Sync only the newest packages from the 'updates' repo to the current directory:" -\fB reposync -n --repoid=updates\fP +\fB reposync \-n \-\-repoid=updates\fP .IP "Sync packages from the 'updates' and 'extras' repos to the current directory:" -\fB reposync --repoid=updates --repoid=extras\fP +\fB reposync \-\-repoid=updates \-\-repoid=extras\fP .IP "Sync all packages from the 'updates' repo to the \fBrepos\fP directory:" -\fB reposync -p repos --repoid=updates\fP +\fB reposync \-p repos \-\-repoid=updates\fP .SH "FILES" \fBreposync\fP uses the yum libraries for retrieving information and packages. If no configuration file is specified, the default yum diff --git a/docs/show-changed-rco.1 b/docs/show-changed-rco.1 index 4bdad51..a88c942 100644 --- a/docs/show-changed-rco.1 +++ b/docs/show-changed-rco.1 @@ -1,12 +1,12 @@ .\" show-changed-rco .TH "show-installed" "1" "30 March 2011" "James Antill" "" .SH "NAME" -show\-changed-\-rco \- show changes in an RPM package +show\-changed\-rco \- show changes in an RPM package .SH "SYNOPSIS" -\fBshow\-changed-\-rco\fP [options] +\fBshow\-changed\-rco\fP [options] .SH "DESCRIPTION" .PP -\fBshow\-changed-\-rco\fP gives a compact description of the changes to a +\fBshow\-changed\-rco\fP gives a compact description of the changes to a packages Requires, Conflicts and Obsoletes data from the installed (or old) to a specified rpm file. .SH OPTIONS @@ -22,7 +22,7 @@ Use alternative config file (default is /etc/yum.conf). .IP "\fB\-\-repoid=\fP" Specify which repository to query. Using this option disables all repositories -not explicitly enabled with --repoid option (can be used multiple times). By +not explicitly enabled with \-\-repoid option (can be used multiple times). By default repoquery uses whatever repositories are enabled in YUM configuration. .IP "\fB\-\-enablerepo=\fP" In addition to the default set, query the given additional repository, even if @@ -34,13 +34,13 @@ configuration. Can be used multiple times. Specify a path or url to a repository (same path as in a baseurl) to add to the repositories for this query. This option can be used multiple times. If you want to view only the pkgs from this repository combine this with ---repoid. The repoid for the repository is specified by . +\-\-repoid. The repoid for the repository is specified by . -.IP "\fB\-\-old-packages=\fP" +.IP "\fB\-\-old\-packages=\fP" Explicitly list the valid old packages to match the new packages against. -.IP "\fB\-\-ignore-arch\fP" +.IP "\fB\-\-ignore\-arch\fP" Ignore arch. so you can compare foo-2.i686 to foo-1.x86_64. -.IP "\fB\-\-skip-new\fP" +.IP "\fB\-\-skip\-new\fP" Only give output for packages which we've found an old package for. .PP diff --git a/docs/yum-aliases.1 b/docs/yum-aliases.1 index 8b943d4..62fae3e 100644 --- a/docs/yum-aliases.1 +++ b/docs/yum-aliases.1 @@ -26,9 +26,9 @@ last form creates a new alias. .PP .SH Explanation of alias to final result conversion .PP -When you type an aliased command, like "yum --disableexcludes UPT lsu" using +When you type an aliased command, like "yum \-\-disableexcludes UPT lsu" using the default aliases, the yum-aliases plugin first takes the first "command", by -skipping over any options, and then looks up the result (in this case "UPT" is converted to "--enablerepo=updates-testing"). If there is a match, then it will +skipping over any options, and then looks up the result (in this case "UPT" is converted to "\-\-enablerepo=updates-testing"). If there is a match, then it will replace the aliased "command" in the argument list and try again (again skipping over any options). By convention, in the default aliases list, alias "commands" that are in all CAPS only add options so you can join together a @@ -49,19 +49,19 @@ yum .B alias rm remove .PP -To always add the --skip-broken --disableexcludes=all --obsoletes options to +To always add the \-\-skip\-broken \-\-disableexcludes=all \-\-obsoletes options to the update command (but leaving the upgrade option alone), you could use: .IP yum .B alias -update \\update --skip-broken --disableexcludes=all --obsoletes +update \\update \-\-skip\-broken \-\-disableexcludes=all \-\-obsoletes .PP To override the default "up" alias to use the above update command, and never ask for confirmation, you could use: .IP yum .B alias -up update -y +up update \-y .br diff --git a/docs/yum-changelog.1 b/docs/yum-changelog.1 index 64910dc..c7b5486 100644 --- a/docs/yum-changelog.1 +++ b/docs/yum-changelog.1 @@ -14,12 +14,12 @@ is a Yum plugin for viewing package changelogs before/after updating. yum will invoke .BR yum-changelog(1) plugin if the -.B --changelog +.B \-\-changelog option or the .B changelog command is used with yum. .SH OPTIONS -.IP --changelog +.IP \-\-changelog Show changelog delta of updated packages .SH COMMANDS .IP changelog @@ -53,7 +53,7 @@ changelog stats. 33 pkgs, 12 source pkgs, 1 changelog .br .br # yum update ktechlab -.B --changelog +.B \-\-changelog .br Loading "changelog" plugin .br diff --git a/docs/yum-complete-transaction.8 b/docs/yum-complete-transaction.8 index bf32847..965c0b1 100644 --- a/docs/yum-complete-transaction.8 +++ b/docs/yum-complete-transaction.8 @@ -7,7 +7,7 @@ yum-complete-transaction \- attempt to complete failed or aborted Yum transactio .SH "GENERAL OPTIONS" .IP "\fB\-h, \-\-help\fP" Help; display a help message and then quit\&. -.IP "\fB\-\-cleanup-only\fP" +.IP "\fB\-\-cleanup\-only\fP" Only clean up only transaction journal files and exit\&. .SH "DESCRIPTION" diff --git a/docs/yum-debug-restore.1 b/docs/yum-debug-restore.1 index 15b82af..c9d388d 100644 --- a/docs/yum-debug-restore.1 +++ b/docs/yum-debug-restore.1 @@ -16,13 +16,13 @@ contained within. Output the commands that would be run to stdout. .IP "\fB\-\-shell=\fP" Output the commands that would be run to a file. -.IP "\fB\-\-install-latest\fP" +.IP "\fB\-\-install\-latest\fP" Ask yum to install the latest version of the given packages, instead of the version that was installed in the debug-dump file. -.IP "\fB\-\-ignore-arch\fP" +.IP "\fB\-\-ignore\-arch\fP" Ignore the architecture of the packages, so you can "restore" an i386 debug-dump on an x86_64 machine. -.IP "\fB\-\-filter-types=[install,remove,update,downgrade]\fP" +.IP "\fB\-\-filter\-types=[install,remove,update,downgrade]\fP" Only perform the given types of commands, so you can filter to just upgrades and installs. diff --git a/docs/yum-filter-data.1 b/docs/yum-filter-data.1 index b679162..0db4ab2 100644 --- a/docs/yum-filter-data.1 +++ b/docs/yum-filter-data.1 @@ -16,52 +16,52 @@ is treated as a match. These are the options added to yum that are available in the "list updates", "info updates", "check-update" and "update" commands. They are: .PP -.IP "\fB\--filter-vendors\fP" +.IP "\fB\-\-filter\-vendors\fP" This option includes packages which have a vendor which matches one of the passed vendor wildcard strings, or is unknown. Note that vendors can have spaces in their value, so "," is the only way to specify multiple vendors as one option argument. -.IP "\fB\--filter-rpm-groups\fP" +.IP "\fB\-\-filter\-rpm\-groups\fP" This option includes packages which have a group which matches one of the passed rpm group wildcard strings, or is unknown. Note that rpm groups can have spaces in their value, so "," is the only way to specify multiple rpm groups as one option argument. -.IP "\fB\--filter-packagers\fP" +.IP "\fB\-\-filter\-packagers\fP" This option includes packages which have a packager which matches one of the passed packager wildcard strings, or is unknown. Note that vendors can have spaces in their value, so "," is the only way to specify multiple packagers as one option argument. -.IP "\fB\--filter-licenses\fP" +.IP "\fB\-\-filter\-licenses\fP" This option includes packages which have a license which matches one of the passed license wildcard strings, or is unknown. Note that licenses can have spaces in their value, so "," is the only way to specify multiple licenses as one option argument. -.IP "\fB\--filter-arches\fP" +.IP "\fB\-\-filter\-arches\fP" This option includes packages which have a arch which matches one of the passed arch wildcard strings, or is unknown. -.IP "\fB\--filter-committers\fP" +.IP "\fB\-\-filter\-committers\fP" This option includes packages which have a committer which matches one of the passed committer wildcard strings, or is unknown. Note that committers can have spaces in their value, so "," is the only way to specify multiple committers as one option argument. Also, committer values are so loosely formed that they could contain commas too, it is recommended to not do that but you can work around it by using "?". -.IP "\fB\--filter-buildhosts\fP" +.IP "\fB\-\-filter\-buildhosts\fP" This option includes packages which have a buildhost which matches one of the passed buildhost wildcard strings, or is unknown. -.IP "\fB\--filter-urls\fP" +.IP "\fB\-\-filter\-urls\fP" This option includes packages which have a url which matches one of the passed url wildcard strings, or is unknown. -.IP "\fB\--filter-package-sizes\fP" +.IP "\fB\-\-filter\-package\-sizes\fP" This option includes packages which have a packagesize which is within one of the passed packagesize ranges, or is unknown. -.IP "\fB\--filter-archive-sizes\fP" +.IP "\fB\-\-filter\-archive\-sizes\fP" This option includes packages which have a archivesize which is within one of the passed archivesize ranges, or is unknown. -.IP "\fB\--filter-installed-sizes\fP" +.IP "\fB\-\-filter\-installed\-sizes\fP" This option includes packages which have a installedsize which is within one of the passed installedsize ranges, or is unknown. -.IP "\fB\--filter-groups\fP" +.IP "\fB\-\-filter\-groups\fP" This option includes packages which are in a yum group which matches one of the passed yum group id strings, or is unknown. Note that yum groups can have spaces in their value, so "," is the only way to specify multiple yum groups as @@ -73,27 +73,27 @@ one option argument. .PP To list all updates that are 1 MB or less use: .IP -yum --filter-package-sizes=-1m check-update +yum \-\-filter\-package\-sizes=-1m check-update .PP To apply updates that Dan Walsh has committed use: .IP -yum --filter-committers='Dan Walsh *' update +yum \-\-filter\-committers='Dan Walsh *' update .PP To list updates for a specific group use: .IP -yum --filter-rpm-groups='App*/Sys*' list updates +yum \-\-filter\-rpm-groups='App*/Sys*' list updates .PP To apply updates to a specific set of groups use: .IP -yum --filter-rpm-groups='App*/System,Devel*/Lib*,System Environment/Base' update +yum \-\-filter\-rpm\-groups='App*/System,Devel*/Lib*,System Environment/Base' update .PP To list updates for a set of yum groups use: .IP -yum --filter-groups='PostgreSQL Database,Web Server' list updates +yum \-\-filter\-groups='PostgreSQL Database,Web Server' list updates .PP To apply updates to a specific set of yum groups use: .IP -yum --filter-groups='KDE,Core,Printing Support' update +yum \-\-filter\-groups='KDE,Core,Printing Support' update .SH "SEE ALSO" .nf diff --git a/docs/yum-fs-snapshot.conf.5 b/docs/yum-fs-snapshot.conf.5 index a4b4f02..e854c48 100644 --- a/docs/yum-fs-snapshot.conf.5 +++ b/docs/yum-fs-snapshot.conf.5 @@ -27,8 +27,8 @@ created for filesystems built on LVM logical volumes. .SH OPTION - [lvm] section .IP lvcreate_size_args This is the space delimited lvcreate argument list that is used to -specify the size of the snapshot LV. Valid lvcreate size options are -l -or -L. If not specified then LVM snapshots will not be created. +specify the size of the snapshot LV. Valid lvcreate size options are \-l +or \-L. If not specified then LVM snapshots will not be created. .SH AUTHOR .RS Josef Bacik diff --git a/docs/yum-groups-manager.1 b/docs/yum-groups-manager.1 index 0451cc9..dba21d0 100644 --- a/docs/yum-groups-manager.1 +++ b/docs/yum-groups-manager.1 @@ -1,7 +1,7 @@ .\" yum-groups-manager .TH "yum-groups-manager" "1" "23 August 2008" "" "" .SH "NAME" -yum-groups-manager - create and edit yum's group metadata +yum-groups-manager \- create and edit yum's group metadata .SH "SYNOPSIS" \fByum-groups-manager\fP [options] [packages] .SH "DESCRIPTION" @@ -77,11 +77,11 @@ in yum. .SH "EXAMPLES" .IP "Create a new group metadata file, with a group called yum containing all the packages that start with yum:" -\fB yum-groups-manager --name YUM --save groups.xml 'yum*'\fP +\fB yum-groups-manager \-\-name YUM \-\-save groups.xml 'yum*'\fP .IP "After the above command, load the groups.xml data, work with the yum group, make the group not user visible, and remove the yum-skip-broken and yum-priorities packages from it:" -\fB yum-groups-manager -n YUM --merge groups.xml --remove yum-skip-broken yum-priorities --not-user-visible\fP +\fB yum-groups-manager \-n YUM \-\-merge groups.xml \-\-remove yum-skip-broken yum-priorities \-\-not\-user\-visible\fP .IP "After the above commands, add a description and a translated name to the yum group:" -\fB yum-groups-manager -n YUM --merge groups.xml --description 'This is a group with most of the yum packages in it' --translated-name 'en:yum packages'\fP +\fB yum-groups-manager \-n YUM \-\-merge groups.xml \-\-description 'This is a group with most of the yum packages in it' \-\-translated-name 'en:yum packages'\fP .SH "FILES" \fByum-groups-manager\fP uses the yum libraries for retrieving information and packages. If no configuration file is specified, the default yum diff --git a/docs/yum-security.8 b/docs/yum-security.8 index 7e260b0..80ce9b1 100644 --- a/docs/yum-security.8 +++ b/docs/yum-security.8 @@ -108,15 +108,15 @@ distribution. .SH "GENERAL OPTIONS" There are four options added to yum that are available in the "list updates", "info updates", "check-update" and "update" commands. They are: .PP -.IP "\fB\--advisory\fP" +.IP "\fB\-\-advisory\fP" This option includes packages coresponding to the advisory ID, Eg. FEDORA-2201-123. -.IP "\fB\--bz\fP" +.IP "\fB\-\-bz\fP" This option includes packages that say they fix a Bugzilla ID, Eg. 123. -.IP "\fB\--cve\fP" +.IP "\fB\-\-cve\fP" This option includes packages that say they fix a CVE - Common Vulnerabilities and Exposures ID (http://cve.mitre.org/about/), Eg. CVE-2201-0123. -.IP "\fB\--bugfixes\fP" +.IP "\fB\-\-bugfixes\fP" This option includes packages that say they fix a bugfix issue. -.IP "\fB\--security\fP" +.IP "\fB\-\-security\fP" This option includes packages that say they fix a security issue. .PP .PP @@ -125,17 +125,17 @@ This option includes packages that say they fix a security issue. .PP To list all updates that are security relevant, and get a reutrn code on whether there are security updates use: .IP -yum --security check-update +yum \-\-security check-update .PP To upgrade packages that have security errata (upgrades to the latest available package) use: .IP -yum --security update +yum \-\-security update .PP To upgrade packages that have security errata (upgrades to the last security errata package) use: .IP -yum --security update-minimal +yum \-\-security update-minimal .PP To get a list of all BZs that are fixed for packages you have installed use: .IP @@ -152,15 +152,15 @@ yum updateinfo info FEDORA-2707-4567 .PP To update packages to the latest version which contain fixes for Bugzillas 123, 456 and 789; and all security updates use: .IP -yum --bz 123 --bz 456 --bz 789 --security update +yum \-\-bz 123 \-\-bz 456 \-\-bz 789 \-\-security update .PP To update to the packages which just update Bugzillas 123, 456 and 789; and all security updates use: .IP -yum --bz 123 --bz 456 --bz 789 --security update-minimal +yum \-\-bz 123 \-\-bz 456 \-\-bz 789 \-\-security update-minimal .PP To get an info list of the latest packages which contain fixes for Bugzilla 123; CVEs CVE-2207-0123 and CVE-2207-3210; and Fedora advisories FEDORA-2707-4567 and FEDORA-2707-7654 use: .IP -yum --bz 123 --cve CVE-2207-0123 --cve CVE-2207-3210 --advisory FEDORA-2707-4567 --advisory FEDORA-2707-7654 info updates +yum \-\-bz 123 \-\-cve CVE-2207-0123 \-\-cve CVE-2207-3210 \-\-advisory FEDORA-2707-4567 \-\-advisory FEDORA-2707-7654 info updates .PP To get a list of packages which are "new". .IP @@ -183,8 +183,8 @@ James Antill . .fi .SH "BUGS" -The update-minimal command ignores the --obsoletes flag. +The update-minimal command ignores the \-\-obsoletes flag. The update-minimal command can only directly affect things atm., so if you update pkgA minimally but that requires an update to pkgB then pkgB will be updated to the newest version by the depsolver. Also the above will happen even if you've also minimally updated pkgB, if either the direct (minimal) update for pkgB happens after or if the minimal update for pkgB doesn't satisy the requirements of pkgA. -The main "problem" is that if the data is not correct the plugin cannot work correctly. For instance "--bz 123" will not fix BZ 123 if a package is updated to fix that BZ without referencing that it does so in the updateinfo.xml. +The main "problem" is that if the data is not correct the plugin cannot work correctly. For instance "\-\-bz 123" will not fix BZ 123 if a package is updated to fix that BZ without referencing that it does so in the updateinfo.xml. diff --git a/docs/yum-utils.1 b/docs/yum-utils.1 index fa830b6..702684c 100644 --- a/docs/yum-utils.1 +++ b/docs/yum-utils.1 @@ -16,7 +16,7 @@ yum\-utils \- tools for manipulating repositories and extended package managemen \fBreposync\fR \- synchronize a remote yum repository to a local directory using yum to retrieve packages \fBrepotrack\fR \- track packages and its dependencies and downloads them \fBshow-installed\fR \- gives a compact description of packages installed and makes use of comps groups in repositories -\fBverifytree\fR - verify that a local yum repository is consistent +\fBverifytree\fR \- verify that a local yum repository is consistent \fByum\-builddep\fR \- installs missing dependencies to build a specified package \fByum\-complete\-transaction\fR \- finds incomplete or aborted yum transactions and attempts to complete them \fByum\-config\-manager\fR \- toggle yum repositories, add new repositories and set main yum configuration options diff --git a/docs/yum-verify.1 b/docs/yum-verify.1 index c529fee..873d503 100644 --- a/docs/yum-verify.1 +++ b/docs/yum-verify.1 @@ -6,7 +6,7 @@ yum verify plugin \fByum\fP [options] verify [package ...] .SH "DESCRIPTION" .PP -This plugin extends \fByum\fP with some commands that give verification information on the installed system, much like rpm -V. You can change how the verification is done and which files it applies to. +This plugin extends \fByum\fP with some commands that give verification information on the installed system, much like rpm \-V. You can change how the verification is done and which files it applies to. .PP added yum \fIcommand\fPs are: .br @@ -29,7 +29,7 @@ output. It removes all false matches due to multilib and ignores changes to configuration files by default. .IP .IP "\fBverify-rpm\fP" -Is meant to be 100% compatible with rpm -V output, and any differences should be +Is meant to be 100% compatible with rpm \-V output, and any differences should be considered as bugs. .IP .IP "\fBverify-all\fP" @@ -39,15 +39,15 @@ Is used to list all the differences, including some that rpm itself will ignore. These are the options added to yum that are available in the verify commands. They are: .PP -.IP "\fB\--verify-filenames\fP" +.IP "\fB\-\-verify\-filenames\fP" This option is used to limit the filenames that the packages will perform verification. -.IP "\fB\--verify-configuration-files\fP" +.IP "\fB\-\-verify\-configuration\-files\fP" This option is only useful in the generic verify command, and will enable/disable verification of files that are tagged as configuration files. .SH "EXAMPLES" .PP -To do the same as rpm -Va, use: +To do the same as rpm \-Va, use: .IP yum verify-rpm .PP @@ -57,11 +57,11 @@ yum verify 'yum*' .PP To verify the binaries that are in a bin directory, use: .IP -yum verify --verify-filenames='*bin/*' +yum verify \-\-verify\-filenames='*bin/*' .PP To verify all include files, Eg. for multilib problems, use: .IP -yum verify-all --verify-filenames='/usr/include/*' +yum verify-all \-\-verify\-filenames='/usr/include/*' .SH "SEE ALSO" .nf diff --git a/docs/yum-versionlock.1 b/docs/yum-versionlock.1 index ee5f053..f7cd467 100644 --- a/docs/yum-versionlock.1 +++ b/docs/yum-versionlock.1 @@ -3,7 +3,7 @@ .\" .TH YUM-VERSIONLOCK 1 "28 December 2009" "" "User Manuals" .SH NAME -yum-versionlock - Version lock rpm packages +yum-versionlock \- Version lock rpm packages .SH SYNOPSIS .B yum-versionlock [ package-name [ package-name]] ... diff --git a/docs/yumdownloader.1 b/docs/yumdownloader.1 index 1165548..e290268 100644 --- a/docs/yumdownloader.1 +++ b/docs/yumdownloader.1 @@ -31,9 +31,9 @@ for more information .SH "EXAMPLES" .IP "Download the kernel RPM to /var/tmp:" -\fByumdownloader --destdir /var/tmp kernel\fP +\fByumdownloader \-\-destdir /var/tmp kernel\fP .IP "List the URL for the kernel and kernel-smp RPMs:" -\fByumdownloader --urls kernel kernel-smp\fP +\fByumdownloader \-\-urls kernel kernel-smp\fP .PP .SH "FILES" As yumdownloader uses YUM libraries for retrieving all the information, it debian/patches/04_add-yum-debug-restore-man-page.patch0000644000000000000000000001157612235723306017746 0ustar Origin: upstream, http://yum.baseurl.org/gitweb?p=yum-utils.git;a=commit;h=311b33a From: James Antill Subject: Add yum-debug-restore man page. --- docs/Makefile | 2 +- docs/yum-debug-dump.1 | 7 +++++- docs/yum-debug-restore.1 | 62 ++++++++++++++++++++++++++++++++++++++++++++++ yum-utils.spec | 3 ++- 4 files changed, 71 insertions(+), 3 deletions(-) create mode 100644 docs/yum-debug-restore.1 diff --git a/docs/Makefile b/docs/Makefile index d01c1e4..13ea4e7 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,7 +1,7 @@ DOCS = repoquery package-cleanup repo-rss yumdownloader yum-builddep yum-changelog reposync \ yum-list-data yum-filter-data yum-verify yum-utils yum-aliases yum-debug-dump yum-versionlock \ yum-groups-manager debuginfo-install repodiff yum-fs-snapshot \ - show-installed show-changed-rco + show-installed show-changed-rco yum-debug-restore DOCS5 = yum-changelog.conf yum-versionlock.conf yum-fs-snapshot.conf DOCS8 = yum-security yum-complete-transaction yumdb diff --git a/docs/yum-debug-dump.1 b/docs/yum-debug-dump.1 index 0e65a07..71e5f3f 100644 --- a/docs/yum-debug-dump.1 +++ b/docs/yum-debug-dump.1 @@ -10,11 +10,15 @@ yum-debug-dump lot of information useful to developers trying to debug a problem. .PP By default it will output a file to the current working directory named -yum_debug_dump.txt.gz. This file contains no private information but does +yum_debug_dump--