1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FreeBSD 9.1-RELEASE unable to get ftp...

Discussion in 'Installation and Maintenance of Ports or Packages' started by HolgerFisch, Dec 30, 2012.

  1. HolgerFisch

    HolgerFisch New Member

    Messages:
    2
    Likes Received:
    0
    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:
    Code:
    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 :)
     
  2. Beastie

    Beastie Member

    Messages:
    1,917
    Likes Received:
    3
    From the announcement:

    So yes, using the packages-9-stable repository sounds like a good idea.
     
  3. jb_fvwm2

    jb_fvwm2 Member

    Messages:
    1,581
    Likes Received:
    1
    Code:
     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...
     
  4. heja2009

    heja2009 New Member

    Messages:
    12
    Likes Received:
    0
    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
     
  5. fonz

    fonz Moderator Staff Member Moderator

    Messages:
    2,444
    Likes Received:
    7
    Doesn't it use the very same packages as the pkg_* tools? If they aren't there (yet), they aren't there (yet).

    Fonz
     
  6. kpa

    kpa Member

    Messages:
    4,026
    Likes Received:
    13
    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.
     
  7. throAU

    throAU New Member

    Messages:
    912
    Likes Received:
    0
    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?
     
  8. kpa

    kpa Member

    Messages:
    4,026
    Likes Received:
    13
  9. throAU

    throAU New Member

    Messages:
    912
    Likes Received:
    0


    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.
     
  10. fonz

    fonz Moderator Staff Member Moderator

    Messages:
    2,444
    Likes Received:
    7
    In that case, forget I said anything.

    Fonz
     
  11. HolgerFisch

    HolgerFisch New Member

    Messages:
    2
    Likes Received:
    0
    is that ok so for FreeBSD9.1 i386 ???

    Code:
    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 :)
     
  12. jb_fvwm2

    jb_fvwm2 Member

    Messages:
    1,581
    Likes Received:
    1
    Code:
    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.