Reply
 
Thread Tools Display Modes
  #1  
Old 04-16-2012, 10:46 PM
rhyous rhyous is offline
Senior Member
 
Join Date: Aug 2005
Posts: 100
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to rhyous Send a message via MSN to rhyous Send a message via Yahoo to rhyous
Default HTTP Repository
I download the PC-BSD VMware Virtual Machine at my work and loaded it up. However, FTP is blocked at work and HTTP/HTTPS only are allowed threw the proxy.

When I open AppCafe, I get this error:

Missing meta-files for RepoID: 001. This is normally due to the internet connection being offline or misconfigured.

Two questions:
1. Is there an HTTP repository?

The AppCafe has three repos by default. See the problem, they are all FTP sites.

ftp://ftp.pcbsd.org/pub/mirror
ftp://mirrors.isc.org/pub/pcbsd
ftp://pub.allbsd.org/pub/pcbsd

I tried a Google searching to no avail.
I tried just changing the above sites to start with HTTP and they worked in a browser. But AppCafe still didn't work. That may be due to the proxy . That lead me to believe that AppCafe doesn't use the HTTP_PROXY environment variable.

2. How do I set the AppCafe to use a Proxy?

I tried to set the HTML_PROXY environment variable and fetch works but AppCafe doesn't.

I setup Konqueror to use a proxy and Konqueror works but AppCafe doesn't.

I configured the PCBSD Network Manager, still AppCafe doesn't work.

I ran this command, kdesu kcmshell4 proxy, and then set a proxy there (I had expected this to be the same as for Konqueror). AppCafe doesn't work.

I restarted the PC-BSD settings (in case any setting needs a reboot). Same issue. AppCafe doesn't work.

I set a proxy in the /usr/local/etc/wgetrc. AppCafe doesn't work.

I am obviously failing to set the proxy in the correct place, not to mention uncovering an ugly issue of configuration sprawl for the proxy setting.

Any body have any more ideas?
__________________
Rhyous's 127.0.0.1 or ::1
http://www.rhyous.com
Reply With Quote
  #2  
Old 05-11-2012, 05:41 PM
nickston nickston is offline
Junior Member
 
Join Date: May 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default
i have pcbsd 9.0 installed on real machine.
Access to Internet is only throw proxy.
And i have same problem with appcofe.
who solve this bigl problem?
Reply With Quote
  #3  
Old 05-11-2012, 05:46 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 HTTP Repository
There are a number of http mirrors, you can look at the download page to
see them all, but here's one:
http://mirrors.nycbug.org/pub/PC-BSD
<http://mirrors.nycbug.org/pub/PC-BSD...0-x64-DVD.iso>
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #4  
Old 05-11-2012, 05:58 PM
nickston nickston is offline
Junior Member
 
Join Date: May 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default
ок. i will try that.
but why appcafe don't use proxy?
Reply With Quote
  #5  
Old 05-11-2012, 07:17 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 HTTP Repository
We are looking to fix this soon, seems the proxy information wasn't
getting passed along to all the applications properly.
You can manually fix, by editing /etc/profile and adding the HTTP_PROXY
variables and such. (If you look at the manpage for fetch, you'll get a
better list of what is available)
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #6  
Old 05-14-2012, 03:27 PM
nickston nickston is offline
Junior Member
 
Join Date: May 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default
i add http_pro... in /etc/profile, but cafe still not working
Reply With Quote
  #7  
Old 08-02-2012, 04:10 PM
jbbacher jbbacher is offline
Junior Member
 
Join Date: Aug 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Same problem with AppCafe
Just curious if anyone has found a solution to this problem. Being new to BSD is there an alternative to AppCafe?
Reply With Quote
  #8  
Old 08-02-2012, 04:26 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 Same problem with AppCafe
You can manually download PBIs from here:

http://pbibuild64.pcbsd.org/index.php?ver=9
http://pbibuild.pcbsd.org/index.php?ver=9
<http://pbibuild64.pcbsd.org/index.php?ver=9>

Then install them with pbi_add

I'm concerned that this doesn't work though. I'm going to check the code
to see why its not honoring HTTP_PROXY. Did you put those values into
/etc/csh.cshrc as well?
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #9  
Old 08-02-2012, 04:26 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
Ok, I think I found the problem with this. The daemon which does the AppCafe fetching / updating wasn't sourcing /etc/profile and grabbing your HTTP_PROXY variable. Can you try this?

% svn co svn://svn.pcbsd.org/pcbsd/current/src-sh/pbi-manager pbi-manager
% cd pbi-manager
% sudo make install
% sudo /usr/local/etc/rc.d/pbid restart

Then you can tail the /var/log/pbid.log file, and you should see some messages about it updating meta information.
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #10  
Old 08-03-2012, 01:58 PM
jbbacher jbbacher is offline
Junior Member
 
Join Date: Aug 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dedn't resolve issue
Thank you, but this still did not resolve the issue.
Originally Posted by kmoore134 View Post
Ok, I think I found the problem with this. The daemon which does the AppCafe fetching / updating wasn't sourcing /etc/profile and grabbing your HTTP_PROXY variable. Can you try this?

% svn co svn://svn.pcbsd.org/pcbsd/current/src-sh/pbi-manager pbi-manager
% cd pbi-manager
% sudo make install
% sudo /usr/local/etc/rc.d/pbid restart

Then you can tail the /var/log/pbid.log file, and you should see some messages about it updating meta information.
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 04:40 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.