1. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Rep Power

    Package Installation

    How can I install a package when the network is not cooperating? I issue the command
    PHP Code:
    sudo pkg_add -r git 
    and I receive
    Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/git.tbz: Connection reset by peer pkg_add:
    unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/git.tbz' by URL
    Can I install this package some other way?
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Woodland Hills, Los Angeles County, California, USA
    Rep Power
    Do you have the install package downloaded on another media (such as a CD-ROM or USB key). If not, you could go to another computer that has an internet connection enabled, grab the package and transfer it to a CD or USB key.

    Then plug in the media to your freebsd box and mount it (I'm assuming it is mounted on /mnt/cdrom here)

    Then, you can install it with:
    cd /mnt/cdrom
    sudo pkg_add git.tbz

    Hope this helps.

    Comments on this post

    • MauroEldritch agrees
    Up the Irons
    What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
    "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
    Down with Sharon Osbourne

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo

IMN logo majestic logo threadwatch logo seochat tools logo