Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
pfSense Forum
pfSense English Support
»
Packages
»
PFsense...
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Home
Help
Search
Login
Register
Pages: [
1
]
2
3
Go Down
« previous
next »
Print
Author
Topic: PFsense... (Read 2366 times)
0 Members and 1 Guest are viewing this topic.
afamnu
Newbie
Offline
Posts: 19
PFsense...
«
on:
January 08, 2012, 02:57:53 am »
hello my freinds
im new in PFsense , i install PFsense 1.2.2 and then i made full updates for 2.0.1 release
version , and i tryed to install the python by this command ( pkg_add -r
python ) telling me this msg ( Unable to get
http://ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/python.tbz
:
File -8unavailable (e.g., file not found, no access) ) as i see there's
problem with packages-8.1 i entered to the site and i see its packages name
changed to packages-8.2-release ...... plz any one can help , i appreciate
Logged
marcelloc
Hero Member
Offline
Posts: 8139
Re: PFsense...
«
Reply #1 on:
January 08, 2012, 07:41:09 am »
http://Http://FTP://
is not a valid link
Remove the FTP:// part and try again
Logged
Have I helped you?
Donations are always welcome!
Te ajudei?
Doações são sempre bem vindas!
stephenw10
Hero Member
Offline
Posts: 5101
Re: PFsense...
«
Reply #2 on:
January 08, 2012, 08:25:49 am »
Hmm I thought this was supposed to be fixed in 2.0.1 but it isn't for me either (also an upgrade). I thought they were switching to a local repo mirror instead?
Quote from:
http://blog.pfsense.org/?p=633
Fixed path to FreeBSD packages repo for 8.1
Anyway you need to use the FreeBSD ftp archive for 8.1 to ensure compatibilty:
Code:
pkg_add -r ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.1-release/All/python-2.6,2.tbz
Logged
afamnu
Newbie
Offline
Posts: 19
Re: PFsense...
«
Reply #3 on:
January 08, 2012, 08:27:35 am »
thank you for replying .. but once i press on pkg_add -r python
see this msg
pkg_add -r python
Error: Unable to get
http://ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/python.tbz
: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch '
http://ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/python.tbz
' by URL
i entered to this website and i see that instead packages-8.1-release it was packages-8.2-release ,, so i guess i must updates the sources in pfsense , but i dont know how to do that ,,,,,,,
Logged
stephenw10
Hero Member
Offline
Posts: 5101
Re: PFsense...
«
Reply #4 on:
January 08, 2012, 08:36:12 am »
You need to specify the complete URL because it has changed like I outlined above.
Alternatively you can change the variable that pfSense uses to know where to look. I can't remember off hand what that is though. Hold on....
OK. First run:
Code:
setenv PACKAGESITE "ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.1-release/Latest/"
Then you can load packages as normal: pkg_add -r python
Steve
«
Last Edit: January 08, 2012, 08:38:58 am by stephenw10
»
Logged
afamnu
Newbie
Offline
Posts: 19
Re: PFsense...
«
Reply #5 on:
January 08, 2012, 08:56:05 am »
still can't add the packages :s.. im tryng to fetch them manual ,,,and i downloaded the packages but also the rpm command not found :s how to install the rpm packages also ......
Logged
marcelloc
Hero Member
Offline
Posts: 8139
Re: PFsense...
«
Reply #6 on:
January 08, 2012, 09:33:42 am »
Use the same pkg_add to install downloaded packages, just point to filesystem
pkg_add /path-to-package
«
Last Edit: January 08, 2012, 10:15:57 am by marcelloc
»
Logged
Have I helped you?
Donations are always welcome!
Te ajudei?
Doações são sempre bem vindas!
afamnu
Newbie
Offline
Posts: 19
Re: PFsense...
«
Reply #7 on:
January 08, 2012, 10:14:32 am »
thank you all i made same as u said and its work ,, im trying now to install the url grabber and the video cache , once i put the command python setup.py bdist_rpm in the urlgrabber
# python setup.py bdist_rpm
Traceback (most recent call last):
File "setup.py", line 3, in <module>
import urlgrabber as _urlgrabber
File "/root/urlgrabber-3.9.1/urlgrabber/__init__.py", line 54, in <module>
from grabber import urlgrab, urlopen, urlread
ImportError: No module named grabber
Logged
afamnu
Newbie
Offline
Posts: 19
Re: PFsense...
«
Reply #8 on:
January 09, 2012, 09:17:29 am »
any help to install the urlgrabber ..??
Logged
stephenw10
Hero Member
Offline
Posts: 5101
Re: PFsense...
«
Reply #9 on:
January 09, 2012, 09:27:21 am »
What are you trying to accomplish here?
Steve
Logged
afamnu
Newbie
Offline
Posts: 19
Re: PFsense...
«
Reply #10 on:
January 09, 2012, 03:04:43 pm »
python setup.py bdist_rpm <====this command
Logged
stephenw10
Hero Member
Offline
Posts: 5101
Re: PFsense...
«
Reply #11 on:
January 09, 2012, 04:11:32 pm »
Yes, but what does that python script do?
Where did you get it?
Steve
Logged
afamnu
Newbie
Offline
Posts: 19
Re: PFsense...
«
Reply #12 on:
January 09, 2012, 04:47:26 pm »
i do cd urlgrabber-3.9.1
and then
python setup.py bdist_rpm
after that this error appearing
Traceback (most recent call last):
File "setup.py", line 3, in <module>
import urlgrabber as _urlgrabber
File "/root/urlgrabber-3.9.1/urlgrabber/__init__.py", line 54, in <module>
from grabber import urlgrab, urlopen, urlread
ImportError: No module named grabber
Logged
stephenw10
Hero Member
Offline
Posts: 5101
Re: PFsense...
«
Reply #13 on:
January 09, 2012, 05:30:40 pm »
Hmmm, well I can't comment on python script. Wrong python version perhaps?
Why are you trying to run URLGrabber on your firewall? It seems unwise.
Steve
Logged
afamnu
Newbie
Offline
Posts: 19
Re: PFsense...
«
Reply #14 on:
January 10, 2012, 12:24:16 am »
Quote from: stephenw10 on January 09, 2012, 05:30:40 pm
Hmmm, well I can't comment on python script. Wrong python version perhaps?
Why are you trying to run URLGrabber on your firewall? It seems unwise.
Steve
but what i have to do
??
Logged
Pages: [
1
]
2
3
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Administrative
-----------------------------
=> Forum rules
=> Messages from the pfSense Team
=> Feedback
-----------------------------
pfSense English Support
-----------------------------
=> Installation and Upgrades
=> General Questions
=> 2.1 Snapshot Feedback and Problems
=> Post a bounty
===> Completed Bounties
===> Expired/Withdrawn Bounties
=> Hardware
=> Firewalling
=> NAT
=> CARP/VIPs
=> Routing and Multi WAN
=> Traffic Shaping
=> DHCP and DNS
=> IPv6
=> IPsec
=> PPTP
=> PPPoE Server
=> Captive Portal
=> webGUI
=> Wireless
=> SNMP
=> Packages
=> Virtualization installations and techniques
=> OpenVPN
=> Gaming
-----------------------------
Development/Documentation
-----------------------------
=> Documentation
=> Development
-----------------------------
General Category
-----------------------------
=> General Discussion
-----------------------------
International Support
-----------------------------
=> Indonesian
=> Deutsch
=> Español
=> Français
=> Italiano
=> Russian
=> Nederlands
=> Norwegian
=> Portuguese
=> Polish
=> Romanian
=> Swedish
=> Turkish
-----------------------------
Retired
-----------------------------
=> 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
=> 1.2.1-RC Snapshot Feedback and Problems-RETIRED
=> 2.0-RC Snapshot Feedback and Problems - RETIRED
=> DNS Server testing area - RETIRED
Loading...