/srv/irclogs.ubuntu.com/2009/12/04/#ubuntu-installer.txt

shtylmancjwatson: what were those main keyboard layouts you told me about at UDS? the ones I should focus on? ... this is why I want replay on life :)03:52
shtylmanand is there a wiki page or something with some pretty pictures?04:02
CIA-15ubiquity: superm1 * r3614 ubiquity/ (debian/changelog ubiquity/components/ubi-intro.py):09:09
CIA-15ubiquity: Correct a variable that didn't get changed from pychecker09:09
CIA-15ubiquity: cleanup in the intro plugin.09:09
=== cjwatson_ is now known as cjwatson
cjwatsonshtylman: Brazilian and Japanese, since they're 106-key layouts09:41
evargh.  Just realized a nasty corner case of copying the keyring and relevant portion of gconf (/system/networking) to the target system.  What if the user didn't elect to format /home or /?13:07
evhrm, I guess I could just check for existence of both and do nothing if they're already there13:08
=== robbiew-afk is now known as robbiew
cr3if I preseed repositories with local0/repository, will the latest packages be retrieved from that location during the installation or will that only result in the repositories being added to the sources.list file after the installation has completed?13:50
shtylmancjwatson: what about british keyboards?13:50
shtylmananything different in key number there? or still 104 key?13:50
cjwatsonshtylman: they fall into the giant category of "everything that isn't us, br, or jp"13:50
cjwatson*everything* else is 105-key, at least to an excellent first approximation13:51
cjwatsonus is the only 104-key layout I know of13:51
shtylmanahh ok13:51
shtylmanwell... that gives me a starting point :)13:51
cjwatsoncr3: should be the former, at least for netboot installations. CD installations are a bit different because in general we want to prefer stuff from the CD over a giant download13:51
cr3cjwatson: I'm thinking that if local0/repository is defined explicitly, then the user gets what he's asking for. however, for the CD, if that means that the default repository is set to the CD itself and local0/repository to archive.u.c, then I can appreciate that use case13:53
cr3(where archive.u.c is just shorthand for whatever magic the installer does to determine the closest mirror)13:54
cjwatsonum13:55
cjwatsonarchive.u.c is handled separately. apt-setup/local0/repository is strictly for local overrides only13:55
cjwatsonyou might be right that it might make sense to handle local* differently on CD installs, although unfortunately it's actually kind of hard to unpick that by the time we notice ...13:56
cjwatsonfeel free to file a bug on pkgsel to improve that13:56
CIA-15base-installer: cjwatson * r389 ubuntu/ (debian/changelog library.sh):15:03
CIA-15base-installer: Explicitly ignore Recommends while installing the kernel. We don't want15:03
CIA-15base-installer: to install bootloaders at this point.15:03
CIA-15base-installer: cjwatson * r390 ubuntu/debian/changelog: releasing version 1.103ubuntu215:05
=== rgreening_ is now known as rgreening
CIA-15cdrom-detect: cjwatson * r455 ubuntu/debian/ (cdrom-detect.postinst changelog):17:26
CIA-15cdrom-detect: Copy /cdrom/.disk/info to /var/log/media-info, in order that we get17:26
CIA-15cdrom-detect: /var/log/installer/media-info on the installed system; doing this in17:26
CIA-15cdrom-detect: save-logs is too late because /cdrom is already unmounted by that point17:26
CIA-15cdrom-detect: (LP: #364649).17:26
CIA-15cdrom-detect: cjwatson * r456 ubuntu/debian/changelog: releasing version 1.32ubuntu217:29
CIA-15installation-report: cjwatson * r71 ubuntu/ (debian/changelog finish-install.d/94save-logs):17:30
CIA-15installation-report: Revert 2.39ubuntu2, which didn't work as /cdrom is unmounted by this17:30
CIA-15installation-report: point. This is now handled in cdrom-detect instead.17:30
CIA-15installation-report: cjwatson * r72 ubuntu/debian/changelog: releasing version 2.39ubuntu317:31
bondiblueos9hey18:35
bondiblueos9I'd like to install ubuntu on my powerpc mac, but my cd drive is broken18:36
=== robbiew is now known as robbiew-afk
corp186can someone point me to documentation on how to maintain a local repo and add new udebs to it for development purposes?19:52
corp186I think I figured out how to generate a new Packages file using dpkg-scanpackages20:13
corp186now I think I'm having signing issues:20:13
corp186net-retriever: gpgv: BAD signature from "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>"20:13
corp186anna[2013]: cat: can't open '/tmp/net-retriever-2017-deduplicate/*'; No such file or directory20:14
corp186anna[2013]: WARNING **: bad d-i Packages file20:15
cjwatsondelete Release.gpg, you can't replicate it20:15
cjwatsonthere's a documented preseed to disable authentication20:16
corp186so I need a preseed on top of deleting Release.gpg?20:16
cjwatson'd-i debian-installer/allow_unauthenticated string true'20:16
cjwatsonit's also possible to feed in a key using apt-setup/local0/key, but that's more work20:16
cjwatson(both preseeds are documented in Appendix B to the installation guide)20:17
corp186cjwatson: network preseeding occurs early enough to be effective?20:19
corp186or do I need to do initrd preseeding, since I'm doing a netboot setup20:19
corp186ok, so the preseed worked for authentication, but now I see that I need to regenerate the Release file20:31
corp186is there some utility to do that?20:31
cjwatsonapt-ftparchive20:32
cjwatson(supersedes dpkg-scanpackages)20:32
corp186cjwatson: thanks20:35
corp186I think I've finally gotten everything I need to start some dev work20:35
corp186cjwatson: one architectural question: when I need to bypass a later installation task (like user-setup) I figured I would touch a file somewhere and check for it in the user-setup postinst script before continuing20:36
corp186does this seem reasonable, and if so where would you put the "stamp" file20:37
cjwatsonyou're bypassing things conditionally?20:39
cjwatson(where: /var/run/)20:39
corp186cjwatson: yes20:39
cjwatsonseems ok, though if you have to modify user-setup.postinst anyway you could just modify it to do what you want20:40
cjwatsonI wouldn't put something with stamp files like that into Ubuntu but it's OK for a derivative20:40
corp186so here's my idea in a nutshell: proper backup and restore20:40
corp186have a utility that only backs up the packages that are currently installed along with /etc, /home/ /usr/local etc.20:41
corp186then at install time (or restore time as it may be), you can restore from the backup by:20:42
corp1861. copying old /etc/passed and /etc/group into /target20:42
corp1862. install old /etc/apt/sources* into /target20:42
corp1863. install all packages from backup list (exact same packages versions, not the latest versions)20:43
corp1864. merge hw specific /etc config files (i.e. don't overwrite things like xorg.conf or module blacklists in case the hw platform has changed)20:44
corp1865. copy over the rest of the backed up files20:44
corp186but this necessitates skipping over user-setup20:44
cjwatsonright. sounds worthwhile, though I imagine there are lots of scary corner cases and so I'm more than happy to let you prototype it ... :-)20:44
cjwatson(e.g. sometimes the package list varies slightly depending on the hardwarE)20:45
cjwatsons/E/e/20:45
corp186cjwatson: yeah, lots of corner cases, but might as well try it and get something that works for many/most people20:45
cjwatsona stamp file is the easiest approach; maybe later it'll be worth figuring out something more elegant20:46
corp186cjwatson: I'm getting an error now on debootstrap:20:46
corp186E: NOSCRIPT20:46
corp186EA: /usr/share/debootstrap/scripts/unknown20:47
corp186EF: No such script: %s20:47
corp186any idea what that means before I do more in depth debugging?20:47
cjwatsonare you using a modified CD image?20:47
corp186I'm doing netboot20:47
corp186I couldn't figure out how to make a full cd20:47
corp186and netboot seems to work well enough so far20:48
cjwatsonprobably means you forgot to fill in the Suite and/or Codename fields in your Release file20:48
cjwatsoncompare http://archive.ubuntu.com/ubuntu/dists/lucid/Release20:48
corp186actually, I'm still working off of karmic, cause I don't want to deal with lucid breaking things as I prototype20:49
corp186it had been working fine until I regnereated Packages and Release20:49
cjwatsonlucid vs. karmic wasn't significant in my comment20:49
cjwatsoncheck your regenerated Release file :-)20:49
cjwatsonI bet it says "unknown" in it somewhere20:50
corp186I actually didn't "regen" the Release file; I had already manually updated it with new md5sums and sizes before I saw your comment about apt-ftparchive20:50
corp186wait...20:51
corp186you're right20:51
corp186codename is unknown somehow20:51
corp186oh.... I had played around with apt-move20:51
corp186and it mucked it up20:51
corp186base system is installing right now20:56
corp186thanks :)20:56
sorenAre the no cases anymore where the installer chooses lilo over grub?21:24
cjwatsonnot TTBOMK21:25
sorenAll the LVM or XFS special cases are gone? Neat.21:25
cjwatsonalthough the manual option is still there21:25
cjwatson(grub-installer/skip=true)21:25
sorenI didn't realise. I haven't done an install for my own needs for a while.21:25
cjwatsonpossible compromise here: take lilo off the CDs, but leave it in supported21:26
cjwatsonthat way if people come to us saying "argh, I needed lilo" we can (a) point them at netboot (b) find out why21:26
cjwatsonit will help with (b) because they'll have to make a conscious change21:26
cjwatsonbut won't leave them completely out in the cold21:27
cjwatsongrub2 covers LVM, and we fixed the XFS problems a while back21:27
sorenRight. You did see mathiaz' e-mail to ubuntu-devel earlier today, right? lilo is suggested for demotion to universe.21:27
cjwatsonnot yet though I was aware of the general proposal from a UDS discussion21:28
cjwatsonI'll follow up with my counterproposal21:28
sorenWicked. Just wanted to make sure it was on your radar.21:28
=== robbiew-afk is now known as robbiew
corp186cjwatson: you mentioned that apt-ftparchive can generate the Release file in the repo, but I haven't figured out how to do that22:37
corp186can you explain how you do it?22:37
cjwatsonI don't do this very often, but it's 'apt-ftparchive release' or '... generate'. However it's very late for me, I'll have to refer you to the docs or the web22:38
corp186hmm, the man page didn't mention any release command22:38
corp186ugh...22:38
corp186I was looking at an apparently out of date man page on line22:38
corp186thanks22:39
=== robbiew is now known as robbiew-afk

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