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

Bug Watch Updater 597350 at bugs.launchpad.net
Sat Nov 26 15:42:46 UTC 2011


** Changed in: dpkg (Debian)
       Status: Unknown => New

-- 
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:
  New

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