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

Re: BIND 8 BUG



Florian Ernst wrote:
> PK wrote:
> > I've removed BIND 8 from Sarge with:
> > 
> > # apt-get --purge remove bind
> > # apt-get clean
> > 
> > [...]
> > but I still have BIND 8 startup scripts links in:
>
> Hmm, I cannot reproduce this behavior...

Me neither.  But I will guess that package is removed previously and
not purged.  Since apt-get won't remove something that is not
installed the 'apt-get remove --purge bind' step will fail if the
package was already removed.  Example:

  apt-get install bind
  apt-get remove bind
  apt-get remove --purge bind  # fails

What does dpkg say?

  dpkg -l bind

It should say either nothing or 'pn' purged, not-installed in the
first two letters of the status column, or possibly 'un' for unknown,
not-installed.  If it says 'rc' then it is only removed and not
purged.  dpkg maintains a list of configuration files left behind when
a package is removed.  Later if the package is installed again the
configuration will be there waiting for it.  (This is really good
behavior that I wish other distros had.)

You can use dpkg to purge the package.  Try this to purge the package.

  dpkg --purge bind

As you will recall configuration files in /etc are left behind when a
package is removed.  But when a package is purged configuration files
are removed as well.

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: