Re: I performed an rm -r on /var/lib/pkg

2007-10-22 Thread James
Feeding pkgdb/pkg_which a port creates a directory for that port in /var/db/pkg. It then returned a question mark, which kind of sucked, silence being golden in unix, but I had an entry for openmpi appear in /var/db/pkg Is this really just meaningless grasping at straws? It looked

Re: I performed an rm -r on /var/lib/pkg

2007-10-19 Thread James
On Thu, 2007-10-18 at 20:11 +0100, RW wrote: On Thu, 18 Oct 2007 12:51:33 -0600 James [EMAIL PROTECTED] wrote: It depends what state the ports were in at the time of the accident. If you haven't run a leaf-cutting program recently you may have old dependencies and tools that have

Re: I performed an rm -r on /var/lib/pkg

2007-10-18 Thread James
It depends what state the ports were in at the time of the accident. If you haven't run a leaf-cutting program recently you may have old dependencies and tools that have become leaves - they may take years to show-up. ___

Re: I performed an rm -r on /var/lib/pkg

2007-10-18 Thread RW
On Thu, 18 Oct 2007 12:51:33 -0600 James [EMAIL PROTECTED] wrote: It depends what state the ports were in at the time of the accident. If you haven't run a leaf-cutting program recently you may have old dependencies and tools that have become leaves - they may take years to show-up.

Re: I performed an rm -r on /var/lib/pkg

2007-10-13 Thread Mel
On Saturday 13 October 2007 02:13:49 RW wrote: On Fri, 12 Oct 2007 23:13:58 +0200 Mel [EMAIL PROTECTED] wrote: On Friday 12 October 2007 22:19:41 RW wrote: On Thu, 11 Oct 2007 14:26:19 -0600 James [EMAIL PROTECTED] wrote: Call it a moment of sheer stupidity, call it a

Re: I performed an rm -r on /var/lib/pkg

2007-10-13 Thread RW
On Sat, 13 Oct 2007 17:05:10 +0200 Mel [EMAIL PROTECTED] wrote: On Saturday 13 October 2007 02:13:49 RW wrote: On Fri, 12 Oct 2007 23:13:58 +0200 Mel [EMAIL PROTECTED] wrote: On Friday 12 October 2007 22:19:41 RW wrote: On Thu, 11 Oct 2007 14:26:19 -0600 James [EMAIL

Re: I performed an rm -r on /var/lib/pkg

2007-10-12 Thread Joshua Isom
On Oct 11, 2007, at 5:39 PM, James wrote: On Thu, 2007-10-11 at 18:14 -0400, Robert Huff wrote: James writes: What has happened, though, is I've never ran rm in /usr/ports/distfiles. I'm going to think for a little bit about a script that can move through /usr/ports/distfiles and

Re: I performed an rm -r on /var/lib/pkg

2007-10-12 Thread Erik Trulsson
On Fri, Oct 12, 2007 at 10:57:59AM -0600, James wrote: This isn't quite as simple as I'd hoped it'd be to fix. Here's my findings thus far (I haven't started writing my script yet, but I will later today): 1. /usr/ports/distfiles contains everything I need 2. distfiles contains several

Re: I performed an rm -r on /var/lib/pkg

2007-10-12 Thread Mel
On Friday 12 October 2007 18:57:59 James wrote: This isn't quite as simple as I'd hoped it'd be to fix. Here's my findings thus far (I haven't started writing my script yet, but I will later today): 1. /usr/ports/distfiles contains everything I need 2. distfiles contains several versions of

Re: I performed an rm -r on /var/lib/pkg

2007-10-12 Thread Joshua Isom
On Oct 12, 2007, at 11:57 AM, James wrote: This isn't quite as simple as I'd hoped it'd be to fix. Here's my findings thus far (I haven't started writing my script yet, but I will later today): 1. /usr/ports/distfiles contains everything I need 2. distfiles contains several versions of some

Re: I performed an rm -r on /var/lib/pkg

2007-10-12 Thread Mel
On Friday 12 October 2007 00:39:27 James wrote: On Thu, 2007-10-11 at 18:14 -0400, Robert Huff wrote: James writes: What has happened, though, is I've never ran rm in /usr/ports/distfiles. I'm going to think for a little bit about a script that can move through /usr/ports/distfiles

Re: I performed an rm -r on /var/lib/pkg

2007-10-12 Thread James
This isn't quite as simple as I'd hoped it'd be to fix. Here's my findings thus far (I haven't started writing my script yet, but I will later today): 1. /usr/ports/distfiles contains everything I need 2. distfiles contains several versions of some packages, but that's pretty trivial to resolve.

Re: I performed an rm -r on /var/lib/pkg

2007-10-12 Thread RW
On Thu, 11 Oct 2007 14:26:19 -0600 James [EMAIL PROTECTED] wrote: Call it a moment of sheer stupidity, call it a misremembering, call it whatever you want (and I imagine I'll hear a few different ones), but I just did an rm -r /var/lib/pkg. Before I type anything to damage things further,

Re: I performed an rm -r on /var/lib/pkg

2007-10-12 Thread Mel
On Friday 12 October 2007 22:19:41 RW wrote: On Thu, 11 Oct 2007 14:26:19 -0600 James [EMAIL PROTECTED] wrote: Call it a moment of sheer stupidity, call it a misremembering, call it whatever you want (and I imagine I'll hear a few different ones), but I just did an rm -r /var/lib/pkg.

Re: I performed an rm -r on /var/lib/pkg

2007-10-12 Thread RW
On Fri, 12 Oct 2007 23:13:58 +0200 Mel [EMAIL PROTECTED] wrote: On Friday 12 October 2007 22:19:41 RW wrote: On Thu, 11 Oct 2007 14:26:19 -0600 James [EMAIL PROTECTED] wrote: Call it a moment of sheer stupidity, call it a misremembering, call it whatever you want (and I imagine I'll

I performed an rm -r on /var/lib/pkg

2007-10-11 Thread James
Call it a moment of sheer stupidity, call it a misremembering, call it whatever you want (and I imagine I'll hear a few different ones), but I just did an rm -r /var/lib/pkg. Before I type anything to damage things further, does anyone have any suggestions as to how to recover from this? I have

Re: I performed an rm -r on /var/lib/pkg

2007-10-11 Thread Kevin Kinsey
James wrote: Call it a moment of sheer stupidity, call it a misremembering, call it whatever you want (and I imagine I'll hear a few different ones), but I just did an rm -r /var/lib/pkg. Before I type anything to damage things further, does anyone have any suggestions as to how to recover from

Re: I performed an rm -r on /var/lib/pkg

2007-10-11 Thread James
On Thu, 2007-10-11 at 15:53 -0500, Kevin Kinsey wrote: James wrote: Call it a moment of sheer stupidity, call it a misremembering, call it whatever you want (and I imagine I'll hear a few different ones), but I just did an rm -r /var/lib/pkg. Before I type anything to damage things

Re: I performed an rm -r on /var/lib/pkg

2007-10-11 Thread Erik Trulsson
On Thu, Oct 11, 2007 at 03:07:37PM -0600, James wrote: On Thu, 2007-10-11 at 15:53 -0500, Kevin Kinsey wrote: James wrote: Call it a moment of sheer stupidity, call it a misremembering, call it whatever you want (and I imagine I'll hear a few different ones), but I just did an rm -r

Re: I performed an rm -r on /var/lib/pkg

2007-10-11 Thread Kevin Kinsey
James wrote: Yes, you're right. On all counts, I'm afraid. But, yes, ultimately. And the more I'm reading man pages, the more I'm thinking that the only solution here will be to reinstall everything. I was wondering if portmaster or something similar might be able to solve this, but it looks

Re: I performed an rm -r on /var/lib/pkg

2007-10-11 Thread James
On Thu, 2007-10-11 at 23:13 +0200, Erik Trulsson wrote: On Thu, Oct 11, 2007 at 03:07:37PM -0600, James wrote: On Thu, 2007-10-11 at 15:53 -0500, Kevin Kinsey wrote: James wrote: Call it a moment of sheer stupidity, call it a misremembering, call it whatever you want (and I

Re: I performed an rm -r on /var/lib/pkg

2007-10-11 Thread Robert Huff
James writes: What has happened, though, is I've never ran rm in /usr/ports/distfiles. I'm going to think for a little bit about a script that can move through /usr/ports/distfiles and reinstall everything that exists there. Having been in almost the identical situation for

Re: I performed an rm -r on /var/lib/pkg

2007-10-11 Thread Mel
On Thursday 11 October 2007 23:29:05 James wrote: What has happened, though, is I've never ran rm in /usr/ports/distfiles. I'm going to think for a little bit about a script that can move through /usr/ports/distfiles and reinstall everything that exists there. Well, if you figure out what

Re: I performed an rm -r on /var/lib/pkg

2007-10-11 Thread James
On Thu, 2007-10-11 at 18:14 -0400, Robert Huff wrote: James writes: What has happened, though, is I've never ran rm in /usr/ports/distfiles. I'm going to think for a little bit about a script that can move through /usr/ports/distfiles and reinstall everything that exists there.