From owner-freebsd-questions@FreeBSD.ORG Sun Mar 13 21:13:41 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24D6A16A4CE for ; Sun, 13 Mar 2005 21:13:41 +0000 (GMT) Received: from vms046pub.verizon.net (vms046pub.verizon.net [206.46.252.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id E835443D3F for ; Sun, 13 Mar 2005 21:13:40 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from ringworm.mechee.com ([4.27.46.32])0.04 <0IDB00B3E6YSWWC0@vms046.mailsrvcs.net> for freebsd-questions@freebsd.org; Sun, 13 Mar 2005 15:13:40 -0600 (CST) Received: by ringworm.mechee.com (Postfix, from userid 1001) id CC84B2CE75B; Sun, 13 Mar 2005 13:13:38 -0800 (PST) Date: Sun, 13 Mar 2005 13:13:35 -0800 From: "Michael C. Shultz" In-reply-to: <4234A531.6040100@makeworld.com> To: racerx@makeworld.com, freebsd-questions@freebsd.org Message-id: <200503131313.36925.ringworm01@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Content-disposition: inline References: <20050313200543.B290F4BE6D@ws1-1.us4.outblaze.com> <4234A4C5.2090109@cis.strath.ac.uk> <4234A531.6040100@makeworld.com> User-Agent: KMail/1.7.2 Subject: Re: If I have portmanager, do I need portupgrade? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2005 21:13:41 -0000 On Sunday 13 March 2005 12:40 pm, Chris wrote: > Chris Hodgins wrote: > > Michael C. Shultz wrote: > >> On Sunday 13 March 2005 12:05 pm, Fafa Diliha Romanova wrote: > >>> If I just do: > >>> > >>> cvsup -g -L 2 /etc/cvsupfile && portmanager -u > >>> > >>> Do I need portupgrade at all then? > >>> > >>> Thanks. > >> > >> Not for upgrading. portsclean (a part of portsupgrade package) is > >> a nice feature of portupgrade, so is pkg_which and a few others so > >> I keep portupgrade around just the same. > >> > >> -Mike > > > > How long does it take to run portmanager. Is it a similar amount > > of time as portupgrade for each run? > > > > Chris > > The time is about the same (in my experiance) AND (most importantly) > portmanager seems to handle upgrading better then portupgrade does. > > IE: Thunderbird, Gnome, Firefox. > > Another nifty thing is that portmanager creates a package and dumps > it in /usr/ports/mail/thunderbird (for example) and at least for me, > I can pkg_add that to my laptop since they both run 5.3 Chris, check and see if you have a /usr/ports/packages directory. If you do then all the packages will end up in /usr/ports/packages/All and a tree of symlinks will be made under /usr/ports/packages for the ports that have packages. For some reason when you first set up FreeBSD/ports it does not make the /usr/ports/packages directory so the packages end up in the ports directory, this isn't a good place for them, here is why: When a port is removed, see /usr/ports/MOVED, cvsup should be able to delete the directory but if a package is setting in there it can't, so over time you will come across port directories that have just a package in it and maybe a readme.html file but nothing else. It will keep things leaner/cleaner if the packages directory exists. I keep meaning to submit a PR about the missing packages directory but never seem to get around to it :( One other thing just to let you know, I've been testing portmanager against this new gnome update, when its done there is a bunch of gstreamer-plugins-* left un-upgraded. I just tried pkg_delete -f gstreamer-plugins-* on them and let portmanager -u bring them back in, it seems to be working but I also cvsup'ed and there is so many new changes it will be awhile before I know for sure. Right now I'm telling anyone who asks to try pkg_delete -f gstreamer-plugins-* first before upgrading with portmanager if they use gnome. -Mike