[Bug 162046] Re: Deb packages should include configuration files installed in the home directory

Raphaël Hertzog hertzog at debian.org
Mon Oct 8 07:08:12 UTC 2012


Leftover configuration files are not inconvenient, they are the norm
even for dpkg-managed conffiles. And Debian policy forbids packages to
play with the content of /home.

I'm afraid that dpkg is not the right answer for your problem. Maybe
there can be a new tool that hooks into dpkg to detect removals... but
in general I would rather not auto-remove user configuration during a
package removal.

** Changed in: dpkg (Ubuntu)
       Status: Confirmed => Won't Fix

-- 
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/162046

Title:
  Deb packages should include configuration files installed in the home
  directory

Status in “dpkg” package in Ubuntu:
  Won't Fix

Bug description:
  If I install kubuntu-desktop (and any other package), I will find in
  my home directory a folder called .kde. When I uninstall this package,
  the folder and all its files will remain. This is very inconvenient
  especially for users who use wine that puts all (horrible) Windows
  executables in its .wine directory.

  I think dpkg-buildpackage may allow a line such as
  ~/.kde
  in debian/dirs and something similar to
  cp all_user_files debian/kde/~/.kde
  in debian/rules.
  Also, dpkg may remove this directory with the --purge option.

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




More information about the foundations-bugs mailing list