Date: Thu, 04 Feb 2016 10:24:37 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 206917] ports-mgmt/pkg: url: "file:///xxx" in repos.conf not working! Message-ID: <bug-206917-32340@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206917-32340>