LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 07:44 AM   #1
rtz
Member
 
Registered: Mar 2012
Posts: 40

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, 07:56 AM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, DragonFly BSD
Posts: 1,409

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

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

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, 05:12 AM   #4
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, DragonFly BSD
Posts: 1,409

Rep: Reputation: Disabled
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 09:34 AM
reinstalling the rpm build package Linden Goodwin Linux - Newbie 1 06-28-2009 07:44 PM
Reinstalling a package and its dependencies nx5000 Debian 11 04-19-2007 12:42 PM
Reinstalling LFS For Every New Package? g3neration Linux From Scratch 2 01-04-2005 03:51 AM
reinstalling a package Cyric Slackware 4 10-02-2004 01:01 PM


All times are GMT -5. The time now is 04:05 PM.

Main Menu
Advertisement
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