package indicator-weather 11.04.10+repack-0ubuntu2 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1

Bug #762314 reported by paganuntu
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: indicator-weather

could not install

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: indicator-weather 11.04.10+repack-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
AptOrdering:
 python-pywapi: Install
 indicator-weather: Install
 python-pywapi: Configure
 indicator-weather: Configure
Architecture: i386
Date: Sat Apr 16 01:47:04 2011
ErrorMessage: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
PackageArchitecture: all
SourcePackage: indicator-weather
Title: package indicator-weather 11.04.10+repack-0ubuntu2 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
UpgradeStatus: Upgraded to natty on 2011-04-14 (1 days ago)

Revision history for this message
paganuntu (paganuntu) wrote :
Revision history for this message
Xavier Bassery (xaba) wrote :

This bugs occurs in the post-installation of indicator-weather.
But it is gtk-update-icon-cache which fails.
The failure message found in DpkgTerminalLog.txt reads (translated to English):
gtk-update-icon-cache: Failed to open file /usr/share/icons/gnome/.icon-theme.cache : File exists

To reproduce this bug, one can do the following:
1. sudo touch /usr/share/icons/gnome/.icon-theme.cache
2. sudo gtk-update-icon-cache /usr/share/icons/gnome/
 failure!
4. sudo rm /usr/share/icons/gnome/.icon-theme.cache
5. sudo gtk-update-icon-cache /usr/share/icons/gnome/
 success!

affects: indicator-weather (Ubuntu) → gtk+2.0 (Ubuntu)
Changed in gtk+2.0 (Ubuntu):
status: New → Confirmed
Revision history for this message
Xavier Bassery (xaba) wrote :

As a work-around to your issue, you can type the following command in a terminal:
sudo rm /usr/share/icons/gnome/.icon-theme.cache
That should do the trick and makes the package update work.

Revision history for this message
Xavier Bassery (xaba) wrote :

Fedora had a similar bug (https://bugzilla.redhat.com/show_bug.cgi?id=500163) which is shown "closed upstream".
The only difference is the use of option -f.
And the fact is that using this option is another option to work-around this issue.
But it does not seem satisfactory given the fact that this option is supposed to "overwrite an existing cache file even if it appears to be uptodate" (according to the man page).

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.