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

Re: IT WORKS UNDER A SIMULATED APT RUN!!!! Re: --command-pipe mostly working, transcript below



On Tue, 2 Jan 2001, Adam Heath wrote:

> On Mon, 1 Jan 2001, Adam Heath wrote:
> 
> > ==
> > yakko:/etc/init.d# cat /tmp/cmds 
> > [snip]
> > yakko:/etc/init.d# time (cat /tmp/cmds|while read cmd;do dpkg $cmd;done)
> > [snip]
> 
> apt-get upgrade -y -o Debug::pkgDPkgPM=true
> 
> Then, I saved the list of dpkg commands to a file, and ran it thru
> --command-pipe:
> 
> I didn't time this run, because it would be rather slow.  I have the start of
> a --status-pipe, but need to place the calls to the function in optimum
> places, so that it doesn't slow dpkg down too much.

Actually, it was also linked against dmalloc, which probably affects the speed
more than my start of --status-pipe code.

----BEGIN GEEK CODE BLOCK----
Version: 3.12
GCS d- s: a-- c+++ UL++++ P+ L++++ !E W+ M o+ K- W--- !O M- !V PS--
PE++ Y+ PGP++ t* 5++ X+ tv b+ D++ G e h*! !r z?
-----END GEEK CODE BLOCK-----
----BEGIN PGP INFO----
Adam Heath <doogie@debian.org>        Finger Print | KeyID
67 01 42 93 CA 37 FB 1E    63 C9 80 1D 08 CF 84 0A | DE656B05 PGP
AD46 C888 F587 F8A3 A6DA  3261 8A2C 7DC2 8BD4 A489 | 8BD4A489 GPG
-----END PGP INFO-----



Reply to: