Date: Thu, 27 Oct 2005 20:49:43 -0500 From: Eric F Crist <ecrist@secure-computing.net> To: John DeStefano <john.destefano@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: portupgrade stale dependencies Message-ID: <0E2AAC01-B12D-4A7A-A986-B7A57DDDEDFF@secure-computing.net> In-Reply-To: <f2160e0d0510271832s68dc34c3ge7c7a04e1d20bf60@mail.gmail.com> References: <f2160e0d0510151746n28cdbb25s2150337c0c6f7cfc@mail.gmail.com> <cb5206420510231339h7f77d3eet615b11cf2dd2fc5a@mail.gmail.com> <f2160e0d0510231524i161baf82u92c5e824dd4ea438@mail.gmail.com> <f2160e0d0510231812rb62682fm1839656e27af0d45@mail.gmail.com> <cb5206420510240135o6a557f0dr8223243eec2cadff@mail.gmail.com> <f2160e0d0510241607y1ba6674fj4d5576b5eeeec90b@mail.gmail.com> <cb5206420510250018u15d80777rc145b77cdc5b3273@mail.gmail.com> <f2160e0d0510262008x66e4aecdy9c6cf98d0e228e4e@mail.gmail.com> <cb5206420510270011k13c03951wbecedf63fa2a3dd@mail.gmail.com> <f2160e0d0510271724l31ab21f5j60690af3392464cd@mail.gmail.com> <f2160e0d0510271832s68dc34c3ge7c7a04e1d20bf60@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 27, 2005, at 8:32 PM, John DeStefano wrote: > On 10/27/05, Andrew P. <infofarmer@gmail.com> wrote: > >> On 10/27/05, John DeStefano <john.destefano@gmail.com> wrote: >> >>> >>> After clearing out the ports, updating ports (with portsnap) and >>> source, and rebuilding the system and kernel... it seemed the >>> ultimate >>> problem was actually a dependency of the package to apache1.3. >>> After I >>> ran 'pkgdb -F' and "fixed" this dependency to point to apache2.1, >>> but >>> I still had trouble installing ports. At this point, what usually works for me is to: #cd /usr && rm -rf ./ports #mkdir ./ports && cvsup /root/ports-supfile The above will delete your ENTIRE ports tree, provided it's kept in / usr/ports and as long as you use cvsup (and your ports supfile is / root/ports-supfile as mine is). When a whole bunch of ports stop working, I find this is the easiest thing to do. The other thing I do is run a cron job every week that updates, via cvsup, the ports tree. About once a year I perform the above, mostly to clean out the crap. Re-downloading your entire ports tree will be quicker if you don't use the ports-all tag and actually define which port segments you are interested in. For example, there's no real reason to download all the x11/kde/gnome crap if you're doing this on a headless server that isn't going to serve X. HTH _______________________________________________________ Eric F Crist "I am so smart, S.M.R.T!" Secure Computing Networks -Homer J Simpson
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0E2AAC01-B12D-4A7A-A986-B7A57DDDEDFF>