Author: glen                         Date: Fri Feb 15 03:31:29 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- poldek terminate hack

---- Files affected:
SPECS:
   rpm.spec (1.837.2.42.2.9 -> 1.837.2.42.2.10) 

---- Diffs:

================================================================
Index: SPECS/rpm.spec
diff -u SPECS/rpm.spec:1.837.2.42.2.9 SPECS/rpm.spec:1.837.2.42.2.10
--- SPECS/rpm.spec:1.837.2.42.2.9       Fri Feb 15 01:37:30 2008
+++ SPECS/rpm.spec      Fri Feb 15 04:31:24 2008
@@ -36,7 +36,7 @@
 Summary(uk.UTF-8):     Менеджер пакетів від RPM
 Name:          rpm
 Version:       4.4.9
-Release:       37
+Release:       38
 License:       LGPL
 Group:         Base
 Source0:       http://rpm5.org/files/rpm/rpm-4.4/%{name}-%{version}.tar.gz
@@ -1032,6 +1032,20 @@
 
 %triggerpostun lib -- %{name}-lib < %{version}
 rm -f /var/lib/rpm/__db*
+# TODO: poldek should abort if it can't reopen rpmdb after rpm exec:
+#Installing set #3
+#rpmdb: Program version 4.2 doesn't match environment version
+#error: db4 error(22) from dbenv->open: Invalid argument
+#error: cannot open Packages index using db3 - Invalid argument (22)
+#error: //var/lib/rpm: open rpm database failed
+#Processing dependencies...
+#There are more than one package which provide "/bin/sh":
+# if poldek is running, kill it so it will not attempt to fill whole rpmdb
+p=$(/sbin/pidof poldek)
+if [ "$p" ]; then
+       echo >&2 "Killing poldek ($p), don't panic :)"
+       kill $p
+fi
 
 %pretrans
 # this needs to be a dir
@@ -1262,6 +1276,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.837.2.42.2.10  2008-02-15 03:31:24  glen
+- poldek terminate hack
+
 Revision 1.837.2.42.2.9  2008-02-15 00:37:30  glen
 - really don't package it here
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rpm.spec?r1=1.837.2.42.2.9&r2=1.837.2.42.2.10&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to