LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-17-2012, 06:44 AM   #1
rtz
Member
 
Registered: Mar 2012
Posts: 39

Rep: Reputation: Disabled
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.
 
Old 07-17-2012, 06:56 AM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, Slackware
Posts: 1,216

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
I assume you're using 'buntu or another Debian based system?

Code:
# aptitude reinstall portsentry
 
Old 07-17-2012, 07:14 AM   #3
rtz
Member
 
Registered: Mar 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
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
 
Old 07-18-2012, 04:12 AM   #4
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, Slackware
Posts: 1,216

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Code:
# dpkg -P --force-all portsentry
Code:
# aptitude purge ~c && aptitude clean
Code:
# aptitude update && aptitude install portsentry
?
 
  


Reply

Tags
reinstalling


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
package reinstalling Teufel Gentoo 6 07-18-2012 08:34 AM
reinstalling the rpm build package Linden Goodwin Linux - Newbie 1 06-28-2009 06:44 PM
Reinstalling a package and its dependencies nx5000 Debian 11 04-19-2007 11:42 AM
Reinstalling LFS For Every New Package? g3neration Linux From Scratch 2 01-04-2005 02:51 AM
reinstalling a package Cyric Slackware 4 10-02-2004 12:01 PM


All times are GMT -5. The time now is 11:16 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration