You are not logged in.
Pages: 1
Hello all, is anyone can help me with my trouble ?
In fact, i can`t normally work with yaourt through proxy.
Sometimes i am getting info through it, sometimes not.
I suspect that it`s because of using curl in newer versions of yaourt and abs instead of getting information from wgetrc it`s using curl...
ERRORS:
$yaourt -Ss python
community/python-pypdf 1.12-4
A Pure-Python library built as a PDF toolkit
community/python-pyro 3.10-1
Python Remote Objects
community/python-pyserial 2.4-2
Multiplatform Serial Port Module for Python
community/python-pysqlite-legacy 1.0.1-6
A Python DB-API 2.0 interface for the legacy SQLite 2
community/python-pytz 2010h-1
Cross platform time zone library for Python
community/python-pyx 0.10-4
Python library for the creation of PostScript and PDF files
community/python-pyxmpp 1.1.1-1
A Python XMPP and Jabber implementation based on libxml2
community/python-reportlab 2.4-1
A proven industry-strength PDF generating solution
community/python-scipy 0.8.0-3
SciPy (pronounced 'Sigh Pie') is open-source software for mathematics,
science, and engineering.
community/python-simplejson 2.1.1-1
Simple, fast, extensible JSON encoder/decoder for Python
community/python-sphinx 1.0.1-1
Python documentation generator
community/python-sqlalchemy 0.6.3-1
Python SQL toolkit and Object Relational Mapper
community/python-sympy 0.6.7-1
Symbolic manipulation package (Computer Algebra System), written in pure
Python
community/python-virtualenvwrapper 2.3-1
Extensions to Ian Bicking's virtualenv tool
community/python-vorbissimple 0.0.2-3
Python bindings for vorbissimple
community/python-webpy 0.34-1
A simple but powerful web framework for python
community/python-xlib 0.15rc1-3 [installed]
A fully functional X client library for Python programs
community/python-yaml 3.09-1
Python bindings for YAML, using fast libYAML library
community/python3 3.1.2-4
Next generation of the python high-level scripting language
community/sk1libs 0.9.1-1
A set of python non-GUI extensions for sK1 Project.
community/tagpy 0.94.7-5
Python bindings for TagLib
community/urlgrabber 3.9.1-1
A high-level cross-protocol url-grabber and Python library
community/wammu 0.33-1
A wxPython-based GUI for Gammu
community/xmpppy 0.4.1-3
A Python library to provide easy scripting with Jabber
archlinuxfr/wto 1.0.2-5
web tv orange sans firefox et enregistreur en python
curl error: Couldn't resolve host name
I have even written small script for exporting proxy values - it`s does not work...
eproxy:
#!/bin/sh
export http_proxy="10.10.31.103:3128"
export https_proxy="10.10.31.103:3128"
export ftp_proxy="10.10.31.103:3128"
export HTTP_PROXY="10.10.31.103:3128"
export HTTPS_PROXY="10.10.31.103:3128"
export FTP_PROXY="10.10.31.103:3128"
echo 'OK'
Well, sorry for my bad english, i will better post configs
etc/environment:
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
https_proxy="10.10.31.103:3128"
http_proxy="10.10.31.103:3128"
ftp_proxy="10.10.31.103:3128"
wgetrc :
###
### Sample Wget initialization file .wgetrc
###
## You can use this file to change the default behaviour of wget or to
## avoid having to type many many command-line options. This file does
## not contain a comprehensive list of commands -- look at the manual
## to find out what you can put into this file.
##
## Wget initialization file can reside in /usr/local/etc/wgetrc
## (global, for all users) or $HOME/.wgetrc (for a single user).
##
## To use the settings in this file, you will have to uncomment them,
## as well as change them, in most cases, as the values on the
## commented-out lines are the default values (e.g. "off").
##
## Global settings (useful for setting up in /usr/local/etc/wgetrc).
## Think well before you change them, since they may reduce wget's
## functionality, and make it behave contrary to the documentation:
##
# You can set retrieve quota for beginners by specifying a value
# optionally followed by 'K' (kilobytes) or 'M' (megabytes). The
# default quota is unlimited.
#quota = inf
# You can lower (or raise) the default number of retries when
# downloading a file (default is 20).
#tries = 20
# Lowering the maximum depth of the recursive retrieval is handy to
# prevent newbies from going too "deep" when they unwittingly start
# the recursive retrieval. The default is 5.
#reclevel = 5
# By default Wget uses "passive FTP" transfer where the client
# initiates the data connection to the server rather than the other
# way around. That is required on systems behind NAT where the client
# computer cannot be easily reached from the Internet. However, some
# firewalls software explicitly supports active FTP and in fact has
# problems supporting passive transfer. If you are in such
# environment, use "passive_ftp = off" to revert to active FTP.
#passive_ftp = off
# The "wait" command below makes Wget wait between every connection.
# If, instead, you want Wget to wait only between retries of failed
# downloads, set waitretry to maximum number of seconds to wait (Wget
# will use "linear backoff", waiting 1 second after the first failure
# on a file, 2 seconds after the second failure, etc. up to this max).
#waitretry = 10
##
## Local settings (for a user to set in his $HOME/.wgetrc). It is
## *highly* undesirable to put these settings in the global file, since
## they are potentially dangerous to "normal" users.
##
## Even when setting up your own ~/.wgetrc, you should know what you
## are doing before doing so.
##
# Set this to on to use timestamping by default:
#timestamping = off
# It is a good idea to make Wget send your email address in a `From:'
# header with your request (so that server administrators can contact
# you in case of errors). Wget does *not* send `From:' by default.
#header = From: Your Name <username@site.domain>
# You can set up other headers, like Accept-Language. Accept-Language
# is *not* sent by default.
#header = Accept-Language: en
# You can set the default proxies for Wget to use for http, https, and ftp.
# They will override the value in the environment.
https_proxy = [url]http://10.10.31.103:3128[/url]/
http_proxy = [url]http://10.10.31.103:3128[/url]
ftp_proxy = [url]http://10.10.31.103:3128[/url]
# If you do not want to use proxy at all, set this to off.
use_proxy = on
# You can customize the retrieval outlook. Valid options are default,
# binary, mega and micro.
#dot_style = default
# Setting this to off makes Wget not download /robots.txt. Be sure to
# know *exactly* what /robots.txt is and how it is used before changing
# the default!
#robots = on
# It can be useful to make Wget wait between connections. Set this to
# the number of seconds you want Wget to wait.
#wait = 0
# You can force creating directory structure, even if a single is being
# retrieved, by setting this to on.
#dirstruct = off
# You can turn on recursive retrieving by default (don't do this if
# you are not sure you know what it means) by setting this to on.
#recursive = off
# To always back up file X as X.orig before converting its links (due
# to -k / --convert-links / convert_links = on having been specified),
# set this variable to on:
#backup_converted = off
# To have Wget follow FTP links from HTML files by default, set this
# to on:
#follow_ftp = off
# To try ipv6 addresses first:
#prefer-family = IPv6
# Set default IRI support state
#iri = off
# Force the default system encoding
#locale = UTF-8
# Force the default remote server encoding
#remoteencoding = UTF-8
pacman.conf:
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl --proxy 10.10.31.103:3128 %u > %o
#CleanMethod = KeepInstalled
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options (all disabled by default)
#NoPassiveFtp
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# Testing is disabled by default. To enable, uncomment the following
# two lines. You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
[archlinuxfr]
Server = [url]http://repo.archlinux.fr/i686[/url]
Last edited by diam (2010-08-18 10:40:59)
Offline
On your pacman.conf you should have:
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
XferCommand = /usr/bin/curl --proxy 10.10.31.103:3128 %u > %o
and replace 10.10.31.103:3128 for your proxy
Offline
On your pacman.conf you should have:
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u XferCommand = /usr/bin/curl --proxy 10.10.31.103:3128 %u > %o
and replace 10.10.31.103:3128 for your proxy
This is dont works - 10.10.31.103:3128 is my proxy, i have tried your variant...
Offline
Pages: 1