Re: /var corrupted.....

2006-11-05 Thread Gerard Seibert
On Saturday November 04, 2006 at 08:58:08 (AM) Eric Schuele wrote: Example from the man page: rebuild all installed ports portmanager -u -f This might be my silver bullet. Its been running for quite some time but it appears to be rebuilding everything and its full set of

Re: /var corrupted.....

2006-11-04 Thread Eric Schuele
On 11/03/2006 18:39, Chris Whitehouse wrote: Eric Schuele wrote: On 11/02/2006 09:25, Robert Huff wrote: Eric Schuele writes: How can I force a reinstall of a port and all its deps. The port itself will handle anything above. Well, that's what I had thought would happen, but the

Re: /var corrupted.....

2006-11-04 Thread David King
How can I force a reinstall of a port and all its deps. portupgrade -fRr xorg-clients, for instance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL

Re: /var corrupted.....

2006-11-03 Thread Andy Greenwood
couldn't you do something like this? 1) install all your big ports (leafs with lots of dependancies) 2) run this to get a list of depedancy ports which should already be there, just not in /var/db/pkg # pkg_info -ar | awk '/Dependency:/ {print $2}'|sort|uniq 3) install these ports so that they

Re: /var corrupted.....

2006-11-03 Thread Eric Schuele
On 11/03/2006 08:42, Andy Greenwood wrote: couldn't you do something like this? 1) install all your big ports (leafs with lots of dependancies) 2) run this to get a list of depedancy ports which should already be there, just not in /var/db/pkg # pkg_info -ar | awk '/Dependency:/ {print

Re: /var corrupted.....

2006-11-03 Thread Chris Whitehouse
Eric Schuele wrote: On 11/02/2006 09:25, Robert Huff wrote: Eric Schuele writes: How can I force a reinstall of a port and all its deps. The port itself will handle anything above. Well, that's what I had thought would happen, but the port does not seem to re-register the

Re: /var corrupted.....

2006-11-02 Thread Eric Schuele
On 11/01/2006 11:05, Karol Kwiatkowski wrote: On 01/11/2006 17:40, Eric Schuele wrote: Hello, [Running 6.2-PRERELEASE as of Oct 30th] My /var filesystem on my laptop died this morning. I had just installed/enabled gdm. I exited my wm and the machine spontaneously rebooted. Upon coming back

Re: /var corrupted.....

2006-11-02 Thread Robert Huff
Eric Schuele writes: How can I force a reinstall of a port and all its deps. The port itself will handle anything above. As for things below ... you're pretty much hosed. If the pkg db (or equivalent) existed, it would know which ports had been installed and could rebuild

Re: /var corrupted.....

2006-11-02 Thread [EMAIL PROTECTED]
On 11/2/06, Eric Schuele [EMAIL PROTECTED] wrote: On 11/01/2006 11:05, Karol Kwiatkowski wrote: On 01/11/2006 17:40, Eric Schuele wrote: Hello, [Running 6.2-PRERELEASE as of Oct 30th] My /var filesystem on my laptop died this morning. . . . 2) If I have destroyed it what can I do at

Re: /var corrupted.....

2006-11-02 Thread Eric Schuele
On 11/02/2006 09:25, Robert Huff wrote: Eric Schuele writes: How can I force a reinstall of a port and all its deps. The port itself will handle anything above. Well, that's what I had thought would happen, but the port does not seem to re-register the dependencies. It simply

Re: /var corrupted.....

2006-11-02 Thread Eric Schuele
On 11/02/2006 10:21, [EMAIL PROTECTED] wrote: On 11/2/06, Eric Schuele [EMAIL PROTECTED] wrote: On 11/01/2006 11:05, Karol Kwiatkowski wrote: On 01/11/2006 17:40, Eric Schuele wrote: Hello, [Running 6.2-PRERELEASE as of Oct 30th] My /var filesystem on my laptop died this morning. . . .

/var corrupted.....

2006-11-01 Thread Eric Schuele
Hello, [Running 6.2-PRERELEASE as of Oct 30th] My /var filesystem on my laptop died this morning. I had just installed/enabled gdm. I exited my wm and the machine spontaneously rebooted. Upon coming back up it said there was a bad superblock and to try the one at offset 32. It then said that

Re: /var corrupted.....

2006-11-01 Thread Karol Kwiatkowski
On 01/11/2006 17:40, Eric Schuele wrote: Hello, [Running 6.2-PRERELEASE as of Oct 30th] My /var filesystem on my laptop died this morning. I had just installed/enabled gdm. I exited my wm and the machine spontaneously rebooted. Upon coming back up it said there was a bad superblock and

Re: /var corrupted.....

2006-11-01 Thread Eric Schuele
On Wed, 2006-11-01 at 18:05 +0100, Karol Kwiatkowski wrote: On 01/11/2006 17:40, Eric Schuele wrote: Hello, [Running 6.2-PRERELEASE as of Oct 30th] My /var filesystem on my laptop died this morning. I had just installed/enabled gdm. I exited my wm and the machine spontaneously

Re: /var corrupted.....

2006-11-01 Thread David King
Ok... good tip thanks. That would definitely leave my db/pkg out of whack. I wonder if a 'portupgrade -af' would fix that up? I doubt it. How would portupgrade know what is installed (to which -a applies) without a package database? I'll wait for others to weigh in as well on option 1