View the Most Wanted LQ Wiki articles.
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 04-07-2006, 08:15 PM   #1
Registered: Mar 2005
Location: Washington DC area
Posts: 211

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 File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch '' 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, 04:46 AM   #2
Registered: Nov 2003
Distribution: FreeBSD/Gentoo/Debian
Posts: 51

Rep: Reputation: 18

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.

Hope this is of help,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:56 PM
how to add pkg_add powah Linux - Software 3 09-20-2005 12:59 PM
pkg_add error with qt-3.2.1 ta0kira *BSD 8 05-12-2005 01:55 AM
pkg_add -r apache+mod_ssl ub3rj3phf *BSD 1 12-02-2004 03:17 AM
Difference between ports and pkg_add?? proton666 *BSD 2 11-21-2004 06:05 PM

All times are GMT -5. The time now is 02:16 AM.

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