[Saucy => Trusty] do-release-upgrade aborted with "Processing was halted because there were too many errors" message

Bug #1336267 reported by Mitsutoshi NAKANO
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Currently, Saucy => Trusty upgrade will fail with "Errors were encountered while processing: procps udev initramfs-tools"

How to reproduce:

1) install clean 13.10
2) update 13.10 with apt-get update && apt-get dist-upgrade
3) upgrade by do-release-upgrade

Expected results:
upgrade process succeed flawlessly

Actual results:
Upgrade process failed with "Errors were encountered while processing: procps udev initramfs-tools" messages, like below:
------------------------------------------------------------
dpkg: dependency problems prevent configuration of procps:
 procps depends on initscripts; however:
  Package initscripts is not configured yet.

dpkg: error processing package procps (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of udev:
 udev depends on procps; however:
  Package procps is not configured yet.

dpkg: error processing package udev (--configure):
 dependency problems - leaving unconfigured
Setting up initramfs-tools-bin (0.103ubuntu4.2) ...
Setting up libklibc (2.0.3-0ubuntu1) ...
Setting up klibc-utils (2.0.3-0ubuntu1) ...
Setting up busybox-initramfs (1:1.21.0-1ubuntu1) ...
Setting up kmod (15-0ubuntu6) ...
Installing new version of config file /etc/init/kmod.conf ...
dpkg: dependency problems prevent configuration of initramfs-tools:
 initramfs-tools depends on udev (>= 147~-5); however:
  Package udev is not configured yet.

dpkg: error processing package initramfs-tools (--configure):
 dependency problems - leaving unconfigured
Setting up libpng12-0:amd64 (1.2.50-1ubuntu2) ...
Setting up libplymouth2:amd64 (0.8.8-0ubuntu17) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up module-init-tools (15-0ubuntu6) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Errors were encountered while processing:
 procps udev initramfs-tools
------------------------------------------------------------

You can see more information from https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1336267/+attachment/4144373/+files/dist-upgrade.downgrade.tar.gz

Workaround:
Exec 'sudo apt-get install -f && apt-get dist-upgrade' in your terminal after upgrade failed.

=========================================================================

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: ubuntu-release-upgrader-core 1:0.205.6
ProcVersionSignature: Ubuntu 3.11.0-24.41-generic 3.11.10.11
Uname: Linux 3.11.0-24-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
CrashDB: ubuntu
Date: Tue Jul 1 21:04:51 2014
InstallationDate: Installed on 2014-07-01 (0 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Build amd64 LIVE Binary 20131024-17:53
MarkForUpload: True
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Mitsutoshi NAKANO (bkbin005) wrote :
Revision history for this message
Mitsutoshi NAKANO (bkbin005) wrote :
Revision history for this message
Mitsutoshi NAKANO (bkbin005) wrote :
Revision history for this message
Mitsutoshi NAKANO (bkbin005) wrote :
Revision history for this message
Fumihito YOSHIDA (hito) wrote :

I suggest to 'sudo dpkg --configure -a' solve current problem(half-configured state) for testing, plase check.
And, we have to determine the root cause. I want to get your more helpful works.

First, I have the misfortune to tell you that "too many errors, stopping" is wrapped messages, this log covered something another error messages, lack of leads to address the problem. So, we must investigate the problem.

I check with your typescript (https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1336267/+attachment/4143067/+files/typescript.txt), I found something odd.

| Errors were encountered while processing:
| procps
| udev
| initramfs-tools
| Error in function:

I found similar problem in pre-Trusty phase bug (https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1286161), however, this problem solved at 0.9.9.1~ubuntu3.1, but Mitsutoshi's 'dpkg --list' says saucy::0.9.9.1~ubuntu3.2, fixed+1 version.

-------------------------------------------------------------
 * typescript have initramfs-tools -> udev -> procps -> initscripts chain, and dpkg -l said initscripts="iU" after upgrading.
 * Though, "Setting up initscripts" messages not found, but Preparing to replace initscripts 2.88dsf-41ubuntu3 exsits.

   - (https://launchpadlibrarian.net/179107397/dpkg--list.before.txt)
ii initscripts 2.88dsf-41ubuntu3 amd64 scripts for initializing and shutting down the system

   - (https://launchpadlibrarian.net/179107397/dpkg--list.before.txt)
iU initscripts 2.88dsf-41ubuntu6 amd64 scripts for initializing and shutting down the system
-------------------------------------------------------------

Mitsutoshi, could you please test with downgrade to 0.9.9.1~ubuntu3.1 before upgrade?(If you can easily do).

And, please tell us about your environment for repro, is it clean-installed?

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Incomplete
Revision history for this message
Mitsutoshi NAKANO (bkbin005) wrote :

I ran "sudo dpkg --configure -a" on the broken OS, so

But the command exits status 1.
And the OS could not repair.

I attached a message from the command.

Revision history for this message
Mitsutoshi NAKANO (bkbin005) wrote :

I learned that the do-release-upgrade outputs log files on /var/log/dist-upgrade/.
So I attached them.

Revision history for this message
Mitsutoshi NAKANO (bkbin005) wrote :

>is it clean-installed?

I installed Saucy by these 1-3 steps.

1. I installed ubuntu-ja-13.10-desktop-amd64.iso.
2. I upgraded to newest Saucy.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get update
sudo apt-get upgrade

3. I installed these by apt-get for getting files from guest OS.
These are all of additional install.
3.a. I installed sshd.
And I configured sshd environment (~/.ssh/authorized_keys, /etc/ssh/sshd_config).
3.b. I installed virtualbox-guest-dkms, virtualbox-guest-x11, and virtualox-guest-utils.
3.c. I tried to install nautilus-drobbox,
but I could not install it.
(install process could not finish.)
So I stopped install process of Dropbox.

>could you please test with downgrade to 0.9.9.1~ubuntu3.1 before upgrade?(If you can easily do).

I have a guest OS that applied only step "1.".
(I can clone the OS).
Now, the OS is "0.9.9.1~ubuntu3".
How do I update to "0.9.9.1~ubuntu3.1"?
Please teach it, then I can test it.
I am going to test the OS installed only sshd (3.a.).

Thanks.

Revision history for this message
Mitsutoshi NAKANO (bkbin005) wrote :

I can reproduce this environment.

1. I installed ubuntu-ja-13.10-desktop-amd64.iso.
2. I installed ssh.
3. I upgraded to newest Saucy.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get update
sudo apt-get upgrade
And I configured sshd environment (~/.ssh/authorized_keys, /etc/ssh/sshd_config).

Dropbox and virtualbox-guest-* have nothing to do with this issue.

Revision history for this message
Mitsutoshi NAKANO (bkbin005) wrote :

1. I installed ubuntu-ja-13.10-desktop-amd64.iso.
2. I installed ssh.
3.I try "sudo apt-get install apt=0.9.9.1~ubuntu3.1",
But apt-get says "E: Version '0.9.9.1~ubuntu3.1' for 'apt' was not found".

I can not install apt-0.9.9.1~ubuntu3.1 .

Revision history for this message
Fumihito YOSHIDA (hito) wrote :

Could you please test with ubuntu-13.10-desktop-amd64.iso(not Japanese Remix)?

Revision history for this message
Mitsutoshi NAKANO (bkbin005) wrote :

I am downloading ubuntu-13.10-desktop-amd64.iso(not Japanese Remix) now.

But Templer wrote https://forums.ubuntulinux.jp/viewtopic.php?pid=104596#p104596 .
He said that he reproduced this issue on "not Japanese Remix".

Revision history for this message
Mitsutoshi NAKANO (bkbin005) wrote :

I reproduced this issue in ubuntu-13.10-desktop-amd64.iso.

Now, I found https://launchpad.net/ubuntu/+source/apt/0.9.9.1~ubuntu3.1/+build/5879608 .
I will try downgrade test in ubuntu-13.10-desktop-amd64.iso + apt-get dist-upgrade + apt_0.9.9.1~ubuntu3.1 .

Revision history for this message
Mitsutoshi NAKANO (bkbin005) wrote :

I reproduced this issue with ubuntu-13.10-desktop-amd64.iso + apt-get dist-upgrade + apt_0.9.9.1~ubuntu3.

Revision history for this message
Mitsutoshi NAKANO (bkbin005) wrote :
Fumihito YOSHIDA (hito)
summary: - The do-release-upgrade can not complete upgrade to Trusty from Saucy
- because dpkg says "too many errors, stopping", and OS are broken in the
- half-finished states.
+ [Saucy => Trusty] do-release-upgrade failed with "too many errors,
+ stopping"
description: updated
Fumihito YOSHIDA (hito)
Changed in ubuntu-release-upgrader (Ubuntu):
status: Incomplete → Confirmed
summary: - [Saucy => Trusty] do-release-upgrade failed with "too many errors,
- stopping"
+ [Saucy => Trusty] do-release-upgrade failed with "Errors were
+ encountered while processing: procps udev initramfs-tools"
description: updated
Fumihito YOSHIDA (hito)
summary: - [Saucy => Trusty] do-release-upgrade failed with "Errors were
- encountered while processing: procps udev initramfs-tools"
+ [Saucy => Trusty] do-release-upgrade aborted with "Processing was halted
+ because there were too many errors" message
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.