https://bugzilla.novell.com/show_bug.cgi?id=746736
https://bugzilla.novell.com/show_bug.cgi?id=746736#c12
--- Comment #12 from Michael Andres 2012-02-14 18:43:11 CET ---
Eduardo: It is probably one of the worst things the can happen.
So it looks like the rpm database was broken. As you did 'rpm --rebuilddb', the
database was fixed, but some entries were lost. Although the packages are
actually installed on the system, the rpm database does not show them any more.
This is why zypper/YaST/rpm do not 'see' them.
I'm not sure how to fix this. It is possible to tell rpm to remember a package
only in the database without unpacking it to disk again. So if I can figure out
the missing packages from the logs, you can try to add them to the database.
But it may be not 100% correct because you meanwhile added and maybe removed
packages.
== About the configuration files (.rpmnew and .rpmorig):
- If a new version of a package has a new version of a configfile, the new
configfile is installed, when you update the package.
- BUT... If the old configfile was modified (by you or by some program) rpm
will not throw away your changes.
It will either:
install the new version and save the the old modified version as .rpmsave
or:
keep the old modified version and install the new one as .rpmnew
The package builder defines which strategy to use (usually the old modified
version is kept if possible). Your (the admins) task is it to check whether
changes (like new options) have to be merged after an update.
This is nothing zypper/YaST can do beacuse one needs to know and understand the
config file.
!!! There is also a 3rd extension: .rpmorig
It is like .rpmsave a copy of the original configfile, but in this case the
existing file did not belong to any 'known' package.
Because there are many packages installed but missing in your database, you may
find .rpmorig files whenever you (re)install one of them.
As those .rpmorig files contain your original configuration, you should check
whether you have to move it back. If the package would have been in the
database, rpm would most probably have kept the file in place.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.