From owner-freebsd-pkg@freebsd.org Thu Feb 4 10:24:38 2016 Return-Path: Delivered-To: freebsd-pkg@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 56F7AA9BD87 for ; Thu, 4 Feb 2016 10:24:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3C85315B5 for ; Thu, 4 Feb 2016 10:24:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3B49AA9BD86; Thu, 4 Feb 2016 10:24:38 +0000 (UTC) Delivered-To: pkg@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 21B43A9BD83 for ; Thu, 4 Feb 2016 10:24:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 077E915B4 for ; Thu, 4 Feb 2016 10:24:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u14AObVa029594 for ; Thu, 4 Feb 2016 10:24:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 206917] ports-mgmt/pkg: url: "file:///xxx" in repos.conf not working! Date: Thu, 04 Feb 2016 10:24:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartman@zedat.fu-berlin.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 10:24:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206917 Bug ID: 206917 Summary: ports-mgmt/pkg: url: "file:///xxx" in repos.conf not working! Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: pkg@FreeBSD.org Reporter: ohartman@zedat.fu-berlin.de Assignee: pkg@FreeBSD.org Flags: maintainer-feedback?(pkg@FreeBSD.org) Background: Running CURRENT (FreeBSD 11.0-CURRENT #30 r295138: Tue Feb 2 09:32:43 CET = 2016 amd64) with the lastes updates of ports tree (svn'ed) and using poudriere(8) for local repository creation, I'm not capable of using a local repository = via url: "file:///xxxx" in /usr/local/etc/pkg/repos/myrepo.conf Ant try to install a package from that repository fails with the errors: [...] pkg: file:///pool/poudriere/data/packages/head-amd64-head-default/.latest/meta.t= xz: No such file or directory repository myrepo has no meta file, using default settings pkg: file:///pool/poudriere/data/packages/head-amd64-head-default/.latest/packag= esite.txz: No such file or directory Unable to update repository myrepo The location provided is the package folder created by poudriere(8) and it contains all the complained tarballs pkg needs, but they are symbolic links= to subfolder ".latest". The above shown error message is produced while delega= tin the url-target directly to subfolder ".latest" since I thought pkg wasn't following symbolic links. When simply exchanging the culprit url: tag in myrepo.conf with url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", the very same remaining configuration setup works as expected! I did not find any hints in the documentation about how to use local repos situated in the local file systems or even the exclusion of the usage of th= ose. I can fetch(1) the files ile:///pool/poudriere/data/packages/head-amd64-head-default/.latest/{meta.t= xz|packagesite.txz}! By simply exchanging the URL towards a remote repo as shown above, the installation of packages works. This makes me suspect either a configuration error (which is due to a very sparse documentation regarding file-based rep= os then) or a bug. I assume latter. --=20 You are receiving this mail because: You are the assignee for the bug.=