Ubuntu 6.06->6.10 upgrade crashes in Samba

Bug #77046 reported by mench
2
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

Upgrading 6.06 to 6.10 on a Lenovo T60 using the alternate image and the command 'gksu "sh /cdrom/cdromupgrade"'.

All appears well until I get a popup box with "Could not install '/cdrom//pool/mail/s/samba/samba_3.0.00-1ubuntu4_i386.deb' and the text 'subprocess new pre-removal script returned error exit status 102' in the text area of the popup.

The traceback:

Traceback (most recent call last):

  File "/tmp/tmp.tMp065/edgy", line 40, in ?
    app.run()

  File "/tmp/tmp.tMp065/DistUpgradeControler.py", line 765, in run
    self.edgyUpgrade()

  File "/tmp/tmp.tMp065/DistUpgradeControler.py", line 748, in edgyUpgrade
    if not self.doDistUpgrade():

  File "/tmp/tmp.tMp065/DistUpgradeControler.py", line 463, in doDistUpgrade
    res = self.cache.commit(fprogress,iprogress)

  File "/usr/lib/python2.4/site-packages/apt/cache.py", line 200, in commit

  File "/usr/lib/python2.4/site-packages/apt/cache.py", line 175, in installArchives

  File "/usr/lib/python2.4/site-packages/apt/progress.py", line 204, in run

  File "/tmp/tmp.tMp065/DistUpgradeViewGtk.py", line 263, in waitChild
    self.updateInterface()

  File "/tmp/tmp.tMp065/DistUpgradeViewGtk.py", line 282, in updateInterface
    logging.warning("no activity on terminal for %s seconds (%s)" % (self.TIMEOUT_TERMINAL_ACTIVITY, self.label_status.get_text()))

  File "/usr/lib/python2.4/logging/__init__.py", line 1287, in warning
    apply(root.warning, (msg,)+args, kwargs)

  File "/usr/lib/python2.4/logging/__init__.py", line 982, in warning
    if self.isEnabledFor(WARNING):

  File "/usr/lib/python2.4/logging/__init__.py", line 1156, in isEnabledFor
    return level >= self.getEffectiveLevel()

  File "/usr/lib/python2.4/logging/__init__.py", line 1144, in getEffectiveLevel
    while logger:

KeyboardInterrupt

/var/log/dist-upgrade/*.log attached

Revision history for this message
mench (pmench) wrote :
Revision history for this message
mench (pmench) wrote :
description: updated
mench (pmench)
description: updated
Revision history for this message
mench (pmench) wrote :

Bug 48082 appears to be the same.

I solved this problem by executing the following shell commands:

    sudo -s
    rm /etc/rc3.d/K09samba /etc/rc2.d/K09samba
    apt-get -f install
    apt-get remove samba
    apt-get install samba
    gksu "sh /cdrom/cdromupgrade"

As a bonus, the cdromupgrade remembered the files it had already downloaded and finished up in about 30 minutes!

The only bad thing I see so far is a slight cursor display weirdness, which I'll track down.

I recommend that the Dapper->Edgy upgrade instructions be changed to:

    sudo rm -f /etc/rc3.d/K09samba /etc/rd2.d/K09samba
    gksu "sh /cdrom/cdromupgrade"

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.