Reply
 
Thread Tools Display Modes
  #1  
Old 11-26-2012, 05:55 PM
madf78 madf78 is offline
Junior Member
 
Join Date: Nov 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default RE: PC-BSD 9.1-RC3 pkg_add -r unable to fetch PACKAGESITE set!!
Hello again,

it seems that I am amazing in making bad manipulation lately and finally managed to erase my last post by clicking on save changes, well here I am again.

I have some issue with the sudo pkg_add -r (pkg_add -r and #pkg_add -r are solved by setting PACKAGESITE="ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-10-current/Latest/")
Probably not the best solution but working

$sudo pkg_add -r xxx (or what ever file for that matter)
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/po...atest/xxx.tbz: File unavailable (e.g., file not found, no access)

I also tried to download the patch by setting PATCHSET: pcbsdtest
#pc-updatemanager install testupdate
and I get the same error

I am wondering what bad manipulation I have managed to achieve this time?!
Any help would be apreciated

Thank you
Reply With Quote
  #2  
Old 11-26-2012, 07:55 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,568
Thanks: 0
Thanked 163 Times in 127 Posts
Default RE: PC-BSD 9.1-RC3 pkg_add -r unable to fetch PACKAGESITE set!!
What exactly are you trying to accomplish here? Are you trying to just
use pkg_add to install things? I know FreeBSD is rebuilding the package
sets for 9.1 at the moment, so that may be part of issue as to why none
of them are available.
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #3  
Old 11-26-2012, 09:36 PM
david_a david_a is offline
Senior Member
 
Join Date: Jan 2012
Posts: 244
Thanks: 6
Thanked 59 Times in 47 Posts
Default
Originally Posted by madf78 View Post
I am wondering what bad manipulation I have managed to achieve this time?!
Any help would be apreciated
Just to echo what Kris Moore has said:

Always explain what result you want, not what method you want to use.
Reply With Quote
  #4  
Old 11-27-2012, 09:15 AM
madf78 madf78 is offline
Junior Member
 
Join Date: Nov 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Thank you for your reply,

I am trying to install packages using: sudo pkg_add -r though I get the error unable to fetch.
So I am wondering what have I missed in the configuration?
Best regards
Reply With Quote
  #5  
Old 11-28-2012, 07:50 AM
madf78 madf78 is offline
Junior Member
 
Join Date: Nov 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Latest update

#export PACKAGESITE="ftp://ftp.free.org/pub/PC-BSD"
#pc-updatemanager install testupdate
Using mirror: #ftp://ftp.free.org/pub/PC-BSD
ftp://ftp.free.org/pub/PC-BSD
DOWNLOADING: Testing Patch
fetch: #ftp://ftp.free.org/pub/PC-BSD ftp://ftp.free.org/pub/PC-BSD/system...estpatch.lzma: Invalid URL scheme
Reply With Quote
  #6  
Old 11-28-2012, 04:25 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,568
Thanks: 0
Thanked 163 Times in 127 Posts
Default RE: PC-BSD 9.1-RC3 pkg_add -r unable to fetch PACKAGESITE set!!
You don't need to use the PACKAGESITE variable for "pc-updatemanager"
instead, put it into /usr/local/etc/pcbsd.conf

That should get you the right URL.
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #7  
Old 11-29-2012, 06:03 AM
madf78 madf78 is offline
Junior Member
 
Join Date: Nov 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Thank you for your reply.

$cat /usr/local/etc/pcbsd.conf
PCBSD_MIRROR: ftp://ftp.free.org/pub/PC-BSD

But it does not solve the issue!
Something wrong with my link?
Should it be the full path?
ftp://ftp.free.org/pub/PC-BSD/9.1-RC...cbsd/packages/
Even if it is the full path I should specify the exact package name!

Well I think that would be solved with the final release, though I managed to solve the problem with a workaround.
The root shell on this machine was csh while the user shell was set to zsh.
Once I changed the root shell to zsh and added the export PACKAGESITE to the .zshrc file, sudo pkg_add -r worked, though I have a question:

The PACKAGESITE variable is set to full path :
ftp://ftp.free.org/pub/PC-BSD/9.1-RC...cbsd/packages/
and I need to input the full package name in order to install packages!

What should it be set to?

Thank you again for your support.

Best regards.
Reply With Quote
  #8  
Old 11-29-2012, 06:06 AM
david_a david_a is offline
Senior Member
 
Join Date: Jan 2012
Posts: 244
Thanks: 6
Thanked 59 Times in 47 Posts
Default
Originally Posted by madf78 View Post
Once I changed the root shell to zsh and added the export PACKAGESITE to the .zshrc file, sudo pkg_add -r worked
I am almost certain that this was an accident. You changing to zsh did not change the mirror servers.
Reply With Quote
  #9  
Old 11-29-2012, 06:12 AM
madf78 madf78 is offline
Junior Member
 
Join Date: Nov 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Surely not David, just csh was not properly configured, and since it is not my machine or one I usually maintain or usually use BSD I have to start the learning curve somewhere
Thank you for your support
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:58 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.