What the hell happened to /packages-8.1-release/Latest/ on ftp.freebsd.org
-
Hi Gurus!!!
I've just upgraded from 2.0 branch to 2.0-release.
At the package upgrade webconsole get stoned, so i looked whats happened.
It look like perl get uninstalled in re-install process, but never re-installed.I tried to install it manually with pkg_add and got:
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/perl-5.12.3.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/perl-5.12.3.tbz' by URLSo I checked it manually and found that there is no FreeBSD/ports/i386/packages-8.1-release/ direcotory on ftp://ftp.freebsd.org.
I only found:Name Size Date Modified
[parent directory]
packages 0 B 19/04/2007 00:00:00
packages-6-stable/ 09/12/2010 00:00:00
packages-7-stable/ 10/08/2011 06:33:00
packages-7.4-release/ 13/02/2011 00:00:00
packages-8-stable/ 19/09/2011 13:04:00
packages-8.2-release/ 17/02/2011 00:00:00
packages-9-current/ 26/09/2011 13:14:00
packages-current 0 B 17/12/2009 00:00:00
packages-stable 0 B 30/01/2010 00:00:00Any idea what happened?
Jarek
-
Judging by the number of views on this post (80 at the moment) I assume others are baffled by this error as well. Sadly, after about 15+ years FreeBSD still hasn't made much progress when it comes to being user friendly. If I've got this straight: the "STABLE" release on FreeBSD is actually the development release, where the "-RELEASE" is the stable release. Therefore, 8.2 is the current stable release of FreeBSD and what will become 8.3 is currently in that STABLE directory on the distribution server. With that out of the way….
The problem is that pfsense-2.0 is built on top of FreeBSD 8.1. And so it is wired to look for packages in the 8.1 stable directory on the server....which no longer exists (since 8.2 has replaced it, as noted above). One way to fix this is to do this in the pfsense shell:
>setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/
And then try your pkg_add again. BUT I would guess that you will then encounter dependency issues that will need to be resolved. Since it's been over 15 years since I last used FreeBSD, I'm really rusty at the moment. Maybe someone can chime in here?
-
You'll also find other identical questions if you use the search function, which is probably why people haven't replied here ;)
Using packages for a later point release may work, if nothing has changed too much. It may also break things completely.
-
They moved to ftp-archive.freebsd.org. Annoying that they've been moved so quickly on a release that's still supported for another year+. We're going to point that to one of our servers for future releases where we can keep them indefinitely (or at least as long as we support a particular release).
-
cmb,
instead of keeping the archived files is there a way that we can get the new PACKAGESITE via update or package? I've already modified my /root/.tcshrc file to include the 8 Stable path. I think users could easitly manually update their packagesite variable or install a package. I could create a package if it would be easier. -
So it's recommended to use ftp-archive.freebsd.org 8.1-RELEASE files instead of ftp.freebsd.org 8-Stable. Isn't it?
-
So it's recommended to use ftp-archive.freebsd.org 8.1-RELEASE files instead of ftp.freebsd.org 8-Stable. Isn't it?
yes
-
cmb,
instead of keeping the archived files is there a way that we can get the new PACKAGESITE via update or package? I've already modified my /root/.tcshrc file to include the 8 Stable path. I think users could easitly manually update their packagesite variable or install a package. I could create a package if it would be easier.You're welcome to create a package if you'd like.
-
I have changed my PACKAGESITE variable, and tried pkg_add agan. I am running into dependency issues….trying to install MailScanner to have it used by PostFix, but it is failing a bunch of dependencies probably not found in the 8.2 release. I also saw issues when running the auto-upgrade from v1.2.2 to the 2.0 release. Things seem to be working, but can I assume I am hosed?
Regards,
Chris -
Could someone post the correct URL to use for the PACKAGESITE variable for the 2.01 version of (i386) variant of PFSense? Spent the better part of the day wallowing through FreeBSD subversion.tgz packages and narrowing candidates down by the errors that pkg_add would produce. Trying to install subversion per the instructions for running FusionPBX on the same hardware as PFSense. Mark and team have supplied a fantastic HowTo page at http://wiki.fusionpbx.com/index.php?title=PfSense_Install for those adventuresome enough to the concept of a PBX and firewall on the same NanoITX board. Everything went fine until I found an error on one of the PBXFusion pages, reported it and Mark suggested using svn to keep the php code in synch with the latest updates as they are posted to the google code site via svn.
It's also possible I've missed something on the FreeBSD side of things, admittedly I've been spoiled by apt-get and yum.
Because I'm dangerously persistent, I've walked through a number of incremental versions of subversion starting from FreeBSD 8.1 and up looking for a successful install by the lack of command line dependency 'complaining' and found success with subversion 1.6.17_4 which finally installed fine however it generates a shared object error when svn is initiated at the CL. (/libexec/ld-elf.so.1: Shared object "libgssapi.so.10" not found, required by "svn") Hoping that the correct PACKAGESITE URL will contain a version of the subversion package that will install and operate without errors to allow me to synch with fusionpbx's google code svn site.
I have tried pkg_add with versions 1.6.12 and 1.6.15 of subversion from various FreeBSD archives both of which complained about dependencies until I came to the 1.6.17_4 subversion package which teased with an error free install only to throw a 'shared object' error when invoked. I appreciate that one should not be tinkering under the hood with pfsense however, the idea of a VoIP PBX on PFSense is incredibly appealing for a small office.
Respectfully,
Shaun -
Could someone post the correct URL to use for the PACKAGESITE variable for the 2.01 version of (i386) variant of PFSense?
these are suggested freebsd package repository as pfSense 2.0.x version are based on 8.1 freebsd release
i386 packages
http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/8.1-RELEASE/packages/All/amd64 packages
http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/8.1-RELEASE/packages/All/Some packages will work with 8.2 release, but you need to test it before applying on production servers.
-
Thanks for the confirmation Marcelloc.
I removed subversion-1.6.17_4 and performed a pkg_add -r subversion-1.7.2 which completed without any errors but when invoking svn from a shell, I now receive a slightly different error message of:
/libexec/ld-elf.so.1: Shared object "libz.so.6" not found, required by "svn"I know this is testing the fringe of PFSense support but I'm going to press my luck and within the context of trying to automate PBXFusion code updates on PFSense, is there a method in PFSense/FreeBSD of determining which package contains this library that it's complaining about?
Perhaps something similar to yum provide?
Apologies, cut my teeth on RHL a number of years ago and this pfsense box is my first practical exposure to FreeBSD.Thanks again.
Shaun -
sdudley,
I'm did looked in one browser tab and pasted from browser history, I've corrected package path, please reinstall your package.
sorry, my mistake.
-
Thanks for the replies on this Marcelloc, still no luck though. It's actually worse now as it's spewing dependency errors before installing subversion. A slightly educated guess indicates that perhaps the URL points to packages that are older than what is contained in PFSense 2.01 based on the errors returned when adding the subversion package at the shell. Also noticed that I could not set the environmental variable PACKAGESITE to the URL you provided, instead I had to forgo setting the PACKAGESITE variable and use pkg_add -r with the complete URL directly to the subversion package file which then resulted in the dependency complaints noted below. Transcript of the entire effort is below.
In addition, I did find this http://doc.pfsense.org/index.php/PfSense_and_FreeBSD_Versions where the specific version of the underlying FreeBSD for each version of PFSense is detailed however I'm not familiar enough with FreeBSD to know what packages make up 8.1-RELEASE-p6 compared to PFSense 2.0 and it's FreeBSD 8.1-RELEASE-p4 or where those packages would be found. I tried to use the FreeBSD handbook site although being a bit simple minded, I couldn't follow the release tree description and was unable to make sense out what the p6 vs p4 meant other than the logical deduction that p6 is likely a newer release. Using the package dependency errors as an indicator, I wonder if the URL for P6 is actually http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable
Here's the transcript using the URL you suggested.
Setting the PACKAGESITE environmental variable for my shell session using the URL you provided:
setenv PACKAGESITE http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/8.1-RELEASE/packages/All/Attempting to add subversion:
pkg_add -r subversionError: Unable to get http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/8.1-RELEASE/packages/All/subversion.tbz: Not Found
pkg_add: unable to fetch 'http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/8.1-RELEASE/packages/All/subversion.tbz' by URLAdjusted tactics and used the complete URL path to the subversion package which went a bit further and then produced the dependency errors.
pkg_add -r http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/8.1-RELEASE/packages/All/subversion-1.6.12.tbz
Fetching http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/8.1-RELEASE/packages/All/subversion-1.6.12.tbz… Done.
pkg_add: warning: package 'subversion-1.6.12' requires 'expat-2.0.1_1', but 'expat-2.0.1_2' is installed
pkg_add: warning: package 'subversion-1.6.12' requires 'sqlite3-3.6.23.1_1', but 'sqlite3-3.7.9' is installed
pkg_add: warning: package 'subversion-1.6.12' requires 'gdbm-1.8.3_3', but 'gdbm-1.9.1' is installed
pkg_add: warning: package 'subversion-1.6.12' requires 'gettext-0.18_1', but 'gettext-0.18.1.1' is installed
pkg_add: warning: package 'subversion-1.6.12' requires 'neon29-0.29.3_1', but 'neon29-0.29.6_4' is installed
pkg_add: warning: package 'subversion-1.6.12' requires 'apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.9_1', but 'apr-ipv6-devrandom-gdbm-db42-1.4.5.1.3.12_1' is installedI respect PFSense's approach towards minimal software footprint and this has indeed been an exercise in humility and patience for a seemingly minor task. As always, I appreciate any insight, enlightenment or suggestions aimed towards a resolution.
Shaun
-
I will compile svn for you and share here the links.
-
Those are all later versions? :-\
Shouldn't you be using:
setenv PACKAGESITE ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/8.1-RELEASE/packages/Latest/
/Latest and /All seem only to differ by package name but it means you don't have to know the version to install.
Don't know ftp vs http make any difference, works for me.Steve
-
Thanks for the suggestion Steve. These also appear to be older packages than what PFSense 2.01 contains if the error messages are any indicator.
pkg_add -r subversion
Fetching ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/8.1-RELEASE/packages/Latest/subversion.tbz… Done.
pkg_add: warning: package 'subversion-1.6.12' requires 'expat-2.0.1_1', but 'expat-2.0.1_2' is installed
pkg_add: warning: package 'subversion-1.6.12' requires 'sqlite3-3.6.23.1_1', but 'sqlite3-3.7.9' is installed
pkg_add: warning: package 'subversion-1.6.12' requires 'gdbm-1.8.3_3', but 'gdbm-1.9.1' is installed
pkg_add: warning: package 'subversion-1.6.12' requires 'gettext-0.18_1', but 'gettext-0.18.1.1' is installed
pkg_add: warning: package 'subversion-1.6.12' requires 'neon29-0.29.3_1', but 'neon29-0.29.6_4' is installed
pkg_add: warning: package 'subversion-1.6.12' requires 'apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.9_1', but 'apr-ipv6-devrandom-gdbm-db42-1.4.5.1.3.12_1' is installedHoping to take Marcello up on his offer to pre-compile a 'native' PFSense 2.01 package for svn. Logically I would assume that any pfsense 2.01 installation where folks are trying to also run Mark's PBXFUsion and FreePBX would benefit. Given that PFSense 2.01 is likely to be around for some time and as far as I know, svn is the only other additional package needed to automate PBXFusion code updates, this should benefit others as well.
Shaun
-
I suspect you at some point had the 8.2 repo set as the packagesite and have installed newer versions.
It's hard to say quite what you have at this point.
Might be easiest to re-install pfSense so you at least know what you're working with.
Steve
-
Hoping to take Marcello up on his offer to pre-compile a 'native' PFSense 2.01 package for svn.
I'm compiling version 1.7
-
It's done.
check if it install with no missing dependencies
i386 version
http://e-sac.siteseguro.ws/packages/8/All/subversion-1.7.2.tbzamd64 version
http://e-sac.siteseguro.ws/packages/amd64/8/All/subversion-1.7.2.tbz