LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   error reinstalling package (https://www.linuxquestions.org/questions/linux-newbie-8/error-reinstalling-package-4175417168/)

rtz 07-17-2012 06:44 AM

error reinstalling package
 
i by mistake removed one of my portsentry file which was under /etc/portsentry directory.now when i try to reinstall portsentry firstly removing and then trying to reinsatll a fresh new portsenrty installation i get error about the same file that i deleted was not found.how do i get a fresh installation for this which would reinstall all the necesssary files that i deleted along with the package.

cynwulf 07-17-2012 06:56 AM

I assume you're using 'buntu or another Debian based system?

Code:

# aptitude reinstall portsentry

rtz 07-17-2012 07:14 AM

didn't worked....still has the same file portsentry file missing error.
starting anti portscan daemon: cannot open /etc/portsentry/portsentry.ignore.static:no such file or directory

cynwulf 07-18-2012 04:12 AM

Code:

# dpkg -P --force-all portsentry
Code:

# aptitude purge ~c && aptitude clean
Code:

# aptitude update && aptitude install portsentry
?


All times are GMT -5. The time now is 07:21 AM.