Topic: Post install script Alpha 2

Firstly, great product!

I live in Australia and have limited download so whenever in install one of the first things I do is change the sources.list to point to iinet.net.au as I get free download from here (as it is my ISP) but I noticed that the post install script still checks and installs from de.debian.org (Germany) and not from the changed iinet.net.au as in sources list.

May I suggest the post install script either look for local debian primary server (for me Australia) or to use the "users" sources.list?

Keep up the good work!

Re: Post install script Alpha 2

In the mean time, you could alter the cb-welcome script yourself, to point to your own mirrors  (I think, i haven't actually looked at the script).
Glad you like CrunchBang though, and welcome to the forums big_smile

just call me...
~FSM~

Re: Post install script Alpha 2

Thanks for the welcome.
("ding" idea!) I'll have a look more closely to see what is happening and maybe post a solution.
James

Re: Post install script Alpha 2

I'm remembering that cb-welcome doesn't offer you an option for repositories.  It's best to install the OS, set your own repository servers for download, update your system then run cb-welcome. Since you've already updated it'll ignore that and offer you the other options.  But you'd only know this in retrospect.  neutral

Re: Post install script Alpha 2

Hi winotree,
Hence the suggestion that the cb-welcome script either give you the choice or takes it from you sources list which I believe it doesn't do, as I had installed, changed the sources list then ran cb-welcome and it still downloaded from de.debian.org, not iinet.net.au !
I'll have to have a look at the script.
James

Re: Post install script Alpha 2

Really?  I said that because I'd done it that way -- once you've updated your system it may direct you to those other repositories but it can't download anything.  Nonetheless I understand what you're saying.  Please post your results back here, OK?

Re: Post install script Alpha 2

When I reinstalled Statler a2, when cb-welcome came up I just opened a second terminal window and edited sources.list before letting the script proceed with update and dist-upgrade.  I do agree that it would be nice to have the option to at least change to a more local mirror at the beginning of the script; maybe such an option will make it into the beta or RC.

while ( ! ( succeed = try() ) );

Re: Post install script Alpha 2

Just to clearify, here's what I did and noticed:
Installed A2, rebooted.
Noticed cb-welcome script, left it alone. Changed sources.list, #debian ones and included iinet.net.au
Went to cb-welcome script and proceed throu, skipping until "install pbuild" bit, noticed script checking "sid" at http://ftp.de.debian.org/debian which I thought was a bit strange seeing as CB is based on squeeze!
This is what I noticed.
I will double check to see if pbuild is from sid or squeeze.

Re: Post install script Alpha 2

^yes I noticed that "sid" thing with pbuild too. It then went on to install what seemed like enough stuff to make a whole OS in it's own right. I haven't used pbuild since though...

John
------------------------
( a boring Japan blog , and idle twitterings )
“There is more Unix-nature in one line of shell script than there is in ten thousand lines of C.” - Master Foo

Re: Post install script Alpha 2

I've now looked at the script, and what it does is "ping" de.debian.org to check for internet connection. The download is from your sources list, so all okay there!
The "sid" bit when installing and creating pbuild is from pbuild itself, I think.
Maybe a mention at the beginning of the script to suggest re-organising/modifying the sources.list to a closer repo?