package update-manager 1:0.69 failed to install/upgrade: failed to fstat previous diversions file

Bug #137191 reported by mrvertigo
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
Fix Released
Undecided
Unassigned
ubuntustudio-default-settings (Ubuntu)
Invalid
Undecided
Unassigned
update-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

updating gutsy-gutsy also running firefox

ProblemType: Package
Architecture: i386
Date: Mon Sep 3 23:04:05 2007
DistroRelease: Ubuntu 7.10
ErrorMessage: failed to fstat previous diversions file
Package: update-manager 1:0.69
PackageArchitecture: all
SourcePackage: update-manager
Title: package update-manager 1:0.69 failed to install/upgrade: failed to fstat previous diversions file
Uname: Linux mrvertigo-linux 2.6.22-10-generic #1 SMP Wed Aug 22 08:11:52 GMT 2007 i686 GNU/Linux

To be honest I don't know why but every time that the automatic update start is stopping report this bug.

Related branches

Revision history for this message
mrvertigo (antonio-vertigo) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Could you please attach a copy of /var/lib/dpkg/diversions and /var/lib/dpkg/diversions-old ?
If available, also a copy of /var/log/apt/term.log?

Thanks,
 Michael

Changed in update-manager:
status: New → Incomplete
Revision history for this message
Michael Vogt (mvo) wrote :

Eh, sorry. no copy of /var/log/apt/term.log needed, its already attached :)

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

Here are the last log entries:

Unpacking replacement ubuntustudio-look ...^M
Preparing to replace ubuntustudio-default-settings 0.3 (using .../ubuntustudio-default-settings_0.4_all.deb) ...^M
Unpacking replacement ubuntustudio-default-settings ...^M
Removing `diversion of /etc/sound/events/gnome-2.soundlist to /etc/sound/events/gnome-2.soundlist.orig by ubuntustudio-default-settings'^M
Removing `diversion of /etc/sound/events/gtk-events-2.soundlist to /etc/sound/events/gtk-events-2.soundlist.orig by ubuntustudio-default-settings'^M
Preparing to replace ubuntustudio-video 0.4 (using .../ubuntustudio-video_0.5_i386.deb) ...^M
Unpacking replacement ubuntustudio-video ...^M
Preparing to replace update-manager 1:0.69 (using .../update-manager_1%3a0.70_all.deb) ...^M
dpkg: error processing /var/cache/apt/archives/update-manager_1%3a0.70_all.deb (--unpack):^M
 failed to fstat previous diversions file: Bad file descriptor^M

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

I close the update-manager task, this is a dpkg problem (that is fixed with the latest upload).

Changed in update-manager:
status: Incomplete → Invalid
Changed in ubuntustudio-default-settings:
status: New → Invalid
Revision history for this message
Michael Vogt (mvo) wrote :

dpkg (1.14.5ubuntu15) gutsy; urgency=low

  * Bugfixes to fd cleanup handling:
    - avoid closing fsys tarfile pipe twice even in normal
      operation - normally EBADF but might sometimes close some other
      desired fd and cause hideous doom. (LP: #137191.)

Changed in dpkg:
status: New → Fix Released
Loris (loris-cavalli)
description: updated
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.