fuse-utils postinst fails if fuse-utils is a new install during a release upgrade

Bug #444979 reported by andy_91
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
fuse (Ubuntu)
Fix Released
Medium
Michael Vogt
Karmic
Fix Released
Medium
Michael Vogt

Bug Description

Its difficult to trigger this bug, the only way I found is to remove fuse-utils and ubuntu-standard. But we got at least one report where a fuse-util upgrade failed so I think this needs fixing. Given how trivial the diff is I think a regression test is sufficient.

TEST CASE:
- use jaunty install
- enable jaunty-proposed
- perform a release upgrade with kubuntu
- verify that there are no regressions
- verify that fuse-utils is installed afterwards

Binary package hint: update-manager

no idea, el error se produjo en fuse, lirc y otras dependencias

ProblemType: Package
Architecture: i386
Date: Tue Oct 6 19:05:44 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1), E:Sub-process /usr/bin/dpkg returned an error code (1)
Package: update-manager 1:0.125.6
PackageArchitecture: all
ProcVersionSignature: Ubuntu 2.6.27-14.41-generic
SourcePackage: update-manager
Title: package update-manager 1:0.125.6 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1), E:Sub-process /usr/bin/dpkg returned an error code (1)
Uname: Linux 2.6.27-14-generic i686

Related branches

Revision history for this message
andy_91 (andy-kilua-91) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

Here is one problem (but not the fatal one):

Preparando para reemplazar libgnome2-0 2.24.1-0ubuntu4 (usando .../libgnome2-0_2.28.0-0ubuntu2_i386.deb) ...^M
Desempaquetando el reemplazo de libgnome2-0 ...^M
dpkg: warning: overriding problem because --force enabled:^M
 trying to overwrite '/usr/share/man/man1/gnome-open.1.gz', which is also in package libgnome2-common 0:2.24.1-0ubuntu4^M

Here is the problem that causes the error:

Configurando fuse-utils (2.7.4-1.1ubuntu4) ...^M
creating fuse group...^M
udev active, skipping device node creation.^M
reload: Unknown instance: ^M
invoke-rc.d: initscript udev, action "reload" failed.^M
dpkg: error al procesar fuse-utils (--configure):^M
 el subproceso installed post-installation script devolvió el código de salida de error 1^M

affects: update-manager (Ubuntu) → fuse (Ubuntu)
summary: - crash a program
+ fuse-utils postinst fails
Michael Vogt (mvo)
Changed in fuse (Ubuntu Karmic):
status: New → Confirmed
importance: Undecided → Medium
milestone: none → karmic-updates
Revision history for this message
Michael Vogt (mvo) wrote :

This seems to be only happening if fuse-utils is installed as a new package during a release upgrade. For most people this is not a problem because fuse-utils is part of the dependencies for ntfs-3g and that is in ubuntu-standard. Its still a bug.

summary: - fuse-utils postinst fails
+ fuse-utils postinst fails if fuse-utils is a new install on upgrade
summary: - fuse-utils postinst fails if fuse-utils is a new install on upgrade
+ fuse-utils postinst fails if fuse-utils is a new install during a
+ release upgrade
Michael Vogt (mvo)
Changed in fuse (Ubuntu Karmic):
status: Confirmed → In Progress
Revision history for this message
Michael Vogt (mvo) wrote :
description: updated
Revision history for this message
Michael Vogt (mvo) wrote :

I tested the fix with the auto-upgrader-tester and it work correct for me, I can attach the upgrade log if requested.

Revision history for this message
Martin Pitt (pitti) wrote :

I reviewed the package in -proposed, approved. Will accept right after karmic release.

Changed in fuse (Ubuntu Karmic):
assignee: nobody → Michael Vogt (mvo)
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted fuse into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fuse - 2.7.4-1.1ubuntu4.1

---------------
fuse (2.7.4-1.1ubuntu4.1) karmic-proposed; urgency=low

  * debian/fuse-utils.postinst:
    - do not fail if udev can not be reloaded (LP: #444979)

 -- Michael Vogt <email address hidden> Wed, 28 Oct 2009 10:34:02 +0100

Changed in fuse (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Copied karmic-proposed to lucid.

Changed in fuse (Ubuntu):
milestone: karmic-updates → none
status: Fix Committed → Fix Released
Changed in fuse (Ubuntu Karmic):
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fuse - 2.7.4-1.1ubuntu4.1

---------------
fuse (2.7.4-1.1ubuntu4.1) karmic-proposed; urgency=low

  * debian/fuse-utils.postinst:
    - do not fail if udev can not be reloaded (LP: #444979)

 -- Michael Vogt <email address hidden> Wed, 28 Oct 2009 10:34:02 +0100

Changed in fuse (Ubuntu Karmic):
status: Fix Committed → Fix Released
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.