Software center runs update-apt-xapian-index every time it starts

Bug #798632 reported by Никола Павловић on 2011-06-17
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
High
Unassigned

Bug Description

Binary package hint: software-center

Every time I run software-center it runs update-apt-xapian-index which takes up 100% CPU
How to replicate:
1. run software-center
2. check the process list(run top)
3. there will be a process update-apt-xapian-index which will take up 80-100& cpu time
It will run run for about 30 sec. and the computer will be slugish during that time

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: software-center 4.0.2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Fri Jun 17 13:00:28 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)

Robert Roth (evfool) on 2011-06-17
Changed in software-center (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Kiwinote (kiwinote) wrote :

s-c seems to trigger an update-apt-xapian-index on every startup which uses 100% cpu for 2min30. Apart from making the laptop fans spin up, it also indirectly slows down software-center itself..

Changed in software-center (Ubuntu):
importance: Medium → High
Matthew McGowan (mmcg069) wrote :

yea this really sucks!

I dont know the code too well in this department, but in my head it would be nice if there was an api in aptdaemon for querying if there had been an _non_ aptdaemon aware package change made, say, from the cmd line or some non aptdaemon friendly gui app. Depending on the outcome of the query, we update the axi. Or even better there is a daemon that maintains the axi with surgical precision... ?

Michael Vogt (mvo) on 2011-09-20
Changed in software-center (Ubuntu):
status: Confirmed → Fix Committed
Launchpad Janitor (janitor) wrote :
Download full text (4.2 KiB)

This bug was fixed in the package software-center - 4.1.23.4

---------------
software-center (4.1.23.4) oneiric; urgency=low

  [ Matthew McGowan ]
  * utils/submit_review_gtk3.py:
    - fix crash when submitting a review (LP: #852016)
  * fix the overlay icon position in the (lobby|subcat) featured tiles
  * fix the backforward button such that the border-radius is switched
    when in rtl mode.
  * softwarecenter/ui/gtk3/views/appdetailsview_gtk.py:
    - fix stray dotted lines at bottom of the "not found"
      screen (LP: #853514)
  * softwarecenter/ui/gtk3/widgets/buttons.py:
    - add a focus ring for the "More" buttons on the
      home screen (LP: #854177)
  * softwarecenter/ui/gtk3/widgets/exhibits.py:
    - add a focus ring for the exhibits banner (LP: #854168)
  * check the button-release occurs within the exhibit banner
    (LP: #848805)
  * add additional checks to ensure we bail on a NoneType within
    apptreeview._on_button_press_event. also switch some StateType's
    to the Gtk3 correct StateFlags'
  * reimplement the focal frames for focal CellRendererButtons
    in the apptreeview
  * lp:~mmcg069/software-center/rtl-improvements
    - make the appview progress bar fill in the correct direction when in rtl
      mode
    - also improve the positioning of the installed overlay icon in both ltr
      and rtl modes.
  * lp:~mmcg069/software-center/nav-improvements
    - correct the navhistory behaviour when a user clears the search_entry,
      remove spurious navhistory items, improve unit test (LP: #854047)
  * lp:~mmcg069/software-center/lobby-work
    - update the lobby and subcat views when selecting to view "Canonical
      Maintained Software", other lobby fixes and cleanup (LP: #835025)
  * lp:~mmcg069/software-center/description-improvements:
    - improvements to the description area in the details view, make
      description text selectable, update unit test (LP: #854368)
  * lp:~mmcg069/software-center/Bug846204:
    - a solution to LP: #846204

  [ Kiwinote ]
  * softwarecenter/db/application.py:
    - fix UnicodeDecodeError in __init__ (LP: #838791)
  * softwarecenter/db/debfile.py:
    - fix UnicodeDecodeError in __init__ (LP: #835887)
  * softwarecenter/ui/gtk3/widgets/buttons.py:
    - draw focus-line for category tiles and subcategory tiles
    - make featuredtiles accessible
  * softwarecenter/ui/gtk3/widgets/description.py:
    - fix crash in rendering bullet points in rtl layouts
  * softwarecenter/ui/gtk3/widgets/exhibits.py:
    - make exhibits accessible

  [ Gary Lasker ]
  * utils/submit_review_gtk3.py:
    - fix crash if an error occurs while submitting
      a review (LP: #854187)
  * softwarecenter/ui/gtk3/widgets/apptreeview.py:
    - check that a category is not selected before updating,
      fixes a crash on e.g. a network change event (LP: #848085)
  * softwarecenter/ui/gtk3/panes/installedpane.py:
    - display a spinner while loading the oneconf
      list view
  * pyflakes fixes

  [ Michael Vogt ]
  * softwarecenter/ui/gtk3/views/purchaseview.py,
    test/gtk3/test_purchase.py:
    - ensure to never log sensitive oauth token data to the console
      from webkit and add test
  * debian/c...

Read more...

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers