From owner-freebsd-ports@freebsd.org Fri Jul 28 08:56:05 2017 Return-Path: Delivered-To: freebsd-ports@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 D2169DC13F6 for ; Fri, 28 Jul 2017 08:56:05 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id AF7617DA96 for ; Fri, 28 Jul 2017 08:56:05 +0000 (UTC) (envelope-from idefix@fechner.net) Received: by mailman.ysv.freebsd.org (Postfix) id AED69DC13F5; Fri, 28 Jul 2017 08:56:05 +0000 (UTC) Delivered-To: ports@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 AE760DC13F4 for ; Fri, 28 Jul 2017 08:56:05 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [IPv6:2001:608:a02::33]) (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 6FB6A7DA95 for ; Fri, 28 Jul 2017 08:56:05 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from server.idefix.lan (aftr-88-217-181-158.dynamic.mnet-online.de [88.217.181.158]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by anny.lostinspace.de (Postfix) with ESMTPSA id F3FA3CB3997 for ; Fri, 28 Jul 2017 10:56:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fechner.net; s=default; t=1501232162; bh=393t5D36K6CKM1RPTtMMAPBTWRxTd2wsookU7e4KlAg=; h=Date:From:To:Subject; b=kqmL+f0+fTIwlXLDkex1kLwXPQdfDIH97nuGbxa+cla4B1eXrO7zVi6mmQ76EhxoK ef1ZnM6+v6hVhhSZTb9A/LwCVRjwp21DqlJo7AIkyAwD0tWLnykCjr2PGXi7IiYSEw wIuru/hS1ibJnpXbYNBLBZ24XAswEQC+e75pRQzM= Received: from server.idefix.lan (localhost [127.0.0.1]) by server.idefix.lan (Postfix) with ESMTP id 66BB1D8721F for ; Fri, 28 Jul 2017 10:56:01 +0200 (CEST) Received: from server.idefix.lan (localhost [IPv6:::1]) by server.idefix.lan (Postfix) with ESMTP id F1E75D87219 for ; Fri, 28 Jul 2017 10:56:00 +0200 (CEST) X-Virus-Scanned: amavisd-new at fechner.net Received: from server.idefix.lan ([127.0.0.1]) by server.idefix.lan (server.idefix.lan [127.0.0.1]) (amavisd-new, port 10024) with LMTP id owBc_MJ-6GQ9 for ; Fri, 28 Jul 2017 10:56:00 +0200 (CEST) Received: from webmail.fechner.net (localhost [IPv6:::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by server.idefix.lan (Postfix) with ESMTPSA id E96B6D87207 for ; Fri, 28 Jul 2017 10:55:59 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 28 Jul 2017 10:55:59 +0200 From: Matthias Fechner To: ports@freebsd.org Subject: Pkg does not upgrade if more than one repository is defined Message-ID: <4bd07372cbebf842be96c9269ac7e274@fechner.net> X-Sender: idefix@fechner.net User-Agent: Roundcube Webmail/1.2.5 X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jul 2017 08:56:05 -0000 Dear all, I have a problem with pkg and I'm not sure if it is a bug in pkg or a configuration issue. I work on new version on ports which are in a separate poudriere repository (to be able to easily test it). I have now two configuration files in /usr/local/etc/pkg/repos, poudriere.conf: poudriere: { url: "https://pkg.fechner.net/packages/110amd64-default", mirror_type: "pkg+http", signature_type: "pubkey", pubkey: "/usr/local/etc/ssl/certs/pkg.cert", enabled: yes, priority: 1 } this is the standard repo which contains all stable packages. Now I have a new version (in this case for gitlab) at gitlab.conf: gitlab: { url: "https://pkg.fechner.net/packages/110amd64-gitlab", mirror_type: "pkg+http", signature_type: "pubkey", pubkey: "/usr/local/etc/ssl/certs/pkg.cert", enabled: yes, priority: 10 } The priority is higher and some package there have a higher version number. But if I execute now 'pkg upgrade' pkg does not upgrade packages which have a higher version from the gitlab repository, but stick to the poudriere repository. I also tried to do a 'pkg update -f; pkg upgrade' but it does not help. Is there something wrong with my configuration or is this a bug in pkg? -- Thanks Matthias