Reinstall debian package from scratch

Discussion in 'Server Operation' started by tfunky, Feb 11, 2008.

  1. tfunky

    tfunky New Member

    Hi All,

    I was working on getting smokeping to work on Etch and I fat-fingered a command and deleted the config file.

    I tried doing an apt-get remove smokeping then a apt-get install smokeping to get the config back, but I'm not having any luck.

    Can someone point me in the right direction?

    I'm figuring if I can get it completely removed then I can do a reinstall and get the config file back.

    Thanks for your help!
  2. tfunky

    tfunky New Member

    after googling, then googling some more, banging my head on the desk repeatedly, then googling some more....

    apt-get remove --purge package

    where package = the package name, will remove the package completely.

    in my case
    apt-get remove --purge smokeping

    I wanted to post it here in case it saves someone headache ;)


Share This Page