Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm gonna write a script to pull down the package files, now how can I install them?

Can I get pkg to use a file:// URL instead of an http:// URL?

Alternatively, Is there a better format to do this with? For example, can a stand-alone pkg file be created, given the manifest, and all the individual files?

In case you wondered, I do not want to create a mirror of the repo.

share|improve this question
    
Wish I could tell you, can't get the damn thing to get past the "dots" in a Virtualbox guest :/ –  Tim Jan 9 '12 at 19:40
    
Took me awhile to figure out what you meant. :) (To those who don't know, that is when attempting to boot to a Solaris image, there are dots while it reads in the OS) –  George Bailey Jan 9 '12 at 19:47

1 Answer 1

up vote 0 down vote accepted

I'm going to point to my answer on your other post. You can set up a pkg.depotd instance locally and add that as a publisher, but pkg cannot install directly from the filesystem. This is mostly because the package server provides extra metadata as well as the pkg search functionality.

The local pkg server doesn't have to be a complete mirror. As I said in the other post, pkgrecv can just pull down what you want (and its dependencies).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.