Discussion:
[Slapt-get-user] Slapt-get adding spaces to the URL?
Simon
2010-03-23 21:39:08 UTC
Permalink
For some reason I keep getting error messages along the line of "Failed to
download: FTP: access denied", regardless of source or package. To be more
specific:
# slapt-get -install httpd
1/1 Get ftp://ftp.slackware.com/pub/slackware/slackware-12.0/patches/
httpd 2.2.15-i486-1_slack12.0 [1.8MB]...Failed to download: FTP: access
denied

I tried this minimalistic slaptgetrc
WORKINGDIR=/var/slapt-get
EXCLUDE=^kernel-.*,^alsa-.*,^glibc.*,.*-[0-9]+dl$,^devs$,^udev$,aaa_elflibs,x86_64
SOURCE=ftp://ftp.slackware.com/pub/slackware/slackware-12.0/patches/

And just for the heck of it I did
# removepkg slapt-get-0.9.12c-i386-1.tgz
# cd /var/
# mv slapt-get slapt-get.OLD
# cd
# installpkg slapt-get-0.9.12c-i386-1.tgz

But to no avail, I get the same error message.
It has worked before, and I am quite sure I haven't changed anything that
i think should matter since...
Any id?as?
Rick Dicaire
2010-03-23 22:02:59 UTC
Permalink
On Tue, Mar 23, 2010 at 5:39 PM, Simon <slaptunk at zinob.se> wrote:
> For some reason I keep getting error messages along the line of "Failed to
> download: FTP: access denied", regardless of source or package. To be more

You should be using a mirror, slackware.com site is slow, and very
busy, the access denied isn't an error regarding the filename you're
trying to download, its the server probably hitting its max user
limit.

See the slackware site for mirrors.
--
aRDy Music and Rick Dicaire present:
http://www.ardynet.com
http://www.ardynet.com:9000/ardymusic.ogg.m3u
Simon
2010-03-24 14:22:43 UTC
Permalink
> On Tue, Mar 23, 2010 at 5:39 PM, Simon <slaptunk at zinob.se> wrote:
>> regardless of source or package.
> You should be using a mirror, slackware.com site is slow, and very
> busy, the access denied isn't an error regarding the filename you're
> trying to download, its the server probably hitting its max user
> limit.

Maby i was un-clear, by source i mean "regarless of FTP or HTTP host
and/or mirror". I guess i should also mention i was able to get the files
using wget a few seconds later, but that might be due to the high load on
the standard mirror.

Anyway, i usualy use
ftp://ftp.sunet.se/pub/Linux/distributions/slackware/slackware-12.0/ but I
selected the official mirror when submitting this question to reduce the
risk of reciving a bad packetlist or similar and thus created another
error, oops..

When trying using other mirror I get:
"
1/1 Get
http://ftp.sunet.se/pub/Linux/distributions/slackware/slackware-12.0/ ht
1/1 Get
http://ftp.sunet.se/pub/Linux/distributions/slackware/slackware-12.0/
httpd 2.2.15-i486-1_slack12.0 [1.8MB]...Done
Failed to download: Incomplete download
"
or
"
Need to get 1.8MB of archives.
1/1 Get
ftp://ftp.funet.fi/pub/mirrors/ftp.slackware.com/pub/slackware-12.0/ httpd
2.2.15-i486-1_slack12.0 [1.8MB]...Done
Failed to download: Incomplete download" instead.
"

Though after FTPing
$ tar -vtzf /var/slapt-get/patches/packages/httpd-2.2.15-i486-1_slack12.0.tgz
returns no error
so it seem to have been downloaded as it should.


Here is an excempt of the FTP session as seen by tcpdump:
< OK. Current directory is
/pub/os/Linux/distributions/slackware/slackware-12.0/patches/packages
> MDTM httpd-2.2.15-i486-1_slack12.0.tgz
< 213 20100308110800
> PASV
< 227 Entering Passive Mode (194,71,11,69,190,190)
> TYPE I
< 200 TYPE is now 8-bit binary
> SIZE httpd-2.2.15-i486-1_slack12.0.tgz
< 213 1921740
> RETR httpd-2.2.15-i486-1_slack12.0.tgz
< 150-Accepted data connection
< 150 1876.7 kbytes to download

< 226 3.240 seconds (measured here), 0.57 Mbytes per second
> QUIT
< 221-Goodbye. You uploaded 0 and downloaded 1877 kbytes.
< 221 Logout.
woodwardj
2010-03-24 15:14:44 UTC
Permalink
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://software.jaos.org/pipermail/slapt-get-user/attachments/20100324/aa308b25/attachment.txt>
Loading...