I'm experiencing the same issue attempting an 11.10 install via the Live
CD image over a PXE/NFS boot. It affects x86 and amd64 installs.

The system's hard disk is configured with 4 primary partitions:

/dev/sda1 Vaio Recovery environment
/dev/sda2 Microsoft Windows Vista
/dev/sda3 /boot
/dev/sda4 LVM

/dev/sda4 is the PV, it contains one VG "Ubuntu". The VG contains
several LVs. Some LVs are encrypted. I unlocked them via a terminal
prior to starting Ubiquity using:

"sudo cryptsetup --key-file /media/USB/somefile.key luksOpen
/dev/Ubuntu/Oneiric_var_encrypted Oneiric_var"

For the install I chose "Something Else" for the partitioning scheme and
selected recently created and ext4-formatted LVs for:

/dev/Ubuntu/Oneiric == "/"
/dev/Ubuntu/Oneiric_var_encrypted -> /dev/mapper/Oneiric_var == "/var"

and existing LVs (from the Lucid installation) for /home, /usr/local/.

The installer reports "Saving installed packages..." but there is no
further installation activity although the taster panels continue to be
active. The "Skip" button does not respond and the cursor has the 'busy'
icon.

>From trawling "/var/log/installer/debug" I think this is the pertinent
problem:

Nov 10 00:47:25 debconf (filter): <-- PROGRESS INFO 
ubiquity/install/apt_clone_save
Nov 10 00:47:25 debconf (filter): widget found for ubiquity/install/title
debconf (developer): <-- METAGET ubiquity/install/apt_clone_save description
debconf (developer): --> 1 Saving installed packages...
Nov 10 00:47:25 debconf (filter): --> 0 OK
Nov 10 00:47:25 ubiquity: ['log-output', '-t', 'ubiquity', '--pass-stdout', 
'/bin/partman-commit'] exited with code 32

Looking further into the /lib/partmain/* scripts I found that
"ubiquity/install/apt_clone_save" comes from
/lib/partman/finish.d/01apt_clone_save and the exit code "32" is
returned from mount when doing:

[ -n "$var" ] && mount "$var" "$mountpoint/var"

which fails since the /var directory has not been created in the root
file-system as a mount-point:

sudo mount /dev/mapper/Oneiric_var /tmp/tmp.WVwIJqLzQe/var
mount: mount point /tmp/tmp.WVwIJqLzQe/var does not exist
echo $?
32

This line should be:

[ -n "$var" ] && mkdir -p "$mountpoint/var" && mount "$var"
"$mountpoint/var"


** Summary changed:

- Installer hangs forever
+ Stuck at "Saving installed packages..." when using a custom /var

** Changed in: ubiquity (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/875343

Title:
  Stuck at "Saving installed packages..." when using a custom /var

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/875343/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to