View Full Version : FreeBSD 9.1-RELEASE unable to get ftp...
HolgerFisch
December 30th, 2012, 20:52
Hi
I am new to FreeBSD but not to Linux. I downloaded the newest version of FreeBSD 9.1-RELEASE (memstick.iso / i386) and installed it. If I try to get a package with pkg_add -r packagename it says:
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.1-release/Latest/mc.tbz' by URL
The FreeBSD server doesn't have the folder packages-9.1-release so I am not sure which URL I have to use with setenv.
Maybe packages-9.0-stable or packages-stable?
Any help would be great :)
Beastie
December 30th, 2012, 22:06
From the announcement (http://www.freebsd.org/releases/9.1R/announce.html):
Please note that precompiled third-party packages are not available for 9.1-RELEASE at the time of release.
[...]
Due to the security incident reported here:
http://www.FreeBSD.org/news/2012-compromise.html
only the small third-party package set on the DVD image is available at this time for users who require pre-built packages (just GNOME and KDE windowing systems). The FreeBSD Project's package building infrastructure is undergoing a complete review and redesign. At this time we can not commit to a date the full release package set will become available. A separate announcement will be made when that becomes available. If you wish to install 9.1-RELEASE now you can build your own packages using portsnap(8) to obtain an up to date ports tree and then build the packages. If you require pre-built packages you should wait for the announcement of the full release package set becoming available.
So yes, using the packages-9-stable repository sounds like a good idea.
jb_fvwm2
December 30th, 2012, 22:15
ftp ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/ftp
get ncftp[3]-...
pkg_add ncftp3- # when local
rehash
ncftp ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/misc
ls mc*
get mc- ..... # whatever it has
the poster above this one bested it by three seconds or so...
heja2009
December 30th, 2012, 22:49
How about pkgng, are there any usable packages already?
I did not find anything by nosing around on pkgbeta.FreeBSD.org
I get e.g.
pkg install subversion
pkg: Package 'subversion' was not found in the repositories
fonz
December 30th, 2012, 22:56
How about pkgng
Doesn't it use the very same packages as the pkg_* tools? If they aren't there (yet), they aren't there (yet).
Fonz
kpa
December 31st, 2012, 02:18
Doesn't it use the very same packages as the pkg_* tools? If they aren't there (yet), they aren't there (yet).
Fonz
PKGNG has a different package format, you can't install the old packages with pkgng tools and vice versa. There are no PKGNG packages yet for 9.1-RELEASE because 9.1 still uses the old pkg tools by default and PKGNG is still an experimental feature for 9.X releases of FreeBSD.
throAU
December 31st, 2012, 02:29
In a similar vein, I saw the release announcement for FreeBSD 9.1 this morning, so I tried to download via FTP.
ftp.au.freebsd.org - no 9.1 directory (under ISO-IMAGES-AMD64)
ftp2.freebsd.org - no 9.1 directory
ftp.freebsd.org - no 9.1 directory
Am I somehow seeing expired cached data, or is it not on the FTP sites yet?
kpa
December 31st, 2012, 02:32
ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.1
throAU
December 31st, 2012, 02:39
ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.1
Cheers, figured it out just now.
Looks like there are a bunch of dead/out of date symlinks on the FTP site.
ISO-IMAGES-AMD64 is listed before "releases" and logically looks like where you should find AMD64 ISO images. It links to a directory with subdirectories for 7.x through 8.x.
fonz
December 31st, 2012, 12:44
PKGNG has a different package format
In that case, forget I said anything.
Fonz
HolgerFisch
January 5th, 2013, 05:10
is that ok so for FreeBSD9.1 i386 ???
sudo setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-stable/Latest/
sudo pkg_add -r mc
sorry my dumb questions but FreeBSD is new for me ^^
thanks :)
jb_fvwm2
January 5th, 2013, 13:50
PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/
I've that in /usr/local/etc/portmaster.rc # or another similar though. More steps needed to make it more relevant to your question maybe.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.