SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
root@www:~# slapt-get --update
Retrieving package data [hhhhhtttt://mirror.pacific.net.au/linux/slackware/slackware-10.2/]...
Failed to download: Couldn't resolve host 'mirror.pacific.net.au'
Sources failed to download, correct sources and rerun --update
and this is my slapt-getc
Code:
root@www:~# cat /etc/slapt-get/slapt-getrc
# See /usr/doc/slapt-get-0.9.11/example.slapt-getrc
# for example source entries and configuration hints.
WORKINGDIR=/var/slapt-get
EXCLUDE=^kernel-.*,^alsa-.*,^glibc.*,.*-[0-9]dl$,^devs$,^udev$,aaa_elflibs,x86_64
SOURCE=hhhhhtttttpppppp://mirror.pacific.net.au/linux/slackware/slackware-10.2/
i can't use the mirror from ftp because of proxy setting. anyone got the solution?
note: i can't post any url here because my post below than 5
slapt-get takes advantage of the normal http_proxy and ftp_proxy shell
variables. Here are some examples:
# setting the env variables for the entire session
$ export http_proxy=http://host:port
$ export ftp_proxy=ftp://host:port
# just setting them for the current command invocation
$ http_proxy=http://host:port slapt-get --update
If you are using ~/.netrc, libcurl automatically picks up your preferences.
See the netrc(5) manpage for more information.
To make set the proxy variables permanently, define them in /etc/profile or per user on his home folder with .profile
No, you've to set them, they're enviroment values like PATH.
You can add a line in /etc/profile with: export http_proxy=http://host:port and other with export ftp_proxy=ftp://host:port
Or just call slapt-get as stated there: http_proxy=http://host:port slapt-get --update
(you've to type that on the command-line, like you do when you type slapt-get --update)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.