-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Craig Millar wrote:
> I've been trying out smart in anticipation of the future changeover. All in

Great :)

> all I've been impressed with it's depdendency resolving capabilities,
> especially the fact it can downgrade packages to resolve dependecy woes -
> something that would've been very useful on one of the debian boxen I look
> after at work.

smart also works with dpkg on Debian distros

> However, I do find that it does freeze from time to time when installing
> multiple packages - just no activity. Using top I can see it's still in 
> memory, but
> not using any cpu cycles - I've had to kill it manually and it seems to
> resume ok. I've been unable to consistently reproduce the error, except to
> say that it does occure on both my work and home computers. Any idea why this
> would be?

Hmm... waiting for network reply packets ?
The TCP timeout is configurable:
smart config --set socket-timeout=30
(in seconds)

> A problem I'm having at present with it is and running an upgrade on the
> smart package itself - although this is possibly an incomplete syncing on
> ftp.gwdg.de The error has been occuring for 7/8 hours now though:
...
> Upgrading packages (1):
>   [EMAIL PROTECTED]
...
> Fetching packages...
> ->
> http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-i386/RPMS.suser-guru/smart-0.40-8.guru.suse100.i686.rpm
> smart-0.40-8.guru.suse100.i686.rpm
> [  0%]
> error: Failed to download packages:
> error:http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-i386/RPMS.suser-guru/smart-0.40-8.guru.suse100.i686.rpm:
> Not Found

Try to add mirror sites:
smart mirror --add http://ftp.gwdg.de/pub/linux/suse/apt 
ftp://ftp.gwdg.de/pub/linux/suse/apt
smart mirror --add http://ftp.gwdg.de/pub/linux/suse/apt 
ftp://ftp4.gwdg.de/pub/linux/suse/apt
smart mirror --add http://ftp.gwdg.de/pub/linux/suse/apt \
http://mirrors.mathematik.uni-bielefeld.de/pub/linux/suse/apt

> hmmm.. How long does a typical sync take?

It's not about synching, as ftp.gwdg.de is the master for generating the apt 
repository metadata
(actually ftp4.gwdg.de is, but synching from there to ftp.gwdg.de should be 
quite in time).

Hmm.. dunno... try with the mirrors as above.
After running into a timeout or not finding a file, smart will automatically 
switch to another
mirror. It will also record the average download speed for every package and 
use the fastest
mirrors, depending on that information.

> Finally, I've been following the discussions on smart's performance with
> interest, especially as it is killer slow on my home machine which is a
> cobbled together 800MHz piece of crap from work - in time, I'll try and tune

How much memory do you have in that box ?

> it according to the advice available. The docs are short though! I'd be happy

smart config --set disk-cache=no

If you want to revert back to the original behaviour (which is to use the 
memory cache):
smart config --remove disk-cache

> to help out if someone pointed me in the right direction. At this stage I
> guess that'd mean looking at the source code?

Mostly, yes.
But there's the FAQ and the README as well.

cheers
- --
  -o) Pascal Bleser     http://linux01.gwdg.de/~pbleser/
  /\\ <[EMAIL PROTECTED]>       <[EMAIL PROTECTED]>
 _\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFDYAuAr3NMWliFcXcRAvp8AJ47OzcM+kuIU3QDoSDRSAyIL6oXeACgvQw5
yaA0jpLQqjVQfb7YGZNnHAs=
=l65m
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to