Date: Sat, 30 Jul 2022 03:19:46 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265509] pkg-fetch(8) does not accept a file Message-ID: <bug-265509-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265509 Bug ID: 265509 Summary: pkg-fetch(8) does not accept a file Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: pat@patmaddox.com It is possible to directly install a package file: pkg install release_test-0.1.0.pkg However, it is not possible to fetch the dependencies of a package file: pkg fetch -U -d -o my_packages release_test-0.1.0.pkg I'm not quite sure what it does, since it doesn't provide any output, but it eventually fails with pkg: festvox-don has a missing dependency: festlex-oald That's strange, because the only dependency my release_test-0.1.0.pkg has i= s on bash: $ pkg info -d -F release_test-0.1.0.pkg=20 release_test-0.1.0: bash-5.1 --- Why this would be useful: We build packages using pkg-create(8). We want to make a package repo containing only our custom packages, and their dependencies. If I could run the pkg-fetch(8) example command from above, I could then run pkg-repo(8) on the resulting dir and be set. My approach now is to define a local repo, and place the custom packages th= ere. Then I run pkg-fetch(8), giving it my package name, and it fetches the cust= om package from my local repo, and the dependencies from a remote repo. It wor= ks, but requires this second local repo. Ideally I could fetch the local package file directly, and pull in its dependencies. --=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-265509-7788>