Trigger high-color-icon-theme takes minutes with every install

Bug #1025184 reported by Florian R,
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aptitude (Ubuntu)
Invalid
Undecided
Unassigned
gtk+2.0 (Ubuntu)
New
Undecided
Unassigned
gtk+3.0 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Whenever "trigger high-color-icon-theme" is called while installing some app with gui, this can take up to 6 minutes!

I think, there's some timeout running, so how can i improve this?

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: aptitude 0.6.6-1ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
Uname: Linux 3.2.0-27-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
Date: Mon Jul 16 11:07:55 2012
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: aptitude
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.logrotate.d.aptitude: 2011-10-23T13:27:40

Revision history for this message
Florian R, (xyz) wrote :
affects: ubuntu → aptitude (Ubuntu)
Revision history for this message
Daniel Hartwig (wigs) wrote : Re: [Bug 1025184] [NEW] Trigger high-color-icon-theme takes minutes with every install

> Whenever "trigger high-color-icon-theme" is called while installing some
> app with gui, this can take up to 6 minutes!

You mean hicolor-icon-theme?

Please paste the actual output from when the process hangs and also
the output of:

 $ sudo grep hicolor-icon-theme /var/lib/dpkg/{info/*.triggers,triggers/*}

 status incomplete

Changed in aptitude (Ubuntu):
status: New → Incomplete
Revision history for this message
Florian R, (xyz) wrote :

# grep hicolor-icon-theme /var/lib/dpkg/{info/*.triggers,triggers/*}
/var/lib/dpkg/triggers/File:/usr/share/icons/hicolor hicolor-icon-theme

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for aptitude (Ubuntu) because there has been no activity for 60 days.]

Changed in aptitude (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Florian R, (xyz) wrote :

What exactly do you miss? Last point has been the grep, right?

This is still the case on two machines here with 12.04 precise, unfortunately

Changed in aptitude (Ubuntu):
status: Expired → Incomplete
Revision history for this message
Florian R, (xyz) wrote :

Changed status to reflect it isn't solved

Changed in aptitude (Ubuntu):
status: Incomplete → In Progress
Revision history for this message
Daniel Hartwig (wigs) wrote :

Daniel Hartwig wrote:
> Please paste the actual output from when the process hangs

That is, all output from “apt-get install foo” onwards. Use apt-get, not aptitude to reproduce.

Changed in aptitude (Ubuntu):
status: In Progress → Incomplete
Revision history for this message
Daniel Hartwig (wigs) wrote :

In addition to providing the previously requested information, you can flesh out your initial claims:
> Whenever "trigger high-color-icon-theme" is called while
> installing some app with gui, this can take up to 6 minutes!

Give concrete examples of packages that approx. 6 minutes at this step. Do some packages pass this step much faster?

What type of filesystem is /usr?

Revision history for this message
Daniel Hartwig (wigs) wrote :

> I think, there's some timeout running

What makes you think that?

Revision history for this message
Florian R, (xyz) wrote :

> What makes you think that?
Well, basically only the time, no technical idea. As it is taking soo much time and CPU is low, i would expect some timeout the script is waiting for, perhaps some missing folder issue or whatever... i am just guessing.

Is there a way how i can run this trigger in some kind of debug mode for having logging messages?

---------------------
> Give concrete examples of packages that approx. 6 minutes at this step.
"aptitude upgrade amarok" yesterday. Took more this time, approx. 10 minutes.

---------------------
> Do some packages pass this step much faster?
Just giving it a try, am upgrading...will give feedback soon

Revision history for this message
Florian R, (xyz) wrote :

Ok, CPU (both!) are at 100% while the trigger is running, so it's perhaps noting with some timing.

Following the results for "kdf" (Trigger running from 19:39h to 19:53h: 14 minutes!):

Vorbereitung zum Ersetzen von kdf 4:4.8.2-0ubuntu2 (durch .../kdf_4%3a4.9.3-0ubuntu1~ubuntu12.04.1~ppa1_amd64.deb) ...
Ersatz für kdf wird entpackt ...
Trigger für desktop-file-utils werden verarbeitet ...
Trigger für bamfdaemon werden verarbeitet ...
Rebuilding /usr/share/applications/bamf.index...
Trigger für shared-mime-info werden verarbeitet ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Trigger für hicolor-icon-theme werden verarbeitet ...
Trigger für man-db werden verarbeitet ...
kdf (4:4.9.3-0ubuntu1~ubuntu12.04.1~ppa1) wird eingerichtet ...
Trigger für libc-bin werden verarbeitet ...
ldconfig deferred processing now taking place

Aktueller Status: 552 aktualisierbare Pakete [-44].

Revision history for this message
Daniel Hartwig (wigs) wrote :

> Is there a way how i can run this trigger in some kind of
> debug mode for having logging messages?

The trigger executes only one command, you can invoke it manually without --quiet to see if it behaves similar:
# gtk-update-icon-cache --force --quiet /usr/share/icons/hicolor

(and/or gtk-update-icon-cache-3.0)

affects: aptitude (Ubuntu) → ubuntu
Changed in ubuntu:
status: Incomplete → Invalid
affects: ubuntu → aptitude (Ubuntu)
Revision history for this message
Daniel Hartwig (wigs) wrote :

The delay here might not be due to any bug at all. Reassigned to gtk+ packages for their maintainers to determine.

Florian, which version of libgtk2.0-bin and libgtk-3-bin are you using?

Revision history for this message
Florian R, (xyz) wrote :

2.4.24.10-0ubuntu6 and 3.4.2-0ubuntu0.5?

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.