Date: Thu, 04 Feb 2016 10:24:37 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 206917] ports-mgmt/pkg: url: "file:///xxx" in repos.conf not working! Message-ID: <bug-206917-32340-PzVBYQZ7N3@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-206917-32340@https.bugs.freebsd.org/bugzilla/> References: <bug-206917-32340@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
ohartman@zedat.fu-berlin.de has reassigned Bugzilla Automation <bugzilla@FreeBSD.org>'s request for maintainer-feedback to pkg@FreeBSD.org: Bug 206917: ports-mgmt/pkg: url: "file:///xxx" in repos.conf not working! https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206917 --- Description --- 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= esit e.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|p ackagesite.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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206917-32340-PzVBYQZ7N3>