[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Apt-get update in the bootstrap phase.



Hi,

I am using version 5.0~a11-1.
In the bootstrap phase you are running command 'lb bootstrap_archive-keys ${@}' 
right after debootstrapping to chroot.

In bootstrap-archive-keys you are then attempting to fetch archive keys, 
only for specific modes. I don't know if this works because I am 
using Debian sid.

However you then run 'apt-get update' in the chroot, no matter what 
mode is active.

This can not work in Debian because at this point the resolver is not
set up in the chroot.

I get: 

D: Executing: apt-get update
Err http://ftp.debian.org stretch InRelease
  
Err http://ftp.debian.org stretch-updates InRelease
  
Err http://ftp.debian.org stretch Release.gpg
  Could not resolve 'ftp.debian.org'
Err http://ftp.debian.org stretch-updates Release.gpg
  Could not resolve 'ftp.debian.org'
Err http://security.debian.org stretch/updates InRelease
  
Err http://security.debian.org stretch/updates Release.gpg
  Could not resolve 'security.debian.org'
Reading package lists...
W: Failed to fetch http://ftp.debian.org/debian/dists/stretch/InRelease  

W: Failed to fetch http://security.debian.org/dists/stretch/updates/InRelease  

W: Failed to fetch http://ftp.debian.org/debian/dists/stretch-updates/InRelease  

W: Failed to fetch http://ftp.debian.org/debian/dists/stretch/Release.gpg  Could not resolve 'ftp.debian.org'

W: Failed to fetch http://ftp.debian.org/debian/dists/stretch-updates/Release.gpg  Could not resolve 'ftp.debian.org'

W: Failed to fetch http://security.debian.org/dists/stretch/updates/Release.gpg  Could not resolve 'security.debian.org'

W: Some index files failed to download. They have been ignored, or old ones used instead.

and the procedure continues. 

This is not blocking anything for me, but it looks like it is not OK.
 Maybe it is for other modes? I have not tried that.

Hope this helps,

xaos52


Reply to: