From owner-freebsd-stable Sun Feb 17 12:38: 2 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id 60EFD37B416 for ; Sun, 17 Feb 2002 12:37:55 -0800 (PST) Received: (qmail 557 invoked by uid 100); 17 Feb 2002 20:37:52 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15472.5279.611970.984440@guru.mired.org> Date: Sun, 17 Feb 2002 14:37:51 -0600 To: bmah@FreeBSD.ORG Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Best way to upgrade all installed ports? In-Reply-To: <200202171728.g1HHSQJ69338@bmah.dyndns.org> References: <20020217171134.13037.qmail@www.smluc.org> <200202171728.g1HHSQJ69338@bmah.dyndns.org> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.46 (Python 2.2; freebsd-4.5-STABLE-i386) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bruce A. Mah types: > > > Probably involves portugrade, but I'm not certain how to use it > > > for this? > > pkg_version -c > update > > vi update > > (tweak to desire) > > sh update > Please don't do this, unless you're sure you can "tweak to desire" all > of the dependency information correctly. Nah, there's not a lot of danger in letting the dependencies rot. Every once and a while, you'll get into trouble, and have to clean it up. > PS. I'm the original author of pkg_version. I use portupgrade. I tried portupgrade, and found that I had to do more work every time I used it than I had to do in dealing with the occasional problems caused by dependency rot from pkg_version -c. For one thing, it doesn't handle packages that don't come from the ports tree gracefully. Given that I've always got at least one of those, and sometimes two or three, that's a pain. For another, it doesn't handle the case where a dependency is missing and I want it that way. This happens when an port A installs applications 1, 2, and 3, and I want to use applications 1 and 2 but don't care about 3. But 3 requires a library package B that's bigger than everything else installed to run A put together. Worse yet, having B installed means that other ports will by default build with code that depends on it, which means I have to have the daemon part of B running for them to operate properly, and I don't want to do *that*, either. The easy solution is to just delete B and forget about it. Except portupgrade won't let me. Portupgrades insistence that everything be nice and tidy means that every time I run portupgrade, I have to deal with all these issues. If things could be tagged as "broken but acceptable", I'd be a lot happier. Better yet, if it would do the reverse of what it does now, and when something was "broken but acceptable" and not actually broken, let me know about it, that would add utility to it. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message