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

Re: Stuck on "Configure the package manager" in installer within gnome/lxde live image



Daniel Baumann wrote:
could you post both outputs from syslog?

Sure. Thanks for your reply. Here's mine:

When it fails ( installer launched from inside live image ):
    http://pastebin.com/dfY54U8L

When it works ( installer launched directly from boot menu ):
    When the prompt for the mirror is shown (step that broke above has started properly)
        http://pastebin.com/WshMPYfP
    Full: http://pastebin.com/txp8SEx7
    (So http://pastebin.com/WshMPYfP is a subset of http://pastebin.com/txp8SEx7)

When it fails, $(tail syslog) shows this:

Jun  3 15:43:53 main-menu[2605]: INFO: Menu item 'apt-setup-udeb' selected
Jun  3 15:43:54 apt-setup: /usr/lib/apt-setup/generators/50mirror backed up
Jun  3 15:43:54 main-menu[2605]: INFO: Menu item 'apt-setup-udeb' succeeded but requested to be left unconfigured.

My analysis of fail situation: /usr/bin/apt-setup contains this:

gendir=/usr/lib/apt-setup/generators
for generator in $gendir/*; do
...
    $generator $ROOT$tmp || code=$?
        ....
    case $code in
        ...
        10)
        # TODO handle backup better
        log "$generator backed up"
        rm -f $ROOT$tmp $ROOT/etc/apt/sources.list.new
        db_progress STOP
        db_capb backup
        exit 10

When $generator is /usr/lib/apt-setup/generators/50mirror, it exits with exitcode 10 as I described in the original post of this tread.

I'm curious:
a) How do I see what udebs are installed? (perhaps that set differs between the two "modes")
b) How can I see what <packagename>.udeb contributes to debconf?
c) How do I dump the entire debconf database? (debconf-dumpdb takes a [source-db] what should I use here?)

Peter
--
Peter Valdemar Mørch
http://www.morch.com

Reply to: