Linux Debian support - Reinstall of deb-Packages

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > March 2007 > Reinstall of deb-Packages





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Reinstall of deb-Packages
der_tank

2007-03-17, 7:13 pm

Hi there,

I have a problem reinstalling pure-ftpd deb package. I had it installed in
an anapropriate version so wanted to install a different package. I first
uninstalled the first package. Then I manually deleted all leftover config
files /etc/ (/etc/pure-ftpd/* and /etc/default/pure-ftpd-common). The
problem now is that when I install the correct packages those config files
from the package are not installed anymore! But I need these files as
default config. Can anybody tell what to do?

Thx
Björn Steinbrink

2007-03-17, 7:13 pm

On Sat, 17 Mar 2007 20:04:33 +0100, der_tank wrote:

> Hi there,
>
> I have a problem reinstalling pure-ftpd deb package. I had it installed
> in an anapropriate version so wanted to install a different package. I
> first uninstalled the first package. Then I manually deleted all
> leftover config files /etc/ (/etc/pure-ftpd/* and
> /etc/default/pure-ftpd-common). The problem now is that when I install
> the correct packages those config files from the package are not
> installed anymore! But I need these files as default config. Can anybody
> tell what to do?


My _guess_ would be that the package is still marked as having its
configuration files installed, and thus they are not "reinstalled". To
have configuration files removed, you can purge a package instead of
"only" removing it.
Using aptitude you can either select the package and hit _ to mark it for
purging, or run:
aptitude purge <package>

With dpkg it's:
dpkg --purge <package>

AFAIK apt-get does not support purging.

HTH
Björn
Niklaus Kuehnis

2007-03-17, 7:13 pm

Björn Steinbrink

2007-03-17, 7:13 pm

On Sat, 17 Mar 2007 23:35:23 +0100, Niklaus Kuehnis wrote:

> On Sat, 17 Mar 2007, Björn Steinbrink wrote:
>
>
> [snip]
>
> It does and AFAIK the syntax is
>
> apt-get remove --purge <package>


Right. Didn't use apt-get for quite some time and did only check the
command line help, while --purge is only listed on the man page. Thanks
for the correction

Björn
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com