Re: [lfs-support] LSF Package wget

2014-03-30 Thread Andrew Barnes
  I can correct easy enough but would like to understand why wget seems to 
  have sip over some 
  packages.
 

I've found that one or two downloads tend to be https and if you add something 
like --no-check-certificates on your wget command line then it works.


  -- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LSF Package wget

2014-03-30 Thread William Harrington

On Mar 30, 2014, at 5:51 AM, Andrew Barnes wrote:

 I've found that one or two downloads tend to be https and if you add  
 something like --no-check-certificates on your wget command line  
 then it works.

That's one way to do it.

If a user sets up their certifications properly with their system,  
then wget won't complain.

Example for BLFS wget and CA certs:

http://www.linuxfromscratch.org/blfs/view/svn/postlfs/cacerts.html

wgetrc configuration should have a location for the certs:

ca-directory=/etc/ssl/certs

For host OS's which don't have any of the above or aren't updated, the  
user may want to do that, otherwise the --no-check-certificates option  
may be required.

Refer to http://lists.gnu.org/archive/html/bug-wget/2013-12/msg00012.html 
  for a discussion about this specific issue.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LSF Package wget

2014-03-30 Thread Mcgroder, James
Friday, March 28, 2014 3:24 PM Bruce wrote:
  ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/7.5/ wget-list
  
^ Is there a space here or is that a typo?
yea, it was a typo - space in a file name is a no-no :)

Friday, March 28, 2014 5:00 PM ahk wrote:

 ISTR that kernel.org might try to do an https transaction, and fail of the 
 relevant info is not 
 passed from/via wget to it; you should be able to see it if you log wget's 
 run - '-o dwnld.log' 
 or shell redirections.
  And ISTR that there's roughly 6 or so cases of that.

Examination of the WGET log shows that is precisely what is happening... 

 Sunday, March 30, 2014 9:01 AM William Harrington wrote:
 ... [snip] If a user sets up their certifications properly with their 
 system, 
 then wget won't complain.
Thank you for the details proper certification set up... decided to pull down 
the tar
package file for now so I can get on with build. Will definitely circle back to 
setting
up proper certification at some point. The no-check-certificate is also nice to 
have
in the hip pocket...   

--
Thanks again to all for the help,
Jim



-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LSF Package wget

2014-03-28 Thread Bruce Dubbs
Mcgroder, James wrote:
 Working through my 1st LFS build and  wget seems to have missed some files
 listed in the wget-list file.  I got the wget-list from
 ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/7.5/ wget-list
 ^
Is there a space here or is that a typo?

 Here is an example of one that appears in the file that was not present in 
 $LFS/sources:

 mcgroder@JMCGRODER ~/lfs
 $ grep linux-3.13  wget-list
 http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.13.3.tar.xz
md5sum: 
 linux-3.13.3.tar.xz: No such file or directory

 There are half a dozen or so missing... is this operator error or a
 problem with the mirror site(s)? I can correct easy enough but would
 like to understand why wget seems to have sip over some packages.

The file looks OK to me.  Check that you got the correct wget-list:

$ md5sum wget-list
67eb8c72a4bfd2bd5d4298c43e7062fe  wget-list

Also check that wget actually downloaded the files.

I suggest downloading the md5sums file from the same location and 
running 'md5sum -c md5sums'.


   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LSF Package wget

2014-03-28 Thread Mcgroder, James
Mcgroder, James wrote:
 Working through my 1st LFS build and  wget seems to have missed some 
 files listed in the wget-list file.  I got the wget-list from 
 ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/7.5/ wget-list
  Is there a space here or is that a typo? 

 Here is an example of one that appears in the file that was not present in 
 $LFS/sources:

 mcgroder@JMCGRODER ~/lfs
 $ grep linux-3.13  wget-list
 http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.13.3.tar.xz
md5sum: 
 linux-3.13.3.tar.xz: No such file or directory

 There are half a dozen or so missing... is this operator error or a 
 problem with the mirror site(s)? I can correct easy enough but would 
 like to understand why wget seems to have sip over some packages.

Friday, March 28, 2014 3:24 PM  Bruce wrote:
 The file looks OK to me.  Check that you got the correct wget-list:
$ md5sum wget-list
 67eb8c72a4bfd2bd5d4298c43e7062fe  wget-list

 Also check that wget actually downloaded the files.

I suggest downloading the md5sums file from the same location and running 
'md5sum -c md5sums'.

ditto on the file contents. - will proceed as you suggest
Thanks
--
Jim


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LSF Package wget

2014-03-28 Thread akhiezer
 From: Mcgroder, James james.mcgro...@hp.com
 To: lfs-support@linuxfromscratch.org lfs-support@linuxfromscratch.org
 Date: Fri, 28 Mar 2014 19:05:27 +
 Subject: [lfs-support] LSF Package wget

 Working through my 1st LFS build and  wget seems to have missed some files
 listed in the wget-list file.  I got the wget-list from 
 ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/7.5/ wget-list

 Here is an example of one that appears in the file that was not present in 
 $LFS/sources:

 mcgroder@JMCGRODER ~/lfs
 $ grep linux-3.13  wget-list
 http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.13.3.tar.xz
   md5sum: 
 linux-3.13.3.tar.xz: No such file or directory

 There are half a dozen or so missing... is this operator error or a problem 
 with the mirror site(s)?


ISTR that kernel.org might try to do an https transaction, and fail of
the relevant info is not passed from/via wget to it; you should be able
to see it if you log wget's run - '-o dwnld.log' or shell redirections.

And ISTR that there's roughly 6 or so cases of that.

And ISTR that a gordian-knot workaround is to download from lfs archive,
per book details.

Apols if am recalling incorrectly and if this is thus noise.


hth,

akh



 I can correct easy enough but would like to understand why wget seems to have 
 sip over some 
 packages.

 --
 Jim



--
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LSF Package wget

2014-03-28 Thread akhiezer
 Date: Fri, 28 Mar 2014 20:59:38 +
 From: lf...@cruziero.com (akhiezer)
 To: LFS Support List lfs-support@linuxfromscratch.org
 Subject: Re: [lfs-support] LSF Package wget

.
.
 to see it if you log wget's run - '-o dwnld.log' or shell redirections.


 - or '-a dwnld.log' to append to an exisiting log: '-o' would clobber it.



.
.



--
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page