RPM Installation Methods

“Package management in OpenSUSE in recent years has had its share of challenges. In OpenSUSE 10.1, the package management was an epic trainwreck. Package management in OpenSUSE 10.3 is as good as that was bad. There are various types of speed improvements. Some of them huge. There is some caching of the repository package info. Progress bars so the user knows what’s going on. All sorts of goodness.”


You’re right with your concerns, although package management in SL 10.1 and openSUSE 10.3 are completely different stories. SL 10.1 used zmd, where openSUSE 10.3 already has zypper. The new zypper in openSUSE 11.0 is damn fast - be sure to check it out.
If you’re running an openSUSE 10.3 installation right now, you might check out SDB:Speed up Package Manager Stack - openSUSE
I had pretty good results running that script.


This is new to me; bear with me.

I installed 11.0 rc1 when it was released,
A few days ago, I did an update of 1,380+ packages.
Last evening, I did “zypper dist-upgrade -l” for about a 300+MB distro upgrade
I feel that I am close to the GM release.

Eveything is running swimmingly well; should I do:

Defragment internally

* Cleaning up sqlite databases can be done using the VACUUM command. 

For the ZYPP cache database: 
sqlite3 /var/cache/zypp/zypp.db vacuum 
Or alternatively regenerate it from scratch: 
rm /var/cache/zypp/zypp.db ; zypper refresh 

* Defragmenting the RPM database 

After largish update it is helpful to run rpm --rebuilddb once. 

My gut feeling is “yes”?