From owner-freebsd-questions@FreeBSD.ORG Sun Mar 13 23:28:49 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 5DCCB16A4CE for ; Sun, 13 Mar 2005 23:28:49 +0000 (GMT) Received: from ms-smtp-01-eri0.socal.rr.com (ms-smtp-01-qfe0.socal.rr.com [66.75.162.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEEAC43D2F for ; Sun, 13 Mar 2005 23:28:48 +0000 (GMT) (envelope-from rmarella@gmail.com) Received: from [10.0.0.101] (cpe-66-8-191-104.hawaii.res.rr.com [66.8.191.104])j2DNSjkM014017; Sun, 13 Mar 2005 15:28:45 -0800 (PST) Message-ID: <4234CC8E.7060508@gmail.com> Date: Sun, 13 Mar 2005 13:28:14 -1000 From: Robert Marella User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Michael C. Shultz" References: <20050313200543.B290F4BE6D@ws1-1.us4.outblaze.com> <4234A4C5.2090109@cis.strath.ac.uk> <4234A531.6040100@makeworld.com> <200503131313.36925.ringworm01@gmail.com> In-Reply-To: <200503131313.36925.ringworm01@gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-questions@freebsd.org 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 23:28:49 -0000 Michael C. Shultz wrote: > 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 > Mike Like Chris I have packages scattered in my ports directories. I have just started using Portmanager. I have now created /usr/ports/packages directory. Do I need to move the packages one at a time from the individual ports directories? Will running portmanager again find them and move them? Thanks for all the positive, active maintenance of this port. Robert