do-release-upgrade failed (10.04 -> 12.04.1)

Bug #1056007 reported by Michal Fapso on 2012-09-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)

Bug Description

1) $ lsb_release -rd
Description: Ubuntu 10.04.4 LTS
Release: 10.04

2) $ apt-cache policy update-manager-core
  Installed: 1:

3) What you expected to happen
Upgrade ubuntu from 10.04 to 12.04.1

4) What happened instead
It stuck half-way through, leaving my system in an inconsistent state.

running do-release-upgrade failed because of a blank line in "xmind" package's description (see The data of the package looks like this (notice the blank line in the description field):

Package: xmind
Status: install ok installed
Priority: optional
Section: multiverse/text
Installed-Size: 43060
Maintainer: xmind <email address hidden>
Architecture: amd64
Depends: libgtk2.0-0 (>= 2.8.0), openjdk-6-jre | sun-java5-jre | sun-java6-jre
Description: XMind - Brainstorming and Mind Mapping
 XMind, is a great brainstorming and mind mapping software tool,
 developed by XMind Ltd. It helps people to capture ideas, organize to
 various charts, and share them for collaboration. It supports mind maps,
 fishbone diagrams, tree diagrams, org-charts, logic charts, and even
 spreadsheets. It's often used for knowledge management, meeting minutes,
 task management, and GTD. XMind is compatible with Freemind/Mindmanager.

 XMind has two editions, XMind, an open source software and XMind Pro.
 XMind is dual licensed under 2 open source licenses: the Eclipse Public
 License v1.0 (EPL) and the GNU Lesser General Public License v3 (LGPL).
 XMind Pro is a subscription-based software, and starts with $49 per year.

I didn't save the full log of the upgrade process, but could someone check it out?

In my case it ended up in an inconsistent state and it took quite a lot of time to repair my system. Maybe it would be nice to run some syntax-check of package data before running the irreversible upgrade process. Also, if the upgrade process fails, is it impossible to create some automatic tool which would reverse the whole upgrade to the previous working state?

Thanks for your work,
Michal Fapso

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

Other bug subscribers