LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (http://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   wget issue trying to upgrade slack 13.37 to 14.0 (http://www.linuxquestions.org/questions/slackware-installation-40/wget-issue-trying-to-upgrade-slack-13-37-to-14-0-a-4175433047/)

Sum1 10-19-2012 08:46 AM

wget issue trying to upgrade slack 13.37 to 14.0
 
I'm embarrassed for having to ask the forums for help on this one, but I've read the wget man page and tried different commands and http mirrors, and all I can pull is an index.html file.

My current server install is 32-bit Slackware 13.37 and trying to download the 14.0 directory to follow UPGRADE.TXT as I did from 13.1 to 13.37.

Nothing works:

Code:

wget -v -r -np --reject="index.html" http://mirrors3.kernel.org/slackware/slackware-14.0/*.*

 wget -v -r -np http://mirrors3.kernel.org/slackware/slackware-14.0/*.*

 wget -v -r http://mirrors3.kernel.org/slackware/slackware-14.0/*.*

 wget -v -r -np http://mirrors3.kernel.org/slackware/slackware-14.0/

 wget -v -r -np http://mirrors3.kernel.org/slackware/slackware-14.0

 wget -v -r http://mirrors3.kernel.org/slackware/slackware-14.0/

All respond with some slight variation of:

Code:

--2012-10-19 08:44:52--  http://mirrors3.kernel.org/slackware/slackware-14.0/
Resolving mirrors3.kernel.org (mirrors3.kernel.org)... 68.87.91.199
Connecting to mirrors3.kernel.org (mirrors3.kernel.org)|68.87.91.199|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://actsvr.comcastonline.com/landing_filter.html [following]
--2012-10-19 08:44:52--  http://actsvr.comcastonline.com/landing_filter.html
Resolving actsvr.comcastonline.com (actsvr.comcastonline.com)... 68.87.91.196
Connecting to actsvr.comcastonline.com (actsvr.comcastonline.com)|68.87.91.196|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 253 [text/html]
Saving to: `mirrors3.kernel.org/slackware/slackware-14.0/index.html'

100%[===========================================================================================================>] 253        --.-K/s  in 0s

2012-10-19 08:44:53 (3.27 MB/s) - `mirrors3.kernel.org/slackware/slackware-14.0/index.html' saved [253/253]

FINISHED --2012-10-19 08:44:53--
Total wall clock time: 0.5s
Downloaded: 1 files, 253 in 0s (3.27 MB/s)

Thank you for your help.

Sum1 10-19-2012 09:37 AM

I don't know if this is helpful but I've provided the contents of the index.html file:


Code:

root@box:~/mirrors3.kernel.org/slackware/slackware-14.0# cat index.html
<html>
<head>
<title>Comcast Activation</title>
<meta http-equiv="refresh" content="0; URL=https://activate.comcast.com/RoutingEngine/accountlookup.do">
</head>
<!--<p>Loading <a href="nocache/realactsvr.html">Comcast activation page</a></p>-->
</html>


Sum1 10-19-2012 10:35 AM

SOLVED.

1. Problem unrelated to Slackware or wget: Installed a new docsis 3.0 modem a week ago and my wget attempts were the first time I tried to reach the internet via the router/firewall/server box. Seeing the strange Comcast activation message in the index.html file led me to try reaching any internet address. Tried links http://www.google.com and received another odd http error message from Comcast. At this point, I figured a reboot might help. Upon reboot, the device was recognized and/or "activated" by Comcast --- have no idea what that's about, but that's another issue.

2. Tried the following wget command: wget -v -r -np http://mirrors3.kernel.org/slackware/slackware-14.0/
This also failed, but I received a file titled "robots.txt"
Googled wget robots.txt and added -e robots=off to the above-stated command and it seems to have solved everything.
Entire slackware-14.0 directory is downloading as I write.

Thanks for your patience.

Alien Bob 10-19-2012 11:18 AM

Try this command alternatively, if you keep getting issues with wget:
Code:

lftp -c "open http://mirrors3.kernel.org/slackware/ ; mirror slackware-14.0"
Eric

Sum1 10-19-2012 11:30 AM

Thank you, A_B!
I will try this on another Slack server under my jurisdiction. :-)


All times are GMT -5. The time now is 02:00 AM.