I've been trying out smart in anticipation of the future changeover. All in 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. 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? 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: pablo:/home/craig # smart install smart Loading cache... Updating cache... ############################################################################ [100%] Computing transaction... Upgrading packages (1): smart-0.40-8.guru.suse100@i686 517.0kB of package files are needed. 143B will be used. Confirm changes? (Y/n): Fetching packages... -> http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-i386/RPMS.suser-guru/smart-0... 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...: Not Found hmmm.. How long does a typical sync take? 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 it according to the advice available. The docs are short though! I'd be happy to help out if someone pointed me in the right direction. At this stage I guess that'd mean looking at the source code? THanks Craig
-----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): smart-0.40-8.guru.suse100@i686 ... Fetching packages... -> http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-i386/RPMS.suser-guru/smart-0... 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...: 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/
/\\
On 27/10/05 01:04 +0200, Pascal Bleser wrote:
smart also works with dpkg on Debian distros
I know - my sceptical debian loving colleague nearly choked on his cornflakes when I showed him the comparisons to apt in the README and had to admit that it was promising! ;-)
Hmm... waiting for network reply packets ? The TCP timeout is configurable: smart config --set socket-timeout=30 (in seconds)
Entirely possible - since ftp.gwdg.de is under a load at the minute.
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).
This had worked. But why is a request for this file still generating a 404 error but it's clearly available elsewhere
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 ?
About 512MB - not the best but ought to be enough. Does slow to a halt though if it's busy elsewhere. On my work computer with a gig of ram and 1100MHz processor the speed's not too impressive though. Praps I'll try a comparison with apt to give you a better idea of the performance.
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
Useful. This sort of thing ought to be documented earliest especially as if smart becomes 'compulsory'.
But there's the FAQ and the README as well.
Yep. The former certainly could do with some embellishment, the README is far more helpful.
cheers
Thanks for your help - problem with the upgrade solved. Regards Craig
I did follow Liquidat [1] "how to". Added the mirror Pascal's pointed out ... then launched smart-update (from command line) and also smart --gui & (also from c.l. because the link in the menu doesn't launch the application) ... but the result is always the same, cpu & memory usage to 100% for 10/15 minutes blocked at 99% up the "update cache" procedure ... Any hint ? centrino laptop here [1,6GHz cpu, 512mb of RAM, 4200rpm disk :-( ] [1] http://liquidat.blogspot.com/2005/10/set-up-smartpm-on-suse-linux-100.html -- .~. Nicola -=KOOLINUS=- Losito /v\ http://www.koolinus.net // \\ /( )\ Linux Registered User #293182 ^^ ^^ icq:62837984 * Jabber-ID:koolinus@jabber.linux.it
On Thu, 27 Oct 2005, Nicola -kOoLiNuS- Losito wrote:
I did follow Liquidat [1] "how to". Added the mirror Pascal's pointed out ...
then launched smart-update (from command line) and also smart --gui & (also from c.l. because the link in the menu doesn't launch the application) ... but the result is always the same, cpu & memory usage to 100% for 10/15 minutes blocked at 99% up the "update cache" procedure ...
Are you using any rpm-md (rpm metadata aka 'yum' or 'yum2')
repositories? You can find out with:
smart channel --show | grep type
and look for anything that isn't apt-rpm or rpm-sys.
--
Carpe diem - Seize the day.
Carp in denim - There's a fish in my pants!
Jon Nelson
Jon Nelson wrote:
I did follow Liquidat [1] "how to". [cut] then launched smart-update (from command line) and also smart --gui & (also from c.l. because the link in the menu doesn't launch the application) ... but the result is always the same, cpu & memory usage to 100% for 10/15 minutes blocked at 99% up the "update cache" procedure ...
Are you using any rpm-md (rpm metadata aka 'yum' or 'yum2') repositories? You can find out with: smart channel --show | grep type and look for anything that isn't apt-rpm or rpm-sys.
i actually have only 4 rpm-md occurence ... should i find to who they belong and remove them ? -- .~. Nicola -=KOOLINUS=- Losito /v\ http://www.koolinus.net // \\ /( )\ Linux Registered User #293182 ^^ ^^ icq:62837984 * Jabber-ID:koolinus@jabber.linux.it
On Thu, 27 Oct 2005, Nicola -kOoLiNuS- Losito wrote:
Jon Nelson wrote:
I did follow Liquidat [1] "how to". [cut] then launched smart-update (from command line) and also smart --gui & (also from c.l. because the link in the menu doesn't launch the application) ... but the result is always the same, cpu & memory usage to 100% for 10/15 minutes blocked at 99% up the "update cache" procedure ...
Are you using any rpm-md (rpm metadata aka 'yum' or 'yum2') repositories? You can find out with: smart channel --show | grep type and look for anything that isn't apt-rpm or rpm-sys.
i actually have only 4 rpm-md occurence ... should i find to who they belong and remove them ?
Personally, I'd do this:
Download the latest smart (below), but do not install.
rpm -e smart
rm -rf /var/lib/smart
rpm -Uvh the_smart_rpm
smart --shell
and if you are running the most recent version
0.40-8.guru.suse93
or
smart-0.40-8.guru.suse100
then it will ask you about importing the channel files.
Once that is done, issue 'update' then 'upgrade'.
I have had lots of trouble using the rpm-md stuff, exactly the problems
you describe. Use the apt stuff for now. Let us know how it goes!
--
Carpe diem - Seize the day.
Carp in denim - There's a fish in my pants!
Jon Nelson
On Thu, 2005-10-27 at 01:04 +0200, Pascal Bleser wrote:
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)
Same problem here... problem is not while downloading packages, but during the install, most of the time after the cleaning, but not always regards Frederik
participants (5)
-
Craig Millar
-
Frederik Vos
-
Jon Nelson
-
Nicola -kOoLiNuS- Losito
-
Pascal Bleser