Hi,
How do I change the package repository for pkg_add/portupgrade? I tried defining PACKAGEROOT:
But it still won't listen and spit out following crap:
The ftp resources being mentioned does not exist.
I tried changing /usr/local/etc/pkgtools.conf but continued to get same errors:
I read somewhere that pkg_add/portupgrade does some appending to the PACKAGEROOT according to pre-defined rules. The repository I have listed(well, looks like the official repo to me) doesn't follow the naming convention it is searching for.
How do I get it to work?
I am no big fan of ports because it takes enormous amounts of disk space. I alloted 1 GB for ports and compilation(/usr/ports is a symlink to a different file system) and it keeps up filling it. I try to compile a package and it has tens of dependencies. By the time all of them are downloaded and compiled, the package I wanted to install won't install because it runs out of disk space.
How do I change the package repository for pkg_add/portupgrade? I tried defining PACKAGEROOT:
Code:
$export PACKAGEROOT="ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/All/"
But it still won't listen and spit out following crap:
Code:
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/kde4.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/kde4.tbz' by URL
The ftp resources being mentioned does not exist.
I tried changing /usr/local/etc/pkgtools.conf but continued to get same errors:
Code:
ENV['PKG_PATH'] = '/All'
ENV['PACKAGEROOT'] = 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages'
I read somewhere that pkg_add/portupgrade does some appending to the PACKAGEROOT according to pre-defined rules. The repository I have listed(well, looks like the official repo to me) doesn't follow the naming convention it is searching for.
How do I get it to work?
I am no big fan of ports because it takes enormous amounts of disk space. I alloted 1 GB for ports and compilation(/usr/ports is a symlink to a different file system) and it keeps up filling it. I try to compile a package and it has tens of dependencies. By the time all of them are downloaded and compiled, the package I wanted to install won't install because it runs out of disk space.