/srv/irclogs.ubuntu.com/2015/02/02/#ubuntu-installer.txt

=== cjwatson_ is now known as cjwatson
=== ara is now known as Guest32645
=== mwenning is now known as mwenning-wfh
=== brendand is now known as road-slightly-ru
=== road-slightly-ru is now known as brendand
James_EppI'm new to ubuntu deployment type of stuff. Please bear with me on this. I've got my preseed configured the way I want it. However, during select and install software it fails. "An installation step failed .. the failing step is: Select and install software". I'm using 'tasksel tasksel/first multiselect ubuntu-desktop' and 'd-i pkgsel/update-policy select unattended-upgrades'. Any ideas as to why it's failing? Most forums 20:17
CarlFKJames_Epp: your post here cut off after "Most forums..."20:56
James_EppMost forums online aren't that useful. (Sorry, using webIRC. Doesn't limit me well at all)20:57
James_EppAnother brief quesiton. Is the mailing list actively used? Looking through https://lists.ubuntu.com/archives/ubuntu-installer/ it looks as though only linux updates are shown there. Is it worth joining?21:00
James_EppNew development: If I use the default preseed.cfg file hosted online, it all goes through perfectly. Any ideas as to where the problem lies?21:07
CarlFKJames_Epp: i am kinda like you  - I fumble around and it mostly works, till it doesn't, then I try to find help, which isn't always easy.21:29
CarlFKwhat default preseed.cfg ?21:29
CarlFKalso: trusty, utopic, vivid?  post your preseed file21:30
James_EppCarlFK: Trusty. Default preseed: [ https://help.ubuntu.com/lts/installation-guide/example-preseed.txt ] (I made a couple changes so it uses the right mirror and uses my cache). My modified preseed (currently) : https://bpaste.net/show/b498b80c4c9721:33
CarlFKcan you post a diff of the two?  - 'obviously' (I hope) it is one of your changes that is causing problems21:34
James_EppI would imagine from the error message my problem lies from lines 329:358 but I don't see one.21:34
CarlFKalso, maybe look at my vivid problem and tell me if you have a guess:21:34
James_EppCarlFK: I apologize, I don't really know how :/21:34
CarlFKFeb  1 19:25:35 main-menu[266]: WARNING **: Configuring 'pkgsel' failed with error code 10021:35
CarlFKalt/preseed install on vivid stopped.  looking at syslog I can't figure out why: http://paste.ubuntu.com/10003694/21:35
CarlFKdon't know how to diff?21:35
James_EppNever had to.21:35
CarlFKwhat is the name of your presseed file?21:36
James_EppCarlFK: Name of it? I named it 16preseed.cfg . Best diff I can give you: https://www.diffchecker.com/j5lhqznt21:37
CarlFKcd into the dir with 16preseed.cfg, run: diff 16preseed.cfg example-preseed.txt21:38
CarlFKor diff 16preseed.cfg /path/to/it/example-preseed.txt21:38
CarlFKthat should figure out what you changed, pastebin that21:39
CarlFKoh, I see the red/green now.. good enough21:39
James_Eppgive me a minute. @ work on my crappy windows system. Need to ssh in.21:39
James_Epphttps://bpaste.net/show/fe1eea3b5f6821:41
CarlFKJames_Epp: # out d-i preseed/late_command string echo hi > /target/home/user/hi.txt21:55
James_EppCarlFK: I'll try. I thought that happened WAY later in the process, but I'll remove and retry. Be back in 10 or 15 minutes.21:55
CarlFKor add it to the example-preseed.txt21:55
CarlFKits the top of the list of things that look suspicious21:56
CarlFKd-i mirror/http/proxy string http://192.168.16.1:312821:56
CarlFKwhat sort of proxy is it?21:56
James_EppCarlFK: I am running a pfSense router. I have the squid3 cache package installed.21:57
CarlFKprobably fine.  I use http://packages.ubuntu.com/trusty/squid-deb-proxy22:02
CarlFKit is squd with some config files tuned for .deb s22:02
James_EppCarlFK: A question on that proxy setting. Does it persist right through to the installation to disk or is it only for the installer?22:02
James_EppCarlFK: Using squid-deb-proxy looks nice, but I want minimal infrastructure.22:03
CarlFKah right.. it gets set into the target/etc/apt/apt.conf.d/30-autoproxy (or something) that I take out in the late command script22:04
CarlFKJames_Epp: https://github.com/CarlFK/veyepar/blob/master/setup/nodes/pxe/shaz/var/www/lc/late.sh#L17722:09
CarlFKand you can click around to see my setup.22:10
James_EppThx for the resources. Still failing in my installations however.22:14
James_EppCarlFK: ^^22:14
CarlFKJames_Epp: set Canada back to d-i mirror/country string manual22:16
CarlFKI seem to remember messing that up years ago22:16
James_EppCarlFK: I wanted this to be no-touch. Won't that present the user selection dialogue?22:16
CarlFKno22:17
CarlFKer, let me check mine22:17
CarlFKwhich is no touch...22:17
CarlFKhttps://github.com/CarlFK/veyepar/blob/master/setup/nodes/pxe/shaz/var/www/d-i/trusty/preseed_local.cfg#L2322:18
James_Eppgood enough then.22:19
James_EppI hope it doesn't change the source of the mirror or else this test is going to take quite a whiel.22:19
CarlFKyou specify the mirror, so it should be fine22:20
James_Eppoh yeah. totes.22:20
CarlFKhmm.. you specify 2 things....22:21
CarlFKd-i mirror/http/hostname string archive.ubuntu.com22:21
CarlFKd-i mirror/http/mirror select archive.ubuntu.com22:21
James_Eppdoes that conflict?22:21
CarlFKdu no.  I seem to remember mirror/country conflicting with setting .. so maybe?  play around with the permutations ;)22:22
CarlFKI got this working around 5 years ago and fix it when it breaks22:22
James_Eppugh man. I wish the docs were just a bit more clear about the affects. Thanks for all the wisdom. I have to take off for a while, but I'll be back soonish. Thanks.22:22
CarlFKso most of the stuff I don't remember the why, just that it worked last time I tried22:23
CarlFKsee ya22:23
James_EppCarlFK: Still failing even with that change. I'm really unsure as to what the problem is at this point. Let me do another diff.23:26
James_EppCarlFK: IDK if you're still active, but I'll keep posting progress. Going to test this next. [ https://www.diffchecker.com/ffitcyun ] Original is on left, mine on the right.23:31
CarlFKlooking...23:31
CarlFKJames_Epp: all I can suggest is what I would do: start with example-preseed.txt, and change a few things at a time, test.  start with the proxy so that the rest can use it.23:34
James_EppCarlFK: If this variant fails I'll try that.23:34
CarlFKalso.. to make your file easier to read over, you should trim out all the stuff from example-preseed.txt that you aren't using.  I was surprised how little was left when I did mine.23:37
CarlFKwhen I want to modify a line, Ill copy it and ### one as a reminder what the original working one was23:37

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!