[PC-BSD Testing] Upgrade/Install and CD#2

Josh Paetzel josh at tcbug.org
Thu Aug 23 12:36:15 PDT 2007


Kris Moore wrote:
> 
> > FreeBSD is API compatable in major version numbers.  Upgrading the
> > base FreeBSD system isn't going to break ports or packages until you
> > move to 7.0
> > 
> > All you should need to do to preserve ports and packages across an
> > upgrade is to preserve /usr/local and /var/db/pkg
> > 
> > 
> > 
> > ------------------------------------------------------------------------
> > 
> > 
> 
> I guess my question then would be what happens to all the old entries in
> /var/db/pkg? If we save it, then re-extract the system image, a whole
> bunch of new enteries will be extracted, and the old ones will also be
> left in. Now we got old and new entries of the same ports listed in the
> package DB right? It would work, but will leave rather a mess for the
> user to clean up afterwards, assuming they want to use ports.
> 
> Kris Moore

Ok, so PC-BSD writes metadata to /var/db/pkg outside of stuff
installed from ports/packages?

If so, are the things in /var/db/pkg that aren't installed from
ports/packages in /usr/local?  Or are they somewhere else?

-- 
Thanks,

Josh Paetzel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.pcbsd.org/pipermail/testing/attachments/20070823/0dbb173b/attachment.bin 


More information about the Testing mailing list