[Aptitude-devel] Bug#312920: Bug#312920: Bug#312920: marked as done (writes when nothing should be written)

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Wed Mar 21 14:11:56 UTC 2012


2012/3/21 Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>:
> I agree that 2s is far more time that it should be desirable, but yet
> it's 2s and nobody is going to die because of that.  All of the
> initialisation process is suboptimal (according to comments to
> dburrows in other bug reports), it should be addressed separately and
> comprehensively and for many commands, not just when the package is
> not found, IMO.

For the record (first lines are doubled, it's not my mistake):
---------------------------------------------------------------------
# time aptitude install foobar
Couldn't find any package matching "foobar".  However, the following
packages contain "foobar" in their description:
  lxmusic man2html
Couldn't find any package matching "foobar".  However, the following
packages contain "foobar" in their description:
  lxmusic man2html
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.


real    0m2.646s
user    0m1.488s
sys     0m0.568s
---------------------------------------------------------------------

Mine is 2.646 seconds, yours seems to be 29s.  I never experienced
aptitude being so slow, but other than that I continue to think the
same about closing the bug report.

Cheers.





More information about the Aptitude-devel mailing list