On Tue, Apr 29, 2014 at 1:20 AM, Marc Espie <[email protected]> wrote:

> Expect no help from me until you actually explain what you want to do in
> explicit terms.   It looks like you're trying to pull a fast one on pkg_add,
> and obviously pkg_add isn't duped... you tell it you want to install
> something, and you end up grabbing some other thing. No way !

Okay, so I understand that the problem is there because of the filename.
'agent.tgz' is a virtual file, calls to which are redirected by AWS
via HTTP 301.
Currently this redirects to '10bees-1.1.55.20.tgz' but that changes often,
sometimes daily.

So, answering your question - I want to install the package that 'agent.tgz'
redirects to. I understand pkg_add's fears about the fact, that it thought it
was installing 'agent.tgz' and now it sees '10bees-1.1.55.20.tgz'.

In general, I want to find out if there is a simple way to have an universal
install command that will always be valid. I wanted to avoid monsters like
"ftp http://{$REDIRECT} | sed ${EXTRACT_FILENAME} |
pkg_add ${FILENAME}". But, if OpenBSD's policy absolutely forbids any
other way - so be it.

Best regards,
ML

Reply via email to