GDB won't install debug info!!

Hi

I am trying to run gdb debugger on a simple c program but every time i type run in the debugger it gives me these messages:

warning: the debug information found in “/usr/lib/debug//lib/libc-2.11.3.so.debug” does not match “/lib/libc.so.6” (CRC mismatch).

warning: the debug information found in “/usr/lib/debug/lib/libc-2.11.3.so.debug” does not match “/lib/libc.so.6” (CRC mismatch).

Missing separate debuginfo for /lib/libc.so.6
Try: zypper install -C “debuginfo(build-id)=5a005d8c442988f1713dc91479bf297ee3f735f0”

When i run zypper i get this:

Loading repository data…
Reading installed packages…
No provider of ‘debuginfo(build-id) = 5a005d8c442988f1713dc91479bf297ee3f735f0’ found.
Resolving package dependencies…

Nothing to do.

I have the debug repo and have gdb-debuginfo package installed yet it still won’t install.
i also have the opensuse 11.4-Debug repo.

it still lets me run the debugger without any hassle although it would not let me set a breakpoint on a “strcpy”
in my c program

Any help would be appreciated…

{ rpm -qif /lib/libc.so.6; }?

Hey Thanks for the reply.

Here’s that command:

Name : glibc Relocations: (not relocatable)
Version : 2.11.3 Vendor: openSUSE
Release : 12.17.1 Build Date: Fri 29 Jul 2011 19:48:43 IST
Install Date: Thu 18 Aug 2011 22:21:52 IST Build Host: build30
Group : System/Libraries Source RPM: glibc-2.11.3-12.17.1.nosrc.rpm
Size : 4844277 License: GPLv2+
Signature : RSA/8, Fri 29 Jul 2011 19:58:44 IST, Key ID b88b2fd43dbdc284
Packager : openSUSE:Submitting bug reports - openSUSE
URL : GNU C Library - GNU Project - Free Software Foundation (FSF)
Summary : Standard Shared Libraries (from the GNU C Library)
Description :
The GNU C Library provides the most important standard libraries used
by nearly all programs: the standard C library, the standard math
library, and the POSIX thread library. A system is not functional
without these libraries.
Distribution: openSUSE 11.4

{ rpm -qi glibc-debuginfo; }?

Name : glibc-debuginfo Relocations: (not relocatable)
Version : 2.11.3 Vendor: openSUSE
Release : 12.15.1 Build Date: Tue 22 Feb 2011 17:11:49 GMT
Install Date: Sat 17 Sep 2011 22:53:42 IST Build Host: build34
Group : Development/Debug Source RPM: glibc-2.11.3-12.15.1.nosrc.rpm
Size : 17399907 License: GPLv2+
Signature : RSA/8, Tue 22 Feb 2011 17:20:48 GMT, Key ID b88b2fd43dbdc284
Packager : openSUSE:Submitting bug reports - openSUSE
URL : GNU C Library - GNU Project - Free Software Foundation (FSF)
Summary : Debug information for package glibc
Description :
This package provides debug information for package glibc.
Debug information is useful when developing applications that use this
package or when debugging this package.
Distribution: openSUSE 11.4

You need to update glibc-debuginfo to release 12.17.1.

Could you tell me how to update it please?