[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#759343: debian-cd: Improve correctImprove correctstatus speed

Package: debian-cd
Version: 3.1.15
Severity: wishlist
Tags: d-i patch

Using "dumpavail" dumps all packages, while we're only interested in one
specific package. This wasts a log of cycles and time when many packages
need fixing.

Use "show $pkg" to directly dump only the requested package.

Use "--no-all-versions" to show only the candidate for installation.

This change reduces our UCS DVD build time from 9.64m down to 7.19m.
I've testes the patch on our amd64 and it did non change the content of
our DVD. More testing is appreciated.

-- System Information:
Debian Release: 7.6
  APT prefers stable
  APT policy: (900, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Attachment: 0001-Use-apt-cache-show-show-instead-of-dumpavail.patch
Description: /home/phahn/.magic

Reply to: