*** This bug is a duplicate of bug 880462 ***
https://bugs.launchpad.net/bugs/880462
I cannot see the private bug, I caonnot comment the private bug, but I
think I have relevant information for this kind of bug.
To trigger the bug reliably I can so this:
Start 12.04 Live CD
Prepare an empty partition , e.g. /dev/sda1 with an empty EXT4 file system.
Start the intaller
Follow instructions,
Select "something else..." when asked for Partitioning
Select use /dev/sda1 with "ext4" , *formatting checkbox unchecked* , use as "/"
(system root)
Continue installation, bug triggers at the end (progress bar >90%)
My analysis shows that the script
[Live CD]/lib/partman/finish.d/01apt_clone_save
tries to run 'apt-clone clone' on the filesystem selected as /
becase this filesystem is empty, apt-clone creates a damaged tar.gz-archive in
[mount-point of /dev/sda1]/ubiquity-apt-clone/apt-clone-state-hostname.tar.gz
This damaged tar.gz-archive then makes the apt-clone restore at the end of the
installation fail.
I suggest one of two solutions:
1) (workaround) In the if-clause in the last lines of [Live
CD]/lib/partman/finish.d/01apt_clone_save , remove the tar.gz-archive if
apt-clone fails
2) (behavioural change) do not try to apt-clone the state of the former
system.
The current behaviour is plain crazy. How can the installer asume, that the
filesystem selected for / contains valid ubuntu sources in its apt cache ?
Also, why should there be packages to pick from the existing system ? User
upgrading will likely use the update-manager to upgrade to a new distro.
What would happen if there was e.g. a Debian installed? Would I then get an
/etc/apt/sources.list from the apt-clone restore-Phase that would point to
Debian package archives instead of Ubuntu, preventing the apt-system from
working ?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/919142
Title:
apt-clone crashed with SystemError: E:Sub-process /target/usr/bin/dpkg
returned an error code (100)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/919142/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs