Public bug reported:

Binary package hint: gnome-themes


sudo dpkg --configure -a

Setting up gnome-themes-selected (2.28.1-0ubuntu1) ...
gtk-update-icon-cache: Failed to open file 
/usr/share/icons/Crux/.icon-theme.cache : File exists
dpkg: error processing gnome-themes-selected (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of gnome-themes:
 gnome-themes depends on gnome-themes-selected; however:
  Package gnome-themes-selected is not configured yet.
dpkg: error processing gnome-themes (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 gnome-themes-selected
 gnome-themes


df /usr/share/
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda7              9691540   7290396   2401144  76% /media/disk


cd  /usr/share/icons/Crux/


ll -a
total 145
drwxr-xr-x  7 root root    272 2010-08-17 21:18 .
drwxr-xr-x 38 root root   1464 2010-08-18 09:26 ..
drwxr-xr-x  5 root root    120 2008-04-22 19:53 16x16
drwxr-xr-x  5 root root    120 2008-04-22 19:53 22x22
drwxr-xr-x  5 root root    120 2008-04-22 19:53 24x24
drwxr-xr-x  5 root root    120 2008-04-22 19:53 32x32
-rw-r--r--  1 root root      0 2010-08-17 21:18 .icon-theme.cache
-rw-r--r--  1 root root 137276 2010-08-17 20:50 icon-theme.cache
-rw-r--r--  1 root root   4991 2009-10-20 07:36 index.theme
drwxr-xr-x  5 root root    120 2008-04-22 19:53 scalable


sudo mv .icon-theme.cache .icon-theme.cache-safe


ll -a
total 145
drwxr-xr-x  7 root root    272 2010-08-18 09:53 .
drwxr-xr-x 38 root root   1464 2010-08-18 09:26 ..
drwxr-xr-x  5 root root    120 2008-04-22 19:53 16x16
drwxr-xr-x  5 root root    120 2008-04-22 19:53 22x22
drwxr-xr-x  5 root root    120 2008-04-22 19:53 24x24
drwxr-xr-x  5 root root    120 2008-04-22 19:53 32x32
-rw-r--r--  1 root root 137276 2010-08-17 20:50 icon-theme.cache
-rw-r--r--  1 root root      0 2010-08-17 21:18 .icon-theme.cache-safe
-rw-r--r--  1 root root   4991 2009-10-20 07:36 index.theme
drwxr-xr-x  5 root root    120 2008-04-22 19:53 scalable


sudo dpkg --configure -a
Setting up gnome-themes-selected (2.28.1-0ubuntu1) ...
gtk-update-icon-cache: Cache file created successfully.
gtk-update-icon-cache: Cache file created successfully.

Setting up gnome-themes (2.28.1-0ubuntu1) ...


ll -a
total 145
drwxr-xr-x  7 root root    272 2010-08-18 09:54 .
drwxr-xr-x 38 root root   1464 2010-08-18 09:26 ..
drwxr-xr-x  5 root root    120 2008-04-22 19:53 16x16
drwxr-xr-x  5 root root    120 2008-04-22 19:53 22x22
drwxr-xr-x  5 root root    120 2008-04-22 19:53 24x24
drwxr-xr-x  5 root root    120 2008-04-22 19:53 32x32
-rw-r--r--  1 root root 137276 2010-08-18 09:54 icon-theme.cache
-rw-r--r--  1 root root      0 2010-08-17 21:18 .icon-theme.cache-safe
-rw-r--r--  1 root root   4991 2009-10-20 07:36 index.theme
drwxr-xr-x  5 root root    120 2008-04-22 19:53 scalable


solution:
test if .icon-theme.cache exists and remove/rename/etc before
I dont know deep how this process works
thanks in advance
is a great product

ProblemType: Package
Architecture: i386
Date: Wed Aug 18 09:34:23 2010
DistroRelease: Ubuntu 9.10
ErrorMessage:
 ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
Package: gnome-themes-selected 2.28.1-0ubuntu1
PackageArchitecture: all
ProcVersionSignature: Ubuntu 2.6.31-22.61-generic
SourcePackage: gnome-themes
Title: package gnome-themes-selected 2.28.1-0ubuntu1 failed to install/upgrade:
Uname: Linux 2.6.31-22-generic i686

** Affects: gnome-themes (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package i386

-- 
package gnome-themes-selected 2.28.1-0ubuntu1 failed to install/upgrade: 
https://bugs.launchpad.net/bugs/619681
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-themes in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to