Pkg_add Error Unable To Get No Address Record
Contents |
0 Trophy Points: 1 good evening everyone. first i would like to thank you for taking the time freenas jail pkg install to take a look at my issue. I have been using freeNAS
Unable To Update Repository Freebsd
for a while now, but am just starting to get the most out of it. Quick rundown of my unable to update repository pfsense-core system: FreeNAS-8.2.0-RELEASE-p1-x86 (r11950) P4 3GHz 1776MB 2x 1TB hard drive I am trying to add Subsonic to my freenas box, but for some reason, 'pkg_add' does not work. when trying freebsd dns to run 'pkg_add -vr flac' it returns an error stating: [root@freenas] ~# pkg_add -vr flac scheme: [ftp] user: [] password: [] host: [ftp-archive.freebsd.org] port: [0] document: [/pub/FreeBSD-Archive/ports/i386/packages-8.2-release/Latest/flac.tbz] ---> ftp-archive.freebsd.org:21 looking up ftp-archive.freebsd.org Error: Unable to get ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.2-release/Latest/flac.tbz: No address record pkg_add: unable to fetch 'ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.2-release/Latest/flac.tbz' by URL pkg_add: 1 package addition(s) failed the same thing happens regardless of what package i try to install. i was able to find a work around and visited 'ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.2-release/Latest/' and downloaded the 6 specific .tbz files required for the subsonic installation via pkg_add (xtrans, xproto, xextproto, javavmwrapper, lame, flac, ffmpeg). i was able to successfully run 'pkg_add -v /mnt/NAS/freeBSD/freeNAS_software/***.tbz' on some files and it installed fine, but other files seemed as if they would require a host of other files as well (a bunch of lib*** files...i saw them on that same site i visited, but didn't want to have to download each of them individually). it is my natural assumption that a successful pkg_add command would also install the required lib files pertaining to the requested command (in the same way that 'sudo apt-get install xx' will install additional files). What is going on with my system as to why 'pkg_add' is not working? i feel like it was working in my previous version of FreeNAS (7.x) as i remember running 'pkg_add nano' successfully. Any help would be GREATLY appreciated. msands, Sep 26, 2012 #1 ProtoSD FreeNAS Guru Joined: Jul 1, 2011 Messages: 3,357 Thanks Re
Please help today!Produce and hosting N4F does cost money, please consider a small donation to our project so that we can stay offering you the best.We really do need your support!We encourage all users to add their location (City & Country) and timezone to their profile ! New to setting up Jails Jails with NAS4Free Forum rules • Set-Up Guide • FAQs • Forum Rules Post Reply Print view 37 posts 1 2 Next mythrandir52 NewUser Posts: 1 Joined: 27 Nov 2012 07:28 Status: Offline New to setting up Jails Quote Post #1 by mythrandir52 » 27 Nov 2012 07:45 I am relatively new to setting up Jails https://forums.freenas.org/index.php?threads/problems-with-pkg_add.9065/ and I am having a few issues. Background information is listed below. I followed the Jail How to to create the jail.I am having 2 main problemsFirst problem in the how to it want me to use the "pkg_add -r nano" to add nano to the jail. I have run jls and gotten the jail number and then jexec # csh. but i get an error when i try to install the http://forums.nas4free.org/viewtopic.php?t=1851 package(see below). I can ping both freebds.org and Google so i know dns resolution is working. I know this is probably something stupid but i cant find it. I setup this jail to install sabnzbd and i am holding off till i know it is fully functional.Error:Code: Select allError: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/nano.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/nano.tbz' by URL
Second issue is related to mount point coming into the jail. I have mount some of my library folder to folders with the jail using mount_nullfs and if i go to them within the shell I can see all the files and folders. Within the jail though I cant only see empty folders. How do i fix it so the jail can see these mounts. (See the jail_start below for details on the mounts.)Thank you for any assistance you can provide.Code: Select allVersion 9.1.0.1 - Sandstorm (revision 509)
Built date Wed Nov 21 18:19:29 JST 2012
Platform OS FreeBSD 9.1-RC3 (reldate 901000)
Platform x64-embedded on Intel(R) Atom(TM) CPU D525 @ 1.80GHz
System ASUSTeK Computer INC. AT5NM10T-I Bios: 0306 02/23/2011
rc.conf.localCode: Select alljail_enable="YES" # enable jails YES|NO
jail_list="proto" # name of the jails to start "proto www..."
jail_proto_rootdir="/Jail/pro
here for a quick overview of the site Help Center Detailed answers to any http://unix.stackexchange.com/questions/110009/freenas-9-2-install-freebsd-packages questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer unable to site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top FreeNAS 9.2: install FreeBSD packages up vote 5 down vote favorite unable to update 3 I have installed FreeNAS 9.2amd64 (based on the same FreeBSD version) on a VirtualBox VM. I created users and pool/volume for my data. In anticipation of installing apache/mysql-server/php5/php-myadmin FreeBSD packages, I read the following docs from the freenas.org site: Installing non-PBI Software Jails So I created a pluginjail to install packages within. I understood FreeNAS packages are managed by pkgng, which works almost the same than pkg_add/pkg_info/pkg_delete etc... Then I launched the following command (don't mind the package version) from that jail shell: $ pkg install mysql-server And I get the following output: Updating repository catalogue pkg: PACKAGESITE/digests.txz: No address record pkg: No digest falling back on legacy catalog format pkg: PACKAGESITE/repo.txz: No address record If I go to PACKAGESITE, I can find both digests.txz and repo.txz files. Does anyone have an idea? package-management freebsd jails freenas share|improve this question edited Oct 30 '15 at 19:44 Jeff Schaller 10.7k51939 asked Jan 19 '14 at 13:45 kirly 36115 PACKAGESITE=pkg.cdn.pcbsd.org/freenas/9.1-RELEASE/amd