failures in partman checks not handled

Bug #39734 reported by Dalton
132
This bug affects 14 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
High
Colin Watson

Bug Description

Dapper Live Daily CD of 20060414.

I tried Espresso from Applications after activating it with Alacarte ("Install System Permanently"), from terminal (sudo espresso) or running (F2) gksu espresso.

I choose language, time zone, keyboard, user, etc. Then I do manual config of partition table. It's all done previously. The only partition I set to format is swap. I set / to /dev/hda3.

At "Step 7 of 7", then I click Install, it shows formatting swap, but the progress bar don't move for a while and then it simply exits!

When I run it from terminal, no messages is also shown in the console screen.

Revision history for this message
Colin Watson (cjwatson) wrote :

Please attach /var/log/installer/espresso to this bug so that I can analyse the failure.

Changed in espresso:
status: Unconfirmed → Needs Info
Revision history for this message
Dalton (daltux) wrote :
Download full text (33.6 KiB)

Dom, 16 Abr 2006 06:31:25 INFO Step_before = stepWelcome
Dom, 16 Abr 2006 06:31:25 INFO switched to page stepLanguage
Dom, 16 Abr 2006 06:31:25 INFO Step_after = stepLanguage
locale-gen is /usr/sbin/locale-gen
Generating locales...
  pt_BR.UTF-8... up-to-date
Generation complete.
Dom, 16 Abr 2006 06:31:30 INFO Step_before = stepLanguage
Dom, 16 Abr 2006 06:31:30 INFO switched to page stepLocation
Dom, 16 Abr 2006 06:31:31 INFO Step_after = stepLocation
locale-gen is /usr/sbin/locale-gen
Generating locales...
  pt_BR.UTF-8... up-to-date
Generation complete.
Dom, 16 Abr 2006 06:31:39 INFO Step_before = stepLocation
Dom, 16 Abr 2006 06:31:39 INFO switched to page stepKeyboardConf
Dom, 16 Abr 2006 06:31:39 INFO Step_after = stepKeyboardConf
Dom, 16 Abr 2006 06:31:48 INFO Step_before = stepKeyboardConf
Dom, 16 Abr 2006 06:31:48 INFO switched to page stepUserInfo
Dom, 16 Abr 2006 06:31:48 INFO Step_after = stepUserInfo
ON STATE: 1
grep: /target/etc/passwd: No such file or directory
ON STATE: 4
ON STATE: 5
ON STATE: 6
ON STATE: 7
ON STATE: 8
Dom, 16 Abr 2006 06:32:02 INFO Step_before = stepUserInfo
Dom, 16 Abr 2006 06:32:02 INFO switched to page stepPartDisk
Dom, 16 Abr 2006 06:32:02 INFO Step_after = stepPartDisk
mkdir: cannot create directory `/var/lib/partman': File exists
unsupported
kernelmodules_basicfilesystems
kernelmodules_ext3
kernelmodules_jfs
kernelmodules_reiserfs
kernelmodules_xfs
umount_target
parted
dump
update_partitions
filesystems_detected
auto_mountpoints
autouse_swap
backup
Dom, 16 Abr 2006 06:32:11 INFO Step_before = stepPartDisk
Dom, 16 Abr 2006 06:32:11 INFO gparted_loop()
Dom, 16 Abr 2006 06:32:11 INFO Disabling swap on /dev/hda4
Dom, 16 Abr 2006 06:32:11 INFO switched to page stepPartAdvanced
Dom, 16 Abr 2006 06:32:11 INFO Step_after = stepPartAdvanced
Error reading inode 25.
Error reading inode 28.
Error reading inode 60.
Error reading inode 70.
Error reading inode 72.
Error reading inode 75.
Error reading inode 81.
Error reading inode 89.
Error reading inode 94.
Error reading inode 99.
Error reading inode 113.
Error reading inode 142.
Error reading inode 150.
Error reading inode 187.
Error reading inode 189.
Error reading inode 194.
Error reading inode 200.
Error reading inode 204.
Error reading inode 218.
Error reading inode 229.
Error reading inode 234.
Error reading inode 242.
Error reading inode 246.
Error reading inode 247.
Error reading inode 251.
Error reading inode 253.
Error reading inode 254.
Error reading inode 256.
Error reading inode 260.
Error reading inode 263.
Error reading inode 265.
Error reading inode 266.
Error reading inode 272.
Error reading inode 280.
Error reading inode 288.
Error reading inode 321.
Error reading inode 328.
Error reading inode 330.
Error reading inode 376.
Error reading inode 418.
Error reading inode 446.
Error reading inode 450.
Error reading inode 462.
Error reading inode 471.
Error reading inode 505.
Error reading inode 668.
Error reading inode 669.
Error reading inode 671.
Error reading inode 672.
Erro...

Revision history for this message
Dalton (daltux) wrote : The log

I'm sorry about the first comment... It's the first time I'm doing this here.

Revision history for this message
Colin Watson (cjwatson) wrote : Re: Espresso quits out before instalation start

That's odd; for some reason, this log doesn't actually indicate a problem. Would you mind running 'ESPRESSO_DEBUG=1 sudo espresso' and repeating the installation to see if that provides more information? Be sure to use a throwaway password or else to obscure the password in the log file, as at the moment the password is logged in debug mode (which I consider a bug, but anyway).

Revision history for this message
Dalton (daltux) wrote : Another log

I tried another route in the configuration, but the problem is the same.
Now I'll try again with the tip. Later I'll post the log.

Revision history for this message
Dalton (daltux) wrote : Log with debug option

Here is the log of ESPRESSO_DEBUG=1 sudo espresso. The same trouble. The log finished with "espresso: /bin/partman exited with code 10".

I don't know why after formatting the ext3 partition, the partitioner is called again, then it exits.

What means the exit code 10?

I hope it be useful.

Revision history for this message
Colin Watson (cjwatson) wrote : Re: Espresso quits out before instalation start

OK, this is another instance of bug 40819.

Changed in ubiquity:
status: Needs Info → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

ubiquity (0.99.72) dapper; urgency=low

  * Sort languages by their ISO-639-1 code rather than by their localised
    name; this seems to produce slightly better results for most languages
    whose localised name begins with a non-ASCII name, and is consistent
    with gfxboot. We can't really win here though, since there's no
    universally-correct collation order (closes: Malone #39299).
  * Save /var/log/partman to installed system as /var/log/installer/partman.
  * Bump localechooser-data dependency to 0.27ubuntu17.
  * Handle errors and warnings thrown by partman, displaying them to the
    user and possibly returning to the partitioner (closes: Malone #39734).
  * Update all translations from Rosetta.
  * Automatic update of included source packages: kbd-chooser
    1.23ubuntu16, localechooser 0.27ubuntu18, partman-basicfilesystems
    46ubuntu5, partman-ext3 39ubuntu1, partman-jfs 15ubuntu1, partman-
    reiserfs 28ubuntu1, partman-xfs 27ubuntu1.

 -- Colin Watson <email address hidden> Thu, 4 May 2006 06:23:44 +0100

Changed in ubiquity:
assignee: nobody → kamion
status: Confirmed → Fix Released
Revision history for this message
Henk Koster (h-a-j-koster) wrote :

I installed from Flight-7 liveCD, with existing partitions
hda1: 64MB ext2 bootable; hda2: 1GB swap; and hda3: 38GB jfs, all made in Knoppix, and all mountable/usable.

I selected manual editing of partition table, but only assigned the mount points: /boot to hda1, / to hda3 and swap to hda2 -- I did not check reformatting these partitions. Same problem as before: installing the system started and quit almost immediately.

I then repeated with also checking the reformatting boxes -- and now the install proceeded OK.

Does the installer insist on reformatting by design? Then the reformat check boxes are superfluous.

Revision history for this message
Blujuice (blujuice) wrote :

Because I had exactly the same problem with beta 1 & beta 2, I just tried flight 7 livecd, and the installer still crashes. The only difference to beta 1 & 2 is that the installer now shows an error report instead on crashing "silently", so I reported a new bug. (bug #45771)

You should also have a look at bug #45708 (also flight 7 livecd) as it's very similar to the one I've reported. But unlike my bug (#45771), in #45708 the installer didn't only crash but even screwed up the reporter's MBR and deleted several partitions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.