sudo update-manager -c -d crashes during xubuntu upgrade

Bug #68027 reported by Johannes Reinhardt
30
Affects Status Importance Assigned to Milestone
Baltix
Invalid
Undecided
Juan Naguil
Fluxbuntu
Invalid
Undecided
Juan Naguil
syslinux (Mandriva)
Invalid
Undecided
Juan Naguil
update-manager (Ubuntu)
Fix Released
High
Juan Naguil
Dapper
Invalid
Undecided
Unassigned

Bug Description

Hi,

I just tried to upgrade my Xubuntu Dapper Drake to Edgy. I used $ sudo update-manager -c -d.

Everything went fine, the packages were downloaded and installed, the installer asked for some changed configuration files (cups related IIRC). The progress bar showed 3 minutes left. When the update Manager suddenly disappeared. X was also dead (there were no windows, no bar, just the background image). I had tried to start Quod Libet (a music player) shortly before the crash.

I used a text terminal to reboot the machine, but now it doesn't boot. In recoverymode it says something like "waiting for root filesystem" (I can check that if its important).

I will try to attach the logs from /var/log/dist-upgrade, but at the end of apt.log is a probably important message:

"Package xubuntu-system-tools has broken dep on gnome-system-tools
  Considering gnome-system-tools 0 as a solution to xubuntu-system-tools 0
  Removing xubuntu-system-tools rather than change gnome-system-tools
Investigating evince-gtk
Package evince-gtk has broken dep on evince
  Considering evince 1 as a solution to evince-gtk 0
  Removing evince-gtk rather than change evince
Done
/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:59: error: unexpected identifier `animation',
expected character `}'
/tmp/tmpKRewzQ/DistUpgradeViewGtk.py:286: GtkWarning: GdkWindow 0x1c4abca unexpectedly de
stroyed
  gtk.main_iteration()
/tmp/tmpKRewzQ/DistUpgradeViewGtk.py:286: GtkWarning: GdkWindow 0x1c00048 unexpectedly de
stroyed
  gtk.main_iteration()
/tmp/tmpKRewzQ/DistUpgradeViewGtk.py:286: GtkWarning: GdkWindow 0x1c0003e unexpectedly de
stroyed
  gtk.main_iteration()
/tmp/tmpKRewzQ/DistUpgradeViewGtk.py:286: GtkWarning: GdkWindow 0x1c0003c unexpectedly de
stroyed
  gtk.main_iteration()
/tmp/tmpKRewzQ/DistUpgradeViewGtk.py:286: GtkWarning: GdkWindow 0x1c00007 unexpectedly de
stroyed
  gtk.main_iteration()
"

Tags: edgy-upgrade
Revision history for this message
Johannes Reinhardt (johannes-reinhardt) wrote :
Revision history for this message
Johannes Reinhardt (johannes-reinhardt) wrote :
Revision history for this message
Johannes Reinhardt (johannes-reinhardt) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

I can confirm the crash here during a xubuntu dapper->edgy upgrade. I get exactly the same error message.

I woudl appreciate feedback from the xubuntu team, it looks like we have to remove the upgrader as the recommended way to go from dapper->edgy in xubuntu :/

Cheers,
 Michael

Changed in update-manager:
importance: Undecided → High
status: Unconfirmed → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

As a sidenote. This problems seems to be only apprearing on xubuntu. I tried a dist-upgrade with ubuntu and the clearlooks theme and it worked fine.

Revision history for this message
Jani Monoses (jani) wrote :

in edgy xubuntu-desktop depends on evince-gtk |evince and xubuntu-system-tools | gnome-system-tools but I have no idea how it breaks the upgrade :(

Revision history for this message
Michael Vogt (mvo) wrote :

Well, this is what causes the crash:

/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:59: error: unexpected identifier `animation',
expected character `}'
/tmp/tmpKRewzQ/DistUpgradeViewGtk.py:286: GtkWarning: GdkWindow 0x1c4abca unexpectedly de

Revision history for this message
Michael Vogt (mvo) wrote :

But I have no idea how this is triggered and why it pretty much makes all gtk clients break :/

Revision history for this message
stocchero (guga) wrote :

Had the same problem, saved my installation doing the following:
1- after restart, when the computer stops booting, and there is nothing but a black screen with blinking white dash, press and hold together CTRL + ALT + F1 (to get to the console).
2- sudo dpkg --configure -a
3- after all the configuration, sudo halt.

This worked fine for me.

Revision history for this message
Brian Cabunac (cabu1966) wrote :

I had the same problem as described here. When Xfce died, I hit CTRL + ALT +F2 to get to a console and ran "sudo dpkg --configure -a" like stocchero (only difference is I didn't reboot). This picked up from "Setting up libbonoboui2-0". After all the remaining configuration completed, I rebooted and now have a working 6.10.

Revision history for this message
grahams1 (gps1539) wrote :

I ran into double woes when updating to 6.10 and I still could not get my screen working after I ran
sudo dpkg --configure -a
and reboot

I resorted to downloading the 6.10 install cd and was about to reinstall but I found my display didn't work off the CD image (display worked fine on 6.06). This lead me to find out that the mga driver for my Matrox 400 graphics card has another known bug.

A working driver can be found at :

http://www.ubuntuforums.org/showthread.php?p=1711537#post1711537

Revision history for this message
Michael Vogt (mvo) wrote :

The bug grahams1 describes (matrox g400) is bug #58721

Revision history for this message
tigobos (tigobos) wrote :

I tried the updater as well. When I came back to the computer, the screen saver was on, and it had forgotten my password. I had to reboot and then X didn't work anymore. It was something with the Nvidia drivers. I'm not so good at this, so I will have to reinstall from scratch.

Revision history for this message
MikeR (mike-rechtman) wrote :

I saw the EdgyUpdate page, and, not knowing there were problems did
sudo update-manager -c
and then clicked on 'upgrade to 6.10'

Took quite a while, but succeeded -- no noticeable problems.
(This was on a Digital HiNote laptop with 96MB memory)

Just lucky, I guess...

Juan Naguil (jpnaguil)
Changed in syslinux:
assignee: nobody → jpnaguil
status: Unconfirmed → Confirmed
Changed in update-manager:
assignee: nobody → jpnaguil
Revision history for this message
hisham (hisham-0812) wrote : mp3, vcd

i use ubuntu 6.06 and i have problem because i want play music MP3,vcd in computer .the system without internet to support player..how to update my computer. ubuntu update can download ?

Jani Monoses (jani)
Changed in syslinux:
status: Confirmed → Rejected
Revision history for this message
Jarno Suni (jarnos) wrote :

I add to tigobos' comment that I tried to upgrade using the apt-get way, but got the same kind of problem: Later the screensaver was on and it had forgotten my password! Now I am stuck with uncompleted upgrade. I think people should be advised to turn off any screensaver before upgrading.

Revision history for this message
Johannes Reinhardt (johannes-reinhardt) wrote :

I recently updated to Feisty using update manager, and there were no problems.

Revision history for this message
Paul Whittaker (launchpad-pdw) wrote :
Download full text (3.8 KiB)

I had this problem yesterday upgrading Ubuntu Dapper to Edgy. Note that this wasn't XUbuntu.
I was running the update via `gksudo "update-manager -c" '

My experience was exactly as described above: package downloading went fine, lots of "preparing to install..." reports with no problem, and then lots of "Setting up..." reports before the crash. The estimate was down to "About 2 minutes" from an initial 30, which was fairly accurate based on the clock I was watching.

Shortly before the crash, the reports appeared to stop (there had new output at least every couple of seconds up to this point, and this was a pause of many seconds with no output), and the load meter hit 100% for several seconds (ten? fifteen?) before the installer window simply vanished. No error dialog, just "Baff! Where did that window go?"

Re-running update-manager from the System menu brought up a window of the right size and shape, but it had no content. I tried this several times with no success.

Thinking that a reboot might solve the problem (it did on the other machine I'd upgraded when the installer gave up), I found that the install would not boot. Grub was fine, and there was a new entry at the top of the list, but the screen stayed black with a flashing cursor for several minutes without any harddrive activity at all. Rebooting and trying the "recovery mode" kernel didn't work either, but from the boot messages it was clear that the SATA modules were not present. This explained the kernel's final "waiting for root filesystem..." message, since that was on /dev/sda5. After some length of time (five minutes?) this gave up, and dropped me into BusyBox. There was a message about being "unable to find tty" (I forget the precise words).

Eventually I managed to boot the system using an old kernel. There was a major problem with the filesystem (I assume it was the root partition, though it could have been /usr) which dropped me into a manual fsck. A large number of inodes (about a hundred) needed correcting. I didn't catch the exact error, but I got the impression that inodes that no longer appeared to be in use had not been freed properly, so inode counts and free space bitmaps were wrong.

The system then booted, but X was broken. It was trying to open /dev/input/mice rather than /dev/input/mouse0 and so died because it had no core pointer. I ran `dpkg --configure -a' and that seemed to fix things - gdm came back up - but a "bad variable" error in /etc/gdm/Xsession stopped me from logging in.

Changing to the "default Gnome" session allowed me to log in, but the system was obviously still confused: browsers and terminals would open, but dropdown menus didn't (they highlighted, but no menu dropped), and I couldn't give keyboard input (or focus - cursor stayed hollow) to anything because the keyboard had stopped responding. LEDs, Ctrl-Alt-F1, everything. After I'd been looking at it for several minutes the console did eventually switch, the keyboard started responding again, and I could log in to a virtual terminal, but the problem logging in to GDM still remained.

My assumption is that the system is subtlely broken, probably due to missing files or ot...

Read more...

Revision history for this message
Paul Whittaker (launchpad-pdw) wrote :

Summary of last paragraph of previous comment: "Live" broken system available - anything people want me to try on it?

[Sorry - hadn't realised comments were clipped.]

Revision history for this message
Paul Whittaker (launchpad-pdw) wrote :

Attaching logs from /var/log/dist-upgrade on broken system. apt.log seems to indicate problems with broken dependencies and increasingly desperate attempts to find solutions. Things have also gone badly wrong in term.log, as the file ends part-way through a line with 130 null bytes.

Revision history for this message
Paul Whittaker (launchpad-pdw) wrote :
Revision history for this message
Paul Whittaker (launchpad-pdw) wrote :
Revision history for this message
Paul Whittaker (launchpad-pdw) wrote :
Revision history for this message
Paul Whittaker (launchpad-pdw) wrote :

Giving up hope on fixing this install: I'm getting some screen corruption with elinks on the console (misplaced characters), and ld is having trouble:
  ld: warning: cannot find entry symbol _start; defaulting to 0000000008049720
Hopefully the fresh install will be easier. Thanks all anyway.

Changed in syslinux:
status: Rejected → Confirmed
Revision history for this message
Bjorn Tipling (bjorn-ambientchill) wrote :

I experienced this bug. I almost lost months of work but I did lose tons of customized configuration because of it. I went ahead and just cleared out my drive and installed with a clean install without upgrading. I'm a little worried about upgrading to Feisty because of this.

Revision history for this message
Jani Monoses (jani) wrote :

Bjorn, did this happen to you on a dapper->edgy upgrade? We are concerned if this happens on edgy->fesity upgrades, as we cannot fix this for edgy anymore.

Revision history for this message
Michael Vogt (mvo) wrote :

This does no longer happens for edgy->feisty upgrades (did two successfull test upgrades).

Changed in update-manager:
status: Confirmed → Fix Released
Revision history for this message
Jarno Suni (jarnos) wrote :

What about dapper->feisty?

Revision history for this message
Bjorn Tipling (bjorn-ambientchill) wrote :

I upgraded to Feisty with no problems. It was really smooth and painless. I just clicked the upgrade to (x)Ubuntu 7.01. I think the dapper to edgy upgrade still needs to be fixed. It's not right to leave it hanging out there. I'd fix it if I could.

Revision history for this message
Dan Rippon (rippond) wrote :

Through this method I could not upgrade Xubuntu from 6.10 to 7.04. Everything looked fine, and it says no longer says there is a new version available. However, everything that I can see is exactly the same, with no mentions of the new versions in sources.list, or at the splash, help files, etc. It didn't break anything -- it just didn't update.

Revision history for this message
Michael Vogt (mvo) wrote :

@Dan Rippon: can you please file a seperate bug about this and attach the output of:
$ ls -l ~/.update-manager/meta-release
$ dpkg -l update-manager
$ cat ~/.update-manager/meta-release

Thanks,
 Michael

Jani Monoses (jani)
Changed in syslinux:
status: Confirmed → Invalid
Changed in update-manager:
status: New → Invalid
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.