Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2002 19:05:43 -0700
From:      info@netarmor.net
To:        freebsd-questions@FreeBSD.ORG
Subject:   Rebuild /var/db/pkg/pkg.db ?
Message-ID:  <5.1.0.14.2.20020628185049.043d1ec0@localhost>

next in thread | raw e-mail | index | archive | help
Help!

The hard drive failed on which the /var partition is 
configured.  Everything on that drive is lost.  Fortunately "/" and "/usr" 
were on another drive and they are just fine. I express a sigh of 
relief.....wee.

No problem I say, I'll just restore my backup of /var after I replace the 
hard drive.  All goes well until I find that the backup of /var is no good.

Can the pkg.db be rebuilt without the package registry files normally found 
in /var/db/pkg ?  portdb, pkgdb and portupgrade do not seem to offer any 
hope.........?

If there is a way to rebuild the package database ?

Thanks,

Mike
   


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.2.20020628185049.043d1ec0>