From owner-freebsd-stable@freebsd.org Wed Sep 9 15:53:33 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8FBB9CC072 for ; Wed, 9 Sep 2015 15:53:33 +0000 (UTC) (envelope-from allbery.b@gmail.com) Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 40B4814B8 for ; Wed, 9 Sep 2015 15:53:33 +0000 (UTC) (envelope-from allbery.b@gmail.com) Received: by lamp12 with SMTP id p12so9657751lam.0 for ; Wed, 09 Sep 2015 08:53:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=MUGOL0HcEBEAVti9cBd3OEhxZcvGm1kURNKVW0GnTPU=; b=RwjH+D8mRzP/H9rd00AZqwWpyQ8wA+goXJOm2xvTqhWv9fUKBkuuF5uWoKlQ95DmLk PN+9dB7I1X2Bwml593E1SHkexaia4ieur5ezyxt2NxWPc7uN4HTGCtw2AqKHCa/au4Ia +ld8jb7DqbZr+pSBCcnpzkWlR5x41zteO9VUMEPBjjzIyaEps+vTr6aQ2dq3h42fzcaw swcmOGyI3egw2RpYl0FXgNEnlMBkYgTfDh1WxPsonN8yMdyNP/IMFwx3Gj83cFyeje9Y 84PoiYPhtjnc5HWy7ulUIPejv9flVC8zUZEJQubCuWkCPtnNtWk7u0kDIPBgtCRrPozr 36UQ== MIME-Version: 1.0 X-Received: by 10.152.6.194 with SMTP id d2mr29583380laa.93.1441814011184; Wed, 09 Sep 2015 08:53:31 -0700 (PDT) Received: by 10.25.134.198 with HTTP; Wed, 9 Sep 2015 08:53:31 -0700 (PDT) In-Reply-To: <20150909154521.GW23144@manor.msen.com> References: <20150908175303.GP23144@manor.msen.com> <1441745722.12994.59.camel@michaeleichorn.com> <7A1CD302-0428-4068-ACD9-146C5E03802E@ultra-secure.de> <20150909154521.GW23144@manor.msen.com> Date: Wed, 9 Sep 2015 11:53:31 -0400 Message-ID: Subject: Re: pkg does bad things after upgrade from 8.4 to 9.3 From: Brandon Allbery To: freebsd-stable Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2015 15:53:33 -0000 On Wed, Sep 9, 2015 at 11:45 AM, Michael R. Wayne wrote: > Note that NONE of this explains why pkg would delete ANYTHING Because it can't keep track of multiple versions of (say) gettext for different packages? If you upgrade something that requires a newer gettext, you must either upgrade everything else that uses gettext or remove the things that can only use the old one. This same pain is visible in other package systems --- for example, ask someone on debian unstable (or, occasionally, testing) who tries to install/upgrade something and watches it ask to remove their entire system because it was built against a newer libc. If you use packages, you need to upgrade the entire package set as a unit, not piecemeal. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net