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

Re: Doing an "apt-get --purge remove" after an earlier "remove"?

Colin Watson <cjwatson@debian.org> writes:

> On Thu, Dec 05, 2002 at 07:50:44PM -0500, Lloyd Zusman wrote:
>> [ ... ]
>> OK.  So then I won't worry about "--purge" not working here.  I guess
>> I'll just dig into the installation scripts and try to figure out what
>> they created, so I can get rid of it all manually.
> Erm, if it's been removed and there are no conffiles and no post-removal
> script, then there should be nothing left to remove. Otherwise it's a
> bug. Could you elaborate on what package you're talking about?

Well, there are several, but the package that comes to mind right now is
"dpsyco".  I installed it, but subsequently decided that I didn't want
it, so I then removed it.  Even after the removal and the "--purge"
discussed in this thread, I still have the following files and
directories on my system (see below).

The one which causes a noticeable problem is the first one ("90dpsyco"),
since it runs and prints and error message every time I do an "apt-get
install" of other packages.  It's a benign error (due to "|| true" in
DPkg::Post-Invoke), but I believe that it shouldn't be happening at all.

Results of "locate dpsyco" ...


Results of "ls -l /etc/dpsyco" ...

  total 20
  -rw-r--r--    1 root     root         2573 Dec  3 00:46 adduser.conf
  -rw-r--r--    1 root     root         1390 Apr  8  2002 defaults.conf
  -rw-r--r--    1 root     root          312 Apr  8  2002 groups.conf
  -r--r-----    1 root     root          736 Dec  4 19:46 sudoers
  -rw-r--r--    1 root     root          330 Apr  8  2002 users.conf

Results of "dlocate dpsyco" ...

  dpsyco-lib: /etc/dpsyco
  dpsyco-lib: /etc/dpsyco/defaults.conf
  dpsyco-base: /etc/apt/apt.conf.d/90dpsyco
  dpsyco-base: /etc/dpsyco/groups.conf
  dpsyco-base: /etc/dpsyco/users.conf

Results of "cat /etc/apt/apt.conf.d/90dpsyco" ...

  // All dpsyco packages should be updated after installation.
  DPkg::Post-Invoke {"/usr/sbin/update-dpsyco || true";};

> -- 
> Colin Watson                                  [cjwatson@flatline.org.uk]

 Lloyd Zusman

Reply to: