From owner-freebsd-questions@FreeBSD.ORG Fri Oct 22 18:44:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2720C106566B for ; Fri, 22 Oct 2010 18:44:22 +0000 (UTC) (envelope-from vic@yeaguy.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.125]) by mx1.freebsd.org (Postfix) with ESMTP id D509E8FC12 for ; Fri, 22 Oct 2010 18:44:21 +0000 (UTC) X-Authority-Analysis: v=1.1 cv=kXGwZUU/u1JTMRv8Axk4W0omja+vfTT+sGlOkodD8F8= c=1 sm=0 a=NkGpxbuWMXMA:10 a=kj9zAlcOel0A:10 a=K3oiwSFwsX5fJWoDMELOCw==:17 a=6I5d2MoRAAAA:8 a=s1O25tkdAAAA:8 a=gpoIT-UcSgRF_4gB9uAA:9 a=DP-jQi25u_J9_fM58LkA:7 a=a5veFn8Ru_ONLQICXVc7iyRDijsA:4 a=CjuIK1q_8ugA:10 a=-9pRwNy2iCUA:10 a=SV7veod9ZcQA:10 a=K3oiwSFwsX5fJWoDMELOCw==:117 X-Cloudmark-Score: 0 X-Originating-IP: 67.49.120.184 Received: from [67.49.120.184] ([67.49.120.184:38331] helo=[192.168.1.169]) by hrndva-oedge02.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 69/40-14897-48BD1CC4; Fri, 22 Oct 2010 18:44:20 +0000 Date: Fri, 22 Oct 2010 11:44:04 -0700 (PDT) From: Justin Victoria To: Warren Block In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: justin.victoria@gmail.com, freebsd-questions@freebsd.org Subject: Re: 4.5.4 Upgrading Ports (Handbook) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2010 18:44:22 -0000 Ok, so let me get this straight. Here is what Ive deduced using the handbook: Step 1: run pkg_version -v will just stick with samba for now: [vic@hbca ~]$ pkg_version -v | grep -i samba samba-3.0.37_1,1 = up-to-date with index samba34-libsmbclient-3.4.8 < needs updating (port has 3.4.9) pkg_version -v is telling me samba is up-to-date with index samba34-libsmbclient-3.4.8 needs updating.. ok. step 2, check /usr/ports/UPDATING hbca# grep samba-3.0.37 /usr/ports/UPDATING hbca# grep -i samba-3.0.37 /usr/ports/UPDATING hbca# grep -i samba34-lib /usr/ports/UPDATING hbca# grep -i samba34 /usr/ports/UPDATING AFFECTS: users of net/samba34 hbca# [vic@hbca ~]$ grep 3.0.37 /usr/ports/UPDATING [vic@hbca ~]$ 20100205: AFFECTS: users of net/samba34 AUTHOR: timur@FreeBSD.org This port was developed with the generous help of Florent Brodin. The default passdb backend has been changed to `tdbsam'! That breaks existing setups using the `smbpasswd' backend without explicit declaration! Please use `passdb backend = smbpasswd' if you would like to stick to the `smbpasswd' backend or convert your smbpasswd entries using e.g. `pdbedit -i smbpasswd -e tdbsam'. The `tdbsam' backend is much more flexible concerning per user settings like `profile path' or `home directory' and there are some commands which do not work with the `smbpasswd' backend at all. I see an issue with samba34 but not samba34-libsmbclient-3.4.8 specifically. so Step 3: pkgdb -F hbca# pkgdb -F ---> Checking the package registry database Stale origin: 'net/samba3': perhaps moved or obsoleted. -> The port 'net/samba3' was removed on 2010-10-18 because: "Has expired: Unsupported by the upstream. Please, consider to upgrade." -> Hint: samba-3.0.37_1,1 is not required by any other package -> Hint: checking for overwritten files... -> No files installed by samba-3.0.37_1,1 have been overwritten by other packages. Deinstall samba-3.0.37_1,1 ? [no] no Duplicated origin: security/libgcrypt - libgcrypt-1.4.5_1 libgcrypt-1.4.6 Unregister any of them? [no] no pkg_version said samba-3.0.37_1,1 is up to date with the index. pkgdb doesnt mention anything about samba34-libsmbclient-3.4.8. Since samba is very to configure, I can simply deinstall samba all together and reinstall.. What exactly is the point of portupgrade then? On Fri, 22 Oct 2010, Warren Block wrote: > On Fri, 22 Oct 2010, Justin Victoria wrote: > >> Step 1: >> >> pkg_version -v: >> >> Ok done.. bunch of stuff needs updating: >> ... >> >> Step 2: >> >> Update Ports collection: Ports collection updated everynite via cron job >> and cvsup. Done... >> >> Check /usr/ports/UPDATING.. >> >> This seems very time consuming considering i have a long list of ports that >> need updating.. (can i safely skip this step?) > > No. UPDATING lists the exceptions and problems. You only have to check it > since the date of your last update, though. > > My Upgrading FreeBSD Ports article: > http://www.wonkity.com/~wblock/docs/html/portupgrade.html > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >