Re: network installation using local mirror for security updates
Bob schrieb: Malte Forkel wrote: bUg. wrote: for example deb file:///home/debian/security lenny/updates main contrib non-free Malte Forkel пишет: I recently installed Etch by booting a machine from the net using PXE and specifying a local mirror of ftp.debian.de to the installer. All went well but I noticed that during the installation security.debian.org was accessed for updates. As I also have a local mirror of that: How do I tell the installer to use a local mirror for security updates? Thanks in advance, Malte I assume /etc/apt/sources.list is created during the installation. It pointed to the local mirror which I entered when asked for the package server and additionally to http://security.debian.org. I had to change the latter entry after the installation to point to my mirror. But during the installation, the slow remote server was used. What I'd like to know is how to not only tell the installer where to get the regular packages from but also where to get the security updates from. Just don't let it update at install time but wait until after first boot when you can hand tune /etc/apt/sources.list alternatively you could edit the hosts file of your firewall so it returns the IP address of your local mirror for security.debian.org remember to make sure your mirror pulls it's files down from a different source. Does the installer actually ask me during installation whether to update? I admit, I don't remember. Or is this an option I can set somewhere before installation? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: network installation using local mirror for security updates
Gilles Mocellin schrieb: Le Saturday 15 September 2007 15:21:19 bUg., vous avez écrit : for example deb file:///home/debian/security lenny/updates main contrib non-free Malte Forkel пишет: I recently installed Etch by booting a machine from the net using PXE and specifying a local mirror of ftp.debian.de to the installer. All went well but I noticed that during the installation security.debian.org was accessed for updates. As I also have a local mirror of that: How do I tell the installer to use a local mirror for security updates? Thanks in advance, Malte You can do that doing preseeding install. http://www.debian.org/releases/stable/i386/apbs04.html.en#preseed-mirror B.4.7. Apt setup Setup of the /etc/apt/sources.list and basic configuration options is fully automated based on your installation method and answers to earlier questions. You can optionally add other (local) repositories. # You can choose to install non-free and contrib software. #d-i apt-setup/non-free boolean true #d-i apt-setup/contrib boolean true # Uncomment this if you don't want to use a network mirror. #d-i apt-setup/use_mirror boolean false # Uncomment this to avoid adding security sources, or # add a hostname to use a different server than security.debian.org. #d-i apt-setup/security_host string ^Here^ I don't know if theses parameters can be passed to the debian installer during boot apt-setup/security_host string I've ust tried with qemu, it oes not work with a normal install... Ah, this is what I was looking for. Thanks! I knew I had read something about passing parameters to the installer before, I just couldn't find it anymore. I guess I'll try to use my DHCP server to specify a preconfiguration file (http://www.debian.org/releases/stable/i386/apbs02.html.en#preseed-dhcp) with my local mirrors in it as you suggested. If just I had a machine that needed a fresh installation... :-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: network installation using local mirror for security updates
Le Saturday 15 September 2007 15:21:19 bUg., vous avez écrit : for example deb file:///home/debian/security lenny/updates main contrib non-free Malte Forkel пишет: I recently installed Etch by booting a machine from the net using PXE and specifying a local mirror of ftp.debian.de to the installer. All went well but I noticed that during the installation security.debian.org was accessed for updates. As I also have a local mirror of that: How do I tell the installer to use a local mirror for security updates? Thanks in advance, Malte You can do that doing preseeding install. http://www.debian.org/releases/stable/i386/apbs04.html.en#preseed-mirror B.4.7. Apt setup Setup of the /etc/apt/sources.list and basic configuration options is fully automated based on your installation method and answers to earlier questions. You can optionally add other (local) repositories. # You can choose to install non-free and contrib software. #d-i apt-setup/non-free boolean true #d-i apt-setup/contrib boolean true # Uncomment this if you don't want to use a network mirror. #d-i apt-setup/use_mirror boolean false # Uncomment this to avoid adding security sources, or # add a hostname to use a different server than security.debian.org. #d-i apt-setup/security_host string ^Here^ I don't know if theses parameters can be passed to the debian installer during boot apt-setup/security_host string I've ust tried with qemu, it oes not work with a normal install... signature.asc Description: This is a digitally signed message part.
Re: network installation using local mirror for security updates
Malte Forkel wrote: Bob schrieb: 8 snip etch installer slow as it grabs updates from nonlocal mirror Just don't let it update at install time but wait until after first boot when you can hand tune /etc/apt/sources.list alternatively you could edit the hosts file of your firewall so it returns the IP address of your local mirror for security.debian.org remember to make sure your mirror pulls it's files down from a different source. Does the installer actually ask me during installation whether to update? I admit, I don't remember. Or is this an option I can set somewhere before installation? Don't know about the graphical installer, I always go expert as that's what I'm used to and it doesn't install updates. I like the idea of editing the hosts file, if you can't do it on your firewall you can use Ctrl + Alt + F4 (F something anyway) to get to a command prompt, then use nano to edit /ets/hosts and insert a line like 192.168.0.10 security.debian.org I think changes in /etc/hosts take effect immediately but perhaps you could confirm this. You could always at that point just edit the /etc/apt/sources.list but the limited shell you get with the installer doesn't have apt-get so you cant run update and I don't know how else to get it to register the changes. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: network installation using local mirror for security updates
Malte Forkel wrote: bUg. wrote: for example deb file:///home/debian/security lenny/updates main contrib non-free Malte Forkel пишет: I recently installed Etch by booting a machine from the net using PXE and specifying a local mirror of ftp.debian.de to the installer. All went well but I noticed that during the installation security.debian.org was accessed for updates. As I also have a local mirror of that: How do I tell the installer to use a local mirror for security updates? Thanks in advance, Malte I assume /etc/apt/sources.list is created during the installation. It pointed to the local mirror which I entered when asked for the package server and additionally to http://security.debian.org. I had to change the latter entry after the installation to point to my mirror. But during the installation, the slow remote server was used. What I'd like to know is how to not only tell the installer where to get the regular packages from but also where to get the security updates from. Just don't let it update at install time but wait until after first boot when you can hand tune /etc/apt/sources.list alternatively you could edit the hosts file of your firewall so it returns the IP address of your local mirror for security.debian.org remember to make sure your mirror pulls it's files down from a different source. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
network installation using local mirror for security updates
I recently installed Etch by booting a machine from the net using PXE and specifying a local mirror of ftp.debian.de to the installer. All went well but I noticed that during the installation security.debian.org was accessed for updates. As I also have a local mirror of that: How do I tell the installer to use a local mirror for security updates? Thanks in advance, Malte -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: network installation using local mirror for security updates
for example deb file:///home/debian/security lenny/updates main contrib non-free Malte Forkel пишет: I recently installed Etch by booting a machine from the net using PXE and specifying a local mirror of ftp.debian.de to the installer. All went well but I noticed that during the installation security.debian.org was accessed for updates. As I also have a local mirror of that: How do I tell the installer to use a local mirror for security updates? Thanks in advance, Malte -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: network installation using local mirror for security updates
bUg. wrote: for example deb file:///home/debian/security lenny/updates main contrib non-free Malte Forkel пишет: I recently installed Etch by booting a machine from the net using PXE and specifying a local mirror of ftp.debian.de to the installer. All went well but I noticed that during the installation security.debian.org was accessed for updates. As I also have a local mirror of that: How do I tell the installer to use a local mirror for security updates? Thanks in advance, Malte I assume /etc/apt/sources.list is created during the installation. It pointed to the local mirror which I entered when asked for the package server and additionally to http://security.debian.org. I had to change the latter entry after the installation to point to my mirror. But during the installation, the slow remote server was used. What I'd like to know is how to not only tell the installer where to get the regular packages from but also where to get the security updates from. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]