[buug] apt ssh method
Ian Zimmerman
itz at madbat.mine.nu
Sun Mar 25 16:41:26 PDT 2007
Ian> I am trying to use the ssh access method for apt, the Debian
Ian> package tool. While this is mentioned in the sources.list(5)
Ian> manpage, no examples of the URI syntax for this method are given,
Ian> so I am left to guess. A quick google search was also unhelpful.
Ian>
Ian> I have tried the syntax below, and got the following result.
Ian>
Ian> deb ssh://my.remote.host debian/
jpw> Ian, That slash at the end of the line source line really doesn't
jpw> look right to me. I would think it should look something more like
jpw> deb ssh://my.remote.host/ debian
Actually, it turned out the other way - I needed _more_ slashes <grin>
I had to put an absolute path there, i.e.
deb ssh://my.remote.host /root/debian/
I decided to move the stuff out of root's homedir anyway, so it's just
as well.
In addition, I discovered what is arguably a bug: in the Package file
the Filename fields must be absolute paths, while for "deb file:/..."
archives they must be relative (ie. ./some_package.deb for the shallow
case). So you can't serve the same archive both as deb file:/ and
deb ssh:// .
jpw> But I could be wrong, computers scare me and I try to learn as
jpw> little about them as possible...
Hmm, that seems a bit out of place in the BUUG ... has my sarcasm radar
rusted in this cold climate?
By the way, apologies for posting an answer to a totally unrelated topic
initially. I lazily hit the Followup key to get the addressee filled,
I remembered to delete the References header, but the In-Reply-To header
was hidden by my UI so I left it in <groan> . I often get worked up
about this in lists, so I should have heeded by own advice and avoid
the Followup key when follow-up wasn't what I was doing.
Oh yes, you have "localhost" in your Message-Id. Welcome to my spiffy
autoresponder <laugh>
--
Experience with Asset Control an asset.
More information about the buug
mailing list