/var/db/pkg is empty!

David J Brooks daeg at houston.rr.com
Mon Mar 13 03:33:53 UTC 2006


I'm not sure how it happened, but my /var partition was scrambled pretty 
badly, and now my /var/dbpkg and /var/db/ports directories are empty... which 
causes portversion and portugrade to produce the following messages:

> portversion
** No matching installed package: *

>portupgrade -a
** No such installed package: *

Is there a way to rebuild the ports database so that these will work properly?

-- 
Sure God created the world in only six days,
but He didn't have an established userbase.


More information about the freebsd-ports mailing list