[Pkg-sysvinit-commits] r892 - sysvinit/trunk/debian
Petter Reinholdtsen
pere at costa.debian.org
Sat Sep 9 08:11:07 UTC 2006
Author: pere
Date: 2006-09-09 08:11:06 +0000 (Sat, 09 Sep 2006)
New Revision: 892
Modified:
sysvinit/trunk/debian/NEWS
Log:
More text in the NEWS file.
Modified: sysvinit/trunk/debian/NEWS
===================================================================
--- sysvinit/trunk/debian/NEWS 2006-09-09 00:00:32 UTC (rev 891)
+++ sysvinit/trunk/debian/NEWS 2006-09-09 08:11:06 UTC (rev 892)
@@ -1,8 +1,9 @@
sysvinit (2.86.ds1-19) unstable; urgency=low
- The script proposed below had a problem with removed but not purged
- packages. This version check to make sure the package is installed
- before trying to reinstall it:
+ The script proposed below is dangerous, as it had a problem with
+ removed but not purged packages. For such packages, it could end up
+ trying to remove quite a lot of packages. This version check to
+ make sure the package is installed before trying to reinstall it:
for p in `dpkg -S /etc/init.d/*|cut -d: -f1|sort -u`; do
if dpkg --get-selections $p | grep -qw install ; then
@@ -12,7 +13,10 @@
done
It will ask for each package if it should be reinstalled or not. To
- avoid this, add -y as an argument for apt-get.
+ avoid this, add -y as an argument for apt-get. An alternative to
+ reinstalling all these packages is to look in /var/log/dpkg.log for
+ the packages that was installed and upgraded between sysv-rc version
+ 2.86.ds1-16 and version 2.86.ds1-18, and only reinstall these.
-- Petter Reinholdtsen <pere at debian.org> Thu, 8 Sep 2006 15:40:50 +0200
More information about the Pkg-sysvinit-commits
mailing list