Reinstall of deb-Packages
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > Reinstall of deb-Packages




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Reinstall of deb-Packages  
der_tank


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-18-07 12:13 AM

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





[ Post a follow-up to this message ]



    Re: Reinstall of deb-Packages  
Björn Steinbrink


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-18-07 12:13 AM

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





[ Post a follow-up to this message ]



    Re: Reinstall of deb-Packages  
Niklaus Kuehnis


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-18-07 12:13 AM






[ Post a follow-up to this message ]



    Re: Reinstall of deb-Packages  
Björn Steinbrink


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-18-07 12:13 AM

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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:18 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register