Openmoko Bug #2131: "opkg upgrade" slow, duplicate entries in *.list files

Openmoko Public Trac bugs at
Mon Dec 1 03:57:12 CET 2008

#2131: "opkg upgrade" slow, duplicate entries in *.list files
 Reporter:  h.koenig  |          Owner:  tick    
     Type:  defect    |         Status:  accepted
 Priority:  normal    |      Milestone:          
Component:  unknown   |        Version:          
 Severity:  normal    |       Keywords:          
 Haspatch:  0         |      Blockedby:          
Estimated:            |    Patchreview:          
 Blocking:            |   Reproducible:          
Changes (by tick):

  * owner:  openmoko-devel => tick
  * status:  new => accepted


 why do *.list files grow with many duplicate entries ?
  - It's a bug in the hash_table.c hast_table did not check key hit after
 second entry. This had been solved at #4830.

 why does opkg (sometimes) open a pkg list so many times ?
  - It's a issue of the reference count scheme. I am planing to make it
 more lazy, and reduce the reading times.  Still working on it.

 Another issue that cause a file been written for many times is solved at
 #4829. (Set the flag back.)

 Thank you for reporting this.

Ticket URL: <> <>
openmoko trac

More information about the buglog mailing list