[Top][All Lists]

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

Re: [Synaptic-devel] CDROM installations

From: Andrey Tarassov
Subject: Re: [Synaptic-devel] CDROM installations
Date: Sat, 17 Apr 2004 15:48:24 +0100
User-agent: Mozilla Thunderbird 0.5 (X11/20040208)

Panu Matilainen wrote:
On Fri, 16 Apr 2004, Andrey Tarassov wrote:


I have several comments about how synaptic handles installation of packages from a CD-ROM.

First of all, when the packages are fetched from the CD, the download speed and remaining time are both displayed as zeros. For example, if you are installing some kde package which is some 20-30 megabytes, then it takes several seconds to fetch it, but not 0 :-) And the download speed is surely higher than 0 b/s :-)

From synaptic svn-head changelog:

rev 907: niemeyer | 2004-04-14 21:40:27 +0300 (Wed, 14 Apr 2004) | 3 lines
Never show "at 0b/s" messages in fetch window. The cdrom method
looks uncomfortable with it.

Looks like Gustavo read your mind :)


I looked through the patch and tested it a bit. It seems that it does not function like it should. For example, from time to time the download status was something like:
"Retrieved blah-blah, at speed 0b/s, >40000d 60h ... remaining".
This is kinda crazy :-)

I modified the check there a bit to
if (CurrentCPS > 0.1 && ...)

that helped, but not that much, still from time to time I received messages like:
"Retrieved blah-blah, at speed 0b/s, 6s ... remaining".

That's much better of course, but still a bit crazy as download speed from CD-ROM is surely higher than 0b/s :-)

Are there any means to remove those speed and time estimates from the fetch dialog in case packages are downloaded from a CD-ROM? Of course in case of mixed downloads (e.g. from both CD and web) this info should be displayed from time to time...

BTW, the best solution would be if apt/synaptic would find the download speed of a CD-ROM and count correct time estimates. Downloading a 50MB package does take some seconds, but during this time the progress is set to 100% and speed is still 0. Or is it technically impossible?



Andrey Tarasov
Software Engineer

OÜ SOT Finnish Software Engineering
Kreutzwaldi 7-4, 10124 TALLINN, ESTONIA

Phone: +372 641 9975
Fax:   +372 641 9876

reply via email to

[Prev in Thread] Current Thread [Next in Thread]