2009/9/17 Anonymous <swell.k_at_gmail.com> > krad <kraduk_at_googlemail.com> writes: > > [...] > > now for the local packages you have two options: rebuild or install > > compatibility libraries > > > > I usually go for rebuild > > > > 1.mv /usr/local /usr/local.old > > 2. mv /var/db/pkg /var/db/pkg.old > > 3. reinstall > > ls /var/db/pkg.old/| while read f; do pkg_info -o $f| tail -2; done | > sed > > -e "s/^.*\///" | sort -uls /var/db/pkg/| while read f; do pkg_info -o $f| > > tail -2; done | sed -e "s/^.*\///" | sort -u | while read p; do pkg_add > -rv > > $p; done > > 4. copy your configs accross from the /usr/local.old dir > > > > Finally after you have tested and are happy all is ok cleanup > > > > rm -rf /usr/local.old /var/db/pkg.old > > cd /usr/src > > yes | make delete-old-files delete-old-libs delete-old-dirs > > I think obsolete header files should be removed *before* ports rebuild. > Some ports may accidentally decide to use them based on their presence. > probably correct I do tend to do it after the new world is installedReceived on Fri Sep 18 2009 - 07:48:09 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:55 UTC