[yum-cvs] docs/yum-complete-transaction.1 Makefile yum-complete-transaction.py yum-utils.spec

Seth Vidal skvidal at linux.duke.edu
Mon Dec 10 16:24:39 UTC 2007


 Makefile                        |    2 -
 docs/yum-complete-transaction.1 |   48 ++++++++++++++++++++++++++++++++++++++++
 yum-complete-transaction.py     |    2 -
 yum-utils.spec                  |    2 +
 4 files changed, 52 insertions(+), 2 deletions(-)

New commits:
commit 02c34fcb11df82d40b4a844d017501057d33d6ea
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Mon Dec 10 11:23:34 2007 -0500

    add yum-complete-transaction man page and update specfile/makefile

diff --git a/Makefile b/Makefile
index fc0c7d9..a9a9f87 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 SUBDIRS = docs
 PKGNAME = yum-utils
-UTILS = package-cleanup debuginfo-install repoclosure repomanage repoquery repo-graph repo-rss yumdownloader yum-builddep repotrack reposync
+UTILS = package-cleanup debuginfo-install repoclosure repomanage repoquery repo-graph repo-rss yumdownloader yum-builddep repotrack reposync yum-complete-transaction
 VERSION=$(shell awk '/Version:/ { print $$2 }' ${PKGNAME}.spec)
 RELEASE=$(shell awk '/Release:/ { print $$2 }' ${PKGNAME}.spec)
 WEBHOST = login.dulug.duke.edu
diff --git a/docs/yum-complete-transaction.1 b/docs/yum-complete-transaction.1
new file mode 100644
index 0000000..0e3c6d5
--- /dev/null
+++ b/docs/yum-complete-transaction.1
@@ -0,0 +1,48 @@
+.\" yum-complete-transaction
+.TH "yum-complete-transaction" "1" "2007 Dec 10" "Seth Vidal" ""
+.SH "NAME"
+yum-complete-transaction
+.SH "SYNOPSIS"
+\fByum-complete-transaction\fP
+.SH "DESCRIPTION"
+.PP 
+\fByum-complete-transaction\fP is a program which finds incomplete or
+aborted yum transactions on a system and attempts to complete them. It
+looks at the transaction-all* and transaction-done* files which can normally
+be found in /var/lib/yum if a yum transaction aborted in the middle of 
+execution.
+.PP
+If it finds more than one unfinished transaction it will attempt to complete
+the most recent one first. You can run it more than once to clean up all
+unfinished transactions.
+.PP 
+.SH "FILES"
+As yum-complete-transaction uses YUM libraries for retrieving all the information, it
+relies on YUM configuration for its default values like which repositories
+to use. Consult YUM documentation for details:
+.PP
+.nf 
+/etc/yum.conf
+/etc/yum/repos.d/
+/var/cache/yum/
+.fi 
+
+.PP 
+.SH "SEE ALSO"
+.nf
+.I yum.conf (5)
+.\"http://linux.duke.edu/yum-utils/
+http://linux.duke.edu/yum/
+.fi 
+
+.PP 
+.SH "AUTHORS"
+.nf 
+See the Authors file included with this program.
+.fi 
+
+.PP 
+.SH "BUGS"
+There of course aren't any bugs, but if you find any, they should be sent
+to the mailing list: yum at lists.linux.duke.edu or filed in bugzilla.
+.fi
diff --git a/yum-complete-transaction.py b/yum-complete-transaction.py
index e035697..17585e0 100755
--- a/yum-complete-transaction.py
+++ b/yum-complete-transaction.py
@@ -31,7 +31,7 @@ from urlgrabber.progress import TextMeter
 class YumCompleteTransaction(YumUtilBase):
     NAME = 'yum-complete-transactions'
     VERSION = '1.0'
-    USAGE = '"usage: yum-complete-transaction [options] package1 [package2] [package..]'
+    USAGE = '"usage: yum-complete-transaction'
     
     def __init__(self):
         YumUtilBase.__init__(self,
diff --git a/yum-utils.spec b/yum-utils.spec
index 4f0e6f3..6e99ebd 100644
--- a/yum-utils.spec
+++ b/yum-utils.spec
@@ -244,11 +244,13 @@ fi
 %{_bindir}/repo-rss
 %{_bindir}/yumdownloader
 %{_bindir}/yum-builddep
+%{_bindir}/yum-complete-transaction
 %{_mandir}/man1/package-cleanup.1.*
 %{_mandir}/man1/repo-rss.1.*
 %{_mandir}/man1/repoquery.1.*
 %{_mandir}/man1/reposync.1.*
 %{_mandir}/man1/yum-builddep.1.*
+%{_mandir}/man1/yum-complete-transaction.1.*
 %{_mandir}/man1/yumdownloader.1.*
 
 %files -n yum-updateonboot



More information about the Yum-cvs-commits mailing list