Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] rebuild /var/db/pkg?

77 views
Skip to first unread message

Matthias Guede

unread,
Mar 5, 2008, 1:20:12 PM3/5/08
to
I've deleted almost all entries in /var/db/pkg. Now portage wants to
reinstall a lot of packages which are already on my system.

Does anyone know a way to rebuild this database without actually
recompile all the packages?

Thanks
Matthias
--
gento...@lists.gentoo.org mailing list

Neil Bothwick

unread,
Mar 5, 2008, 4:20:17 PM3/5/08
to
On Wed, 5 Mar 2008 19:11:52 +0100, Matthias Guede wrote:

> Does anyone know a way to rebuild this database without actually
> recompile all the packages?

Restore from backup?

Otherwise, it's probably less trouble to set PORTAGE_NICENESS to 19 and
let emerge world run in the background. That way you'll know it has been
done properly.


--
Neil Bothwick

I've been fishing with Salvador Dali, he used a
dotted line and caught every other fish.

signature.asc

Matthias Guede

unread,
Mar 5, 2008, 5:30:33 PM3/5/08
to
2008/3/5, Neil Bothwick <ne...@digimed.co.uk>:

> On Wed, 5 Mar 2008 19:11:52 +0100, Matthias Guede wrote:
>
> > Does anyone know a way to rebuild this database without actually
> > recompile all the packages?
>
>
> Restore from backup?

Yes ... a backup would be nice now ;)

> Otherwise, it's probably less trouble to set PORTAGE_NICENESS to 19 and
> let emerge world run in the background. That way you'll know it has been
> done properly.

That is what I'm currently doing after some unsuccessful tries to
avoid the recompilation. So my notebook has to do some nightly work
for my carelessness. Life's not fair.

thanks for your help
--
gento...@lists.gentoo.org mailing list

Neil Bothwick

unread,
Mar 5, 2008, 7:50:17 PM3/5/08
to
On Wed, 5 Mar 2008 23:20:31 +0100, Matthias Guede wrote:

> > Otherwise, it's probably less trouble to set PORTAGE_NICENESS to 19
> > and let emerge world run in the background. That way you'll know it
> > has been done properly.
>
> That is what I'm currently doing after some unsuccessful tries to
> avoid the recompilation. So my notebook has to do some nightly work
> for my carelessness. Life's not fair.

Which is a good thing. Think how much worse it would be if you actually
deserved all the bad things that happen to you. In this case, consider it
a learning experience. anyway, it's no real hardship to run emerge world,
it's not as if you have to recompile each individual program manually.


--
Neil Bothwick

Electric chairs are period furniture: they end a sentence

signature.asc
0 new messages