Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jun 2014 08:42:35 -0400
From:      Rick Miller <vmiller@hostileadmin.com>
To:        freebsd-pkg@freebsd.org
Subject:   private pkg repos w/ poudriere
Message-ID:  <CAHzLAVE%2B7O2EjzfWBnWMiAWTLmWY-wm2=V6YYJ%2Bz1k9AHxaiLg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I ran through the BSDNow tutorial "Making a binary package repository with
poudriere" and created repos on a FreeBSD host and copied the resulting
directory and contents to a Linux node which hosts a provisioning platform
that also hosts binary software repos.

I booted a VM to the 10.0-RELEASE bootonly ISO (which I am modifying to
perform a custom OS installation) and set PACKAGESITE to the fully
qualified URL to the Linux host above and, upon executing pkg, an error
citing "Signature for pkg not available" is output.

The web server logs on the Linux host show that pkg.txz was found, but not
pkg.txz.sig[1].  The logs are accurate...the pkg.txz.sig file does not
exist.  I assumed Poudriere and/or pkg(8) would generate all files
necessary for bootstrapping pkg(8) and using it to install packages to the
disk, but this doesn't appear to be the case.  I must have missed something.

Can someone shed some light on what I did miss?

I'm also concerned pkg will encounter issues installing into the bootonly
environment as it is read-only.  Are there options available for
bootstrapping pkg in the bootonly ISO and perhaps installing it to the disk?


== References

[1] 192.168.x.xxx - - [06/Jun/2014:08:19:27 -0400] "GET
/cobbler/repo_mirror/100x64-20140605/Latest/pkg.txz HTTP/1.1" 200 2073272
"-" "pkg libfetch/2.0"
192.168.x.xxx - - [06/Jun/2014:08:19:42 -0400] "GET
/cobbler/repo_mirror/100x64-20140605/Latest/pkg.txz.sig HTTP/1.1" 404 354
"-" "pkg libfetch/2.0"
192.168.x.xxx - - [06/Jun/2014:08:19:43 -0400] "GET
/cobbler/repo_mirror/100x64-20140605/Latest/pkg.txz.sig HTTP/1.1" 404 354
"-" "pkg libfetch/2.0"
192.168.x.x - - [06/Jun/2014:08:19:44 -0400] "GET
/cobbler/repo_mirror/100x64-20140605/Latest/pkg.txz.sig HTTP/1.1" 404 354
"-" "pkg libfetch/2.0"

-- 
Take care
Rick Miller



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHzLAVE%2B7O2EjzfWBnWMiAWTLmWY-wm2=V6YYJ%2Bz1k9AHxaiLg>