Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» Packages» PFsense...
Username:
Password:
 
 

Pages: [1] 2 3   Go Down
  Print  
Author Topic: PFsense...  (Read 2352 times)
0 Members and 1 Guest are viewing this topic.
afamnu
Newbie
*
Offline Offline

Posts: 19


View Profile
« 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 Offline

Posts: 8111



View Profile
« Reply #1 on: January 08, 2012, 07:41:09 am »

http://Http://FTP:// is not a valid link  Wink

Remove the FTP:// part and try again
Logged

Have I helped you? Donations are always welcome! Grin

Te ajudei? Doações são sempre bem vindas! Grin
stephenw10
Hero Member
*****
Offline Offline

Posts: 5071



View Profile
« 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?  Undecided

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 Offline

Posts: 19


View Profile
« 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 Offline

Posts: 5071



View Profile
« 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 Offline

Posts: 19


View Profile
« 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 Offline

Posts: 8111



View Profile
« 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! Grin

Te ajudei? Doações são sempre bem vindas! Grin
afamnu
Newbie
*
Offline Offline

Posts: 19


View Profile
« 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 Offline

Posts: 19


View Profile
« Reply #8 on: January 09, 2012, 09:17:29 am »

any help to install the urlgrabber ..??Sad
Logged
stephenw10
Hero Member
*****
Offline Offline

Posts: 5071



View Profile
« Reply #9 on: January 09, 2012, 09:27:21 am »

What are you trying to accomplish here?

Steve
Logged
afamnu
Newbie
*
Offline Offline

Posts: 19


View Profile
« Reply #10 on: January 09, 2012, 03:04:43 pm »

python setup.py bdist_rpm     <====this command
Logged
stephenw10
Hero Member
*****
Offline Offline

Posts: 5071



View Profile
« 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 Offline

Posts: 19


View Profile
« 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 Offline

Posts: 5071



View Profile
« 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.  Wink

Steve
Logged
afamnu
Newbie
*
Offline Offline

Posts: 19


View Profile
« Reply #14 on: January 10, 2012, 12:24:16 am »

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.  Wink

Steve

but what i have to do Huh??
Logged
Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  

 

Page created in 0.029 seconds with 20 queries.