Am 06.01.2012 18:40, schrieb Robert Schweikert:
On 01/06/2012 12:27 PM, Martin Helm wrote:
Am 06.01.2012 18:14, schrieb Martin Helm:
Instead of your command what tells you
rpm -qf /bin/ls
(it should say coreutils) Sorry had to reread your mail, what is in /var/lib/rpm now after you rebuilt the database? I would guess it contains nothing useful.
After the rebuild /var/lib/rpm just contained the "Packages" file. I then ran "zypper up", which re-created the other files normally found in /var/lib/rpm and installed some "core" packages, such as bash and a few others. The content of these is of course already on the system, thus nothing really changed other than that the database started to get re-populated. Therefore an 'rpm -qa' now provides a very short list of packages.
Robert
That is normal since you deleted the complete content from the /var/lib/rpm your rebuild command was useless, there was absolutely nothing to rebuild. I am afraid I do not know any way to recover that other than restoring the full content of /var/lib/rpm from your latest backup and then run a rebuild of the rpm database (if it is needed at all). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org