From owner-freebsd-questions@freebsd.org Wed Nov 9 17:40:34 2016 Return-Path: Delivered-To: freebsd-questions@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 4E186C38471 for ; Wed, 9 Nov 2016 17:40:34 +0000 (UTC) (envelope-from stdin@niklaas.eu) Received: from mx.box-hlm-03.niklaas.eu (mx.box-hlm-03.niklaas.eu [84.22.110.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 17B3919D5 for ; Wed, 9 Nov 2016 17:40:33 +0000 (UTC) (envelope-from stdin@niklaas.eu) Received: from box-hlm-03.niklaas.eu (unknown [10.77.0.1]) by mx.box-hlm-03.niklaas.eu (Postfix) with ESMTPSA id 79C4B4F99A2 for ; Wed, 9 Nov 2016 18:40:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=niklaas.eu; s=default; t=1478713224; bh=8ygGyh1HhwjSpmB0iDoO2MZUzMXjTaraKitUQp2Us4s=; h=Date:From:To:Subject:Reply-To:References:In-Reply-To; b=K/jtgSoHiCMLQnbqOuKdEbGzI9fJdGZznyRbqeSDVnBpYfF2tqJ7A/aL1LQsjW7z4 ZqAQrY1tGisyG7PGLQJCLyStYng1l/mEuFf26pBxcMbbgpNTMhFfSxsCfvlWRpJW1Z OXr2BMHGl4cvbUF2ABrVS/iphm9Ki5GlA8E4PZfU= Date: Wed, 9 Nov 2016 18:40:21 +0100 From: Niklaas Baudet von Gersdorff To: freebsd-questions@freebsd.org Subject: Re: After perl upgrade: "Can't locate XML/Parser.pm in @INC" Message-ID: <20161109174021.apqo2cemfdhj3blc@box-hlm-03.niklaas.eu> Reply-To: stdin@niklaas.eu Mail-Followup-To: freebsd-questions@freebsd.org References: <20161109144002.6uu3t6hbdcjafuav@box-hlm-03.niklaas.eu> <20161109170622.ssatt5vdemaarrbi@box-hlm-03.niklaas.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161109170622.ssatt5vdemaarrbi@box-hlm-03.niklaas.eu> User-Agent: NeoMutt/20161028 (1.7.1) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 17:40:34 -0000 Niklaas Baudet von Gersdorff [2016-11-09 18:06 +0100] : > Matthew Seaman [2016-11-09 15:35 +0000] : > > > It is possible to use multiple repositories with pkg, but that doesn't > > mean you can mix any arbitrary set of repositories. In particular, if > > you mix a repository build against a current version of the ports tree > > against one of the quarterly packages sets then the fact that you can > > end up with different versions of the same package in each repository > > does tend to have undesirable effects. > > > > Multiple repo support works best when both repos are using essentially > > the same copy of the ports tree, and you use one to provide and overlay > > for certain packages with non-default options settings. If one of your > > repositories is the default quarterly package set, then I'd recommend > > checking out the appropriate SVN branch for any package sets you build > > yourself. > > OK. Thanks a lot for your thorough explanation! So what I did in the end was adding /usr/local/etc/pkg/repos/FreeBSD.conf with the following content: FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", priority: 40 } My own repositories have priorities higher than 40. And by changing "quarterly" to "latest" I ensure that the versions are the same. `pkg upgrade` works fine now. Niklaas