[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sysvinit problema e soluzione

On Sat, 9 Sep 2006 11:00:55 +0200
automatic_jack <automatic_jack@katamail.com> wrote:


sysvinit (2.86.ds1-19) unstable; urgency=low

  The script proposed below is dangerous, as it had a problem with
  removed but not purged packages.  If such packages had files in
  /etc/init.d/, 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, as well as making sure the admin is
  asked for every package.

    for p in `dpkg -S /etc/init.d/*|cut -d: -f1|sort -u`; do
      if dpkg --get-selections $p | grep -qw install ; then
        echo reinstalling $p
        apt-get --reinstall install $p

  To avoid the question, 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.  A script to do this and update the system is
  provided in


  Please use it to update your installation if you were upgrading from
  one of the broken versions of sysv-rc.

 -- Petter Reinholdtsen <pere@debian.org>  Sat,  9 Sep 2006 20:12:47

Ciao :)

Reply to: