Hugh bo...@gmail.com wrote:
A question i've got is where i can find the default PACKAGESITE value?
It seems to be hardcoded in usr.sbin/pkg_install/add/main.c
(line 318 in the 8.1 version).
___
freebsd-questions@freebsd.org mailing list
http
A question i've got is where i can find the default PACKAGESITE value?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
2011/12/4, Hugh bo...@gmail.com:
A question i've got is where i can find the default PACKAGESITE value?
FreeBSD comes with the default mirror (ftp), see when you use pkg_add,
in my case it failed, is the reason because i changed to the mirror
(ftp), you can use diferent ftp
ftp
:
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-current/Latest/xscreensaver.tbz'
by URL
but i put :
freebsd# setenv PACKAGESITE
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/Latest/
freebsd
you may want to define the PACKAGESITE variable in the .cshrc file in your
$HOME;
On Wed, Nov 30, 2011 at 1:27 PM, Edgar Rodolfo cybernaut...@gmail.comwrote:
Hi guys, currently i have a machine with freebsd 9 rc2, for default
when i try to use pkg_add -r wget, for example, i can not install
2011/11/30, Alexander Kapshuk alexander.kaps...@gmail.com:
you may want to define the PACKAGESITE variable in the .cshrc file in your
$HOME;
Thank.
this is correct:
echo 'setenv PACKAGESITE
ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/Latest/;'
/root/.cshrc
On Wed, Nov 30, 2011
Hello all,
I started using FreeBSD about a week ago, and I really like the system.
Have been using Linux for the last few years.
One noob question though, according to the Handbook on Packages and
Ports, I can use packages for either RELEASE, STABLE, or CURRENT.
How exactly would this
Hey hey Coert
Nice to see another GLUG member on here.
The link below will answer you're question.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html
In general give the FreeBSD Handbook a read, in my concerted little
opinion it is the gold standard in how any
On Tue, 11 May 2010 13:42:52 +0200
Coert lgro...@waagmeester.co.za wrote:
Hello all,
I started using FreeBSD about a week ago, and I really like the
system. Have been using Linux for the last few years.
One noob question though, according to the Handbook on Packages and
Ports, I can use
that if 'Latest' is not found,
'All' is implied to pkg_add when PACKAGESITE is explicitly defined
(otherwise overridden with hard-coded values).
The most intuitive PACKAGESITE is the one pointing to the directory *before*
All including trailing slash. This way one can add packages by origin
to pkg_add when PACKAGESITE is explicitly defined
(otherwise overridden with hard-coded values).
With that, I am still trying to figure out the proper hierarchy:
Scenario 1.) If I 'pkg_add -r foo.3.2_1.tbz' from www.example.com/packages,
should 'All' be implied after 'packages' (packages/All)?
Scenario 2
, it is a bit counter-intuitive. However it's documented in the pkg_add(1)
manpage that PACKAGESITE should resolve to the full URL where packages can be
found (even the trailing slash).
I've found in practice, that it is the easiest to set your webroot below All/,
so that All/foo-1.2.3.tbz resolves
parameters, base and spec, and has the following behavior --
snip behavior and patch
Yes, it is a bit counter-intuitive. However it's documented in the pkg_add(1)
manpage that PACKAGESITE should resolve to the full URL where packages can be
found (even the trailing slash).
The additional
packages out
from it's HTTP root, such that requesting the following URLs properly
fetch the desired packages:
http://10.0.0.4/lighttpd-1.4.22.tbz
http://10.0.0.4/pcre-7.8.tbz
I set PACKAGESITE to 'http://10.0.0.4/'; when I attempt to install
Lighttpd with pkg_add -rv, I get the following output (snipped
On Thu, Mar 26, 2009 at 3:37 PM, L Campbell ll...@virginia.edu wrote:
blah
Oh, and please CC me on any replies since I don't follow this list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To
URL of the parent
package as the base and the package name as the spec, so the second
branch is always taken.
Unfortunately, this doesn't work with the PACKAGESITE code in
add/main.c, because fileGetURL is expecting the base argument to be of
the form http://host/directory/package.tbz;, as in
www
At 2008-07-12T21:59:09-07:00, [EMAIL PROTECTED] wrote:
Can someone provide a correct example of setting PACKAGESITE so that
pkg_add will find the 7-stable packages for i386? I have tried
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/
You could use the `-r' option
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Can someone provide a correct example of setting PACKAGESITE so that
pkg_add will find the 7-stable packages for i386? I have tried
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/
as shown in the handbook, and also:
ftp
At 2008-07-12T21:59:09-07:00, [EMAIL PROTECTED] wrote:
Can someone provide a correct example of setting PACKAGESITE so that
pkg_add will find the 7-stable packages for i386? I have tried
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/
If you are running 7-STABLE
Did you specify the -r flag? Without that, the PACKAGESITE
environment variable is note used ...
No, I didn't, because -- unless I am misunderstanding the description
of the -r flag -- that will cause pkg_add to look *only* on the FTP
site. I want it to use packages that have already been
[EMAIL PROTECTED] wrote:
Did you specify the -r flag? Without that, the PACKAGESITE
environment variable is note used ...
No, I didn't, because -- unless I am misunderstanding the description
of the -r flag -- that will cause pkg_add to look *only* on the FTP
site. I want it to use
On Sunday 13 July 2008, Manolis Kiagias wrote:
As far as I know, pkg_add will only fetch dependencies recursively
from the Internet when used with -r but it will then ignore PKG_PATH.
Seems what you are asking cannot be done this way, but I might be
wrong.
I wonder if portinstall -P (or even
At 2008-07-13T01:33:18-07:00, [EMAIL PROTECTED] wrote:
IOW I want the equivalent of specifying the current directory,
followed by the FTP site, in PKG_PATH;
AFAIK, in FreeBSD, the entries in PKG_PATH must be directories, not
URLs.
(NetBSD and OpenBSD seem to allow URLs in that variable:
Mike Clarke wrote:
On Sunday 13 July 2008, Manolis Kiagias wrote:
As far as I know, pkg_add will only fetch dependencies recursively
from the Internet when used with -r but it will then ignore PKG_PATH.
Seems what you are asking cannot be done this way, but I might be
wrong.
I wonder
As far as I know, pkg_add will only fetch dependencies recursively
from the Internet when used with -r but it will then ignore
PKG_PATH. Seems what you are asking cannot be done this way ...
I wonder if portinstall -P (or even -PP) might do what the OP
wants?
You are correct,
[EMAIL PROTECTED] wrote:
As far as I know, pkg_add will only fetch dependencies recursively
from the Internet when used with -r but it will then ignore
PKG_PATH. Seems what you are asking cannot be done this way ...
I wonder if portinstall -P (or even -PP) might do what the OP
wants?
You are
[EMAIL PROTECTED] wrote:
As far as I know, pkg_add will only fetch dependencies recursively
from the Internet when used with -r but it will then ignore
PKG_PATH. Seems what you are asking cannot be done this way ...
I wonder if portinstall -P (or even -PP) might do what the OP
wants?
You are
... portinstall is part of portupgrade, which has its own
boatload of dependencies.
You must be used to sailing in very small boats.
From lurking on questions@ for a while, I have gotten the impression
that ruby alone would pretty well fill up a Panamax :)
Can someone provide a correct example of setting PACKAGESITE so that
pkg_add will find the 7-stable packages for i386? I have tried
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/
as shown in the handbook, and also:
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7
again.
5) If an admin wants to install pre-compiled packages that are not
present in the default release directory, they can configure pkg_add
-r to source packages from one of the other package directories by
setting the PACKAGESITE environment variable to point to one of the
other package
on admin
anyway, so setting one env variable is not a heavy burden.
And how does one go about *permanently* changing the pkg_add -r
target. You can set the PACKAGESITE variable in the shell which will
work on a user-by-user basis but isn't there a way to centrally change
PACKAGESITE without
I'm curious, why does pkg_add -r point to the release snapshot of
ports by default? Is the idea that a release is well-tested and that
any deviation from that (even security or bug-fix changes) is an unknown
that new users need to be shielded against when grabbing packages with
pkg_add
Gueven Bay wrote:
I'm curious, why does pkg_add -r point to the release snapshot of
ports by default? Is the idea that a release is well-tested and that
any deviation from that (even security or bug-fix changes) is an unknown
that new users need to be shielded against when grabbing packages
In the last episode (Sep 04), Kris Kennaway said:
Gary Affonso wrote:
I'm curious, why does pkg_add -r point to the release snapshot
of ports by default? Is the idea that a release is well-tested
and that any deviation from that (even security or bug-fix changes)
is an unknown that new users
On Tuesday 04 September 2007 16:40:27 Dan Nelson wrote:
Also, packages from the -stable directory may have
different/conflicting dependencies compared to existing packages on
your system. Imagine installing 6.2 before the x.org-7 update, then
trying to pkg_add -r a package from the -stable
against when grabbing packages with
pkg_add -r? Seems to me it would be better to have pkg_add -r point
to stable (which, if I understand things correctly, does get updated
packages).
And how does one go about *permanently* changing the pkg_add -r
target. You can set the PACKAGESITE
Hi people
I am trying to upgrade my gtk20 and i do the following
#setenv PACKAGESITE
ftp://ftp1.freebsd.org/pub/FreeBSD/ports/i386/packages-5-current
37 matches
Mail list logo