Re: [gentoo-user] Whoops: 'rm -rf /var'
On Sat, 14 May 2005 17:22:15 -0700, Grant wrote: Often times var stuff is changing, not necessarily crucial data. /var contains important information about your installed packages for portage. I would reboot see if everything works. If it does, your fine. If only certain programs fail, reinstall the programs. If it fails to boot etc. then you'll probably have to reinstall gentoo. Alright thanks guys. I'm booted back up and running a browser so that's good. I really shouldn't be working as root. Try emerge world --newuse -upvDt to see if portage is broken. -- Neil Bothwick Q: How many accountants does it take to screw in a light bulb? A: What kind of answer did you have in mind? pgpaurY5uSTqo.pgp Description: PGP signature
Re: [gentoo-user] Whoops: 'rm -rf /var'
Often times var stuff is changing, not necessarily crucial data. /var contains important information about your installed packages for portage. I would reboot see if everything works. If it does, your fine. If only certain programs fail, reinstall the programs. If it fails to boot etc. then you'll probably have to reinstall gentoo. Alright thanks guys. I'm booted back up and running a browser so that's good. I really shouldn't be working as root. Try emerge world --newuse -upvDt to see if portage is broken. -- Neil Bothwick Good catch. I get this last: IOError: [Errno 2] No such file or directory: '/var/cache/edb/dep//usr/portage/sys-devel/.update.25322.bison-1.875d' What do you think I should do? - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Whoops: 'rm -rf /var'
On Sun, 2005-05-15 at 06:46 -0700, Grant wrote: Good catch. I get this last: IOError: [Errno 2] No such file or directory: '/var/cache/edb/dep//usr/portage/sys-devel/.update.25322.bison-1.875d' What do you think I should do? rm -r /var/cache/edb/dep should do it; portage will then regenerate the cache. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Whoops: 'rm -rf /var'
Good catch. I get this last: IOError: [Errno 2] No such file or directory: '/var/cache/edb/dep//usr/portage/sys-devel/.update.25322.bison-1.875d' What do you think I should do? rm -r /var/cache/edb/dep should do it; portage will then regenerate the cache. It looks like that fixed it. Thanks! - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Whoops: 'rm -rf /var'
On 5/14/05, Grant [EMAIL PROTECTED] wrote: Hello, I meant to execute 'rm -rf var' but I hit 'rm -rf /var' instead. I realized my mistake after about 6 or 7 seconds when it was taking too long and I hit Ctrl+C. Everything looks OK, but something must be gone. What would you guys do in this situation? Restore from a backup? :-) As you are posting here, I guess that's not an option. You are probably missing the big directories /var/db and /var/tmp. /var/db is (at least it seems) where information about each emerged package lies. I'm not sure which trouble you will pass without those. Perhaps someone may enlighten you more than I. /var/tmp is where portage compiles packages, and can be safely deleted. I don't know about the directory structure though. Perhaps reemerging some packages like baselayout would reconstruct them. -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Whoops: 'rm -rf /var'
Often times var stuff is changing, not necessarily crucial data. I would reboot see if everything works. If it does, your fine. If only certain programs fail, reinstall the programs. If it fails to boot etc. then you'll probably have to reinstall gentoo. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Whoops: 'rm -rf /var'
Often times var stuff is changing, not necessarily crucial data. I would reboot see if everything works. If it does, your fine. If only certain programs fail, reinstall the programs. If it fails to boot etc. then you'll probably have to reinstall gentoo. Alright thanks guys. I'm booted back up and running a browser so that's good. I really shouldn't be working as root. - Grant -- gentoo-user@gentoo.org mailing list