Re: Script in GUI (Was: openSUSE as a router, how to? Solved!)
- From: Vahis <waxborg@xxxxxxxxxxxxxxxxx>
- Date: Fri, 27 Jun 2008 07:34:19 GMT
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
.
- Follow-Ups:
- References:
- Prev by Date: Re: 11.0 and repositories
- Next by Date: Re: Script in GUI (Was: openSUSE as a router, how to? Solved!)
- Previous by thread: Re: Script in GUI (Was: openSUSE as a router, how to? Solved!)
- Next by thread: Re: Script in GUI (Was: openSUSE as a router, how to? Solved!)
- Index(es):
Relevant Pages
|