On Fri, 17 Aug 2007 13:44:14 +0930
Iain Buchanan wrote:

> On Thu, 2007-08-16 at 19:16 -0400, Dennis Taylor wrote:
> > I have been trying to update a gentoo system that I had not touched
> > for around a year.
> > I managed to mangle some things, and the latest was a complaint
> > about a file in portage.
> > I removed to offender and tried to re-emerge portage, but I am still
> > stuck.  If anyone 
> > knows a way I could force it to refresh portage files and/or
> > installed packages, I would
> > appreciate it.  A pointer to the right place in the docs would be
> > fine, I just have not been
> > able to find it, and have lost several days fighting with it
> > already.
> 
> 
> you could download a portage snapshot like you were doing a new
> install, then copy it over /usr/portage.  Hopefully when you say
> you've corrupted portage you're referring to /usr/portage, and
> not /var etc...
> 
> Don't know if there are any dangers with this - I've never tried it.
> 
> HTH,
> -- 
> Iain Buchanan <iaindb at netspace dot net dot au>
> 
> Behind every great computer sits a skinny little geek.

"emerge --sync" updates the tree under /usr/portage using rsync.
Therefore one can nuke /usr/portage and then "emerge --sync" will
download a fresh copy of the tree.  As the tree has many files, this
will take a while.

David

P.S.  For disaster protection, you might rename "/usr/portage" to
"/usr/portage.save" as your first step.
-- 
[EMAIL PROTECTED] mailing list

Reply via email to