LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 04-07-2006, 07:15 PM   #1
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Rep: Reputation: 30
Need help with pkg_add its not connecting!


Hey everyone

I am trying to install Mplayer from the ports collection on FreeBSD 6.0 and it is giving me issues. I have full DHCP connectivity to the internet and I am behind a firewall because this is at my job site. Here is the output i get when i try to install mplayer:


majid# pkg_add -r mplayer
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/po...t/mplayer.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/mplayer.tbz' by URL


the OS has been doing this with pretty much every package i try to download and install using pkg_add -r packagename

Any ideas on how i can remedy this issue?
 
Old 04-08-2006, 03:46 AM   #2
javpra
Member
 
Registered: Nov 2003
Distribution: FreeBSD/Gentoo/Debian
Posts: 52

Rep: Reputation: 19
Hello,

There are a few things you can look into. BSD should make several attempts at getting the requested file. In your post I see only one message saying could not fetch. If it is left to run it should try to retrieve from different servers. When it's done it should either start installing, compiling or give you a final error message before dropping you back to a prompt, depending on how you attempted to install the program.
You may also want to attempt to build mplayer from source. The location of it in your tree is /usr/ports/multimedia/mplayer. To retrieve it from source and compile `cd` into that directory and type `make install clean`.
Also, if there is a way to get your machine directly onto the internet this may help determine if your firewall is preventing the connection. Even though you have DHCP the firewall may be blocking FTP or filtering the servers it is attempting to pull from.
Finnally, it may be that the list of servers in the appropriate files is outdated. If this is the case you will need to update your ports tree by using the methods described in the handbook at the following link. http://www.freebsd.org/doc/en_US.ISO...ting-edge.html

Hope this is of help,
Javpra
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error on pkg_add on openbsd 3.8 klemen *BSD 0 10-06-2005 11:56 AM
how to add pkg_add powah Linux - Software 3 09-20-2005 11:59 AM
pkg_add error with qt-3.2.1 ta0kira *BSD 8 05-12-2005 12:55 AM
pkg_add -r apache+mod_ssl ub3rj3phf *BSD 1 12-02-2004 02:17 AM
Difference between ports and pkg_add?? proton666 *BSD 2 11-21-2004 05:05 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 07:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration