[Bug 597350] Re: dpkg --purge removes the file behind a symbolic link when it's set as conffile

Raphaël Hertzog hertzog at debian.org
Sat Nov 26 14:42:20 UTC 2011


This is already reported in the Debian BTS, linking it.

** Bug watch added: Debian Bug tracker #574658
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574658

** Also affects: dpkg (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574658
   Importance: Unknown
       Status: Unknown

** Changed in: dpkg (Ubuntu)
   Importance: Undecided => Medium

** Changed in: dpkg (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/597350

Title:
  dpkg --purge removes the file behind a symbolic link when it's set as
  conffile

Status in “dpkg” package in Ubuntu:
  Triaged
Status in “dpkg” package in Debian:
  Unknown

Bug description:
  Binary package hint: dpkg

  I'm using a .deb package that installs a service, that service
  installs its /etc/init.d script as a conffile, which makes sense so we
  can customise it.

  I just converted that init.d into an upstart script, and replaced the
  original init.d script with a symbolic link to /lib/init/upstart-job,
  just like any other upstart script.

  The problem comes when I purge that package, instead of remove the
  link at /etc/init.d, dpkg follows the link and removes /lib/init
  /upstart-job, which I would say it's wrong.

  This happens with Ubuntu 10.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/597350/+subscriptions




More information about the foundations-bugs mailing list