Re: Script in GUI (Was: openSUSE as a router, how to? Solved!)



On 2008-06-27, houghi <houghi@xxxxxxxxxxxxxxxxxx> wrote:
Vahis wrote:
The `exit 1` I would probably re-write to an errormessage that pops up
with kdialog/zenity so you know something went wrong.

Software management slows down in a long seasoned system in 10.3.
This script "greases the wheels"

rpm --rebuilddb is obvious.

So you want to do it often? Why not put it in a crontab. Obviously first
test if there is nothing busy with using the database, like another rpm
or YaST.

I run it occasionally, no need for a cron job.

It then copies the files with a new name and removes the old ones.
Then it renames the new files to old ones.

This "defrags" them and keeps software management running quickly as
new.

This last part I think is odd. I see no reason for this.

After a few months of installing a lot of software and updating them
makes the databases slow down.

After running that script it's like a brand new installation.
Which it the is, as for package management.

There seems to be a point, at least here.

Vahis
--
Training new things here:
http://waxborg.servepics.com
"The only thing more expensive than training is the lack of it"
Henry Ford
.



Relevant Pages