[gentoo-user] Re: emerge error

2008-01-24 Thread James
Neil Bothwick neil at digimed.co.uk writes: If I reboot, I *may* loose the firewall completely, depending on what the drive does. The only safe thing is to build another firewall before rebooting the current firewall (then see if fsck will fix it)... Then don't reboot. Mount another

Re: [gentoo-user] Re: emerge error

2008-01-24 Thread Neil Bothwick
On Thu, 24 Jan 2008 13:46:04 + (UTC), James wrote: Then don't reboot. Mount another drive somewhere temporary, copy the contents of /var to it, then unmount /var and mount the new drive on /var. Reformat the original filesystem and reverse the process. Earlier I posted the

[gentoo-user] Re: emerge error

2008-01-24 Thread James
Neil Bothwick neil at digimed.co.uk writes: JFFS2, or budget on replacing the cards every couple of months. Thanks to everyone that helps, thx Neil, James -- gentoo-user@lists.gentoo.org mailing list

[gentoo-user] Re: emerge error

2008-01-23 Thread James
KH gentoo-user at konstantinhansen.de writes: James Ausmus wrote: 1. Check your disk space, make sure it's not full Not a problem... 2. As root, do a chown -R portage:portage /var/cache/edb add the -c to chown -c, --changes like verbose but report only when a

Re: [gentoo-user] Re: emerge error

2008-01-23 Thread James Ausmus
On Jan 23, 2008 8:03 AM, James [EMAIL PROTECTED] wrote: KH gentoo-user at konstantinhansen.de writes: James Ausmus wrote: 1. Check your disk space, make sure it's not full Not a problem... 2. As root, do a chown -R portage:portage /var/cache/edb add the -c to chown -c,

[gentoo-user] Re: emerge error

2008-01-23 Thread James
James Ausmus james.ausmus at gmail.com writes: OK, try doing: emerge --metadata Also, have you done a emerge --sync since this started? Sounds like it might just be a cache corruption - if the cache was corrupted during the rsync process in an emerge--sync, then just doing a emerge

Re: [gentoo-user] Re: emerge error

2008-01-23 Thread Dale
James wrote: SNIP Maybe the '/usr/bin/emerge' executable is corrupted. Can I just scp over a copy from another similar arch machine? Any other ideas? James http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml Dale :-) :-) -- gentoo-user@lists.gentoo.org

[gentoo-user] Re: emerge error

2008-01-23 Thread James
James wireless at tampabay.rr.com writes: James Ausmus james.ausmus at gmail.com writes: File /usr/lib/portage/pym/cache/flat_hash.py, line 122, in __iter__ st = os.lstat(p) OSError: [Errno 13] Permission denied: '/var/cache/edb/dep/usr/portage/net-zope' Well here is the problem:

Re: [gentoo-user] Re: emerge error

2008-01-23 Thread Neil Bothwick
On Wed, 23 Jan 2008 16:39:51 + (UTC), James wrote: ideas? fsck. If that fails, copy off the data you can and reformat, the filesystem is screwed. -- Neil Bothwick You shall know the truth, and you shall freak. signature.asc Description: PGP signature

[gentoo-user] Re: emerge error

2008-01-23 Thread James
Neil Bothwick neil at digimed.co.uk writes: ideas? fsck. If that fails, copy off the data you can and reformat, the filesystem is screwed. Roger that. Here's an idea, since it's a minimal firewall, that I'm currently using, and scp works. dd over ssh everything onto a 8G Compact Flash

Re: [gentoo-user] Re: emerge error

2008-01-23 Thread Neil Bothwick
On Wed, 23 Jan 2008 18:33:19 + (UTC), James wrote: dd over ssh everything onto a 8G Compact Flash card that is plugged into another system and then install the CF card into an ide-to-cf socket reboot and then emerge-sync? think this will work? No, because it will copy the corruption

[gentoo-user] Re: emerge error

2008-01-23 Thread James
Neil Bothwick neil at digimed.co.uk writes: dd over ssh everything onto a 8G Compact Flash card that is plugged into another system and then install the CF card into an ide-to-cf socket reboot and then emerge-sync? think this will work? No, because it will copy the corruption too.

Re: [gentoo-user] Re: emerge error

2008-01-23 Thread Neil Bothwick
On Wed, 23 Jan 2008 20:08:00 + (UTC), James wrote: No, because it will copy the corruption too. You'll end up with a byte for byte copy of your broken filesystem. If fsck won't fix it, backup, reformat, restore is the only safe fix. If I reboot, I *may* loose the firewall

Re: [gentoo-user] Re: emerge error

2008-01-23 Thread Hal Martin
If you need another firewall in the interim, I would suggest giving IPCop a try. I've been using it as a gateway OS for 5 years now and it's been solid for the entire time. Or, if you'd really rather stick with Gentoo, you could run IPCop on another of your K6 machines until you rebuild the

Re: [gentoo-user] Re: emerge error

2008-01-23 Thread Joseph
On 01/23/08 16:39, James wrote: OSError: [Errno 13] Permission denied: '/var/cache/edb/dep/usr/portage/net-zope' Well here is the problem: in '/var/cache/edb/dep/usr/portage' drwxrwsr-x 2 root portage 1480 Jan 10 13:41 net-www ?? ? ?? ?? net-zope drwxrwsr-x