James Antill wrote:
On Tue, 2011-02-22 at 22:38 +0100, Jim Meyering wrote:
> With some effort, and help from the guys on #anaconda@freenode (thanks!),
> today I finally installed a bare-metal F15 system (part of the complication
> was my existing partitions).
>
> Then I updated it to rawhide. However, the whole point of this was to
> be able to compile and test some things, yet I cannot install gcc:
>
> # yum install gcc
[...]
> Error: Package: glibc-2.8.90-11.i686 (rawhide)
> Requires: glibc-common = 2.8.90-11
> Installed: glibc-common-2.13.90-4.x86_64 (@updates-testing/15)
> glibc-common = 2.13.90-4
> Available: glibc-common-2.8.90-11.x86_64 (rawhide)
> glibc-common = 2.8.90-11
Newer glibc in F15 than in rawhide, so yum won't "go backwards" for
glibc-devel ... it tries to go with the .i686 instead (do you not have
protected_multilib set?), but that doesn't work out either.
As far as I know, I haven't changed anything about protected_multilib,
so I guess I have the default setting. How do I check that?
I do recall seeing one warning about that.
distro-sync glibc* on rawhide ... or get glibc-devel from F-15.
Thanks, James. Using "yum distro-sync cpp" worked like a charm.
However, "yum distro-sync 'glibc*'" had trouble:
Setting up Distribution Synchronization Process
Resolving Dependencies
--> Running transaction check
---> Package glibc.x86_64 0:2.8.90-11 will be a downgrade
---> Package glibc.x86_64 0:2.13.90-4 will be erased
Error: Package: 2:mcelog-1.0-0.3.pre3.fc15.x86_64 (@koji-override-0/$releasever)
Requires: libc.so.6(GLIBC_2.11)(64bit)
Removing: glibc-2.13.90-4.x86_64 (@updates-testing/15)
libc.so.6(GLIBC_2.11)(64bit)
Downgraded By: glibc-2.8.90-11.x86_64 (rawhide)
Not found
Error: Package: xorg-x11-xinit-1.0.9-20.fc15.x86_64 (@koji-override-0/$releasever)
Requires: libc.so.6(GLIBC_2.11)(64bit)
Removing: glibc-2.13.90-4.x86_64 (@updates-testing/15)
libc.so.6(GLIBC_2.11)(64bit)
Downgraded By: glibc-2.8.90-11.x86_64 (rawhide)
Not found
Error: Package: sudo-1.7.4p5-3.fc15.x86_64 (@koji-override-0/$releasever)
Requires: libc.so.6(GLIBC_2.11)(64bit)
Removing: glibc-2.13.90-4.x86_64 (@updates-testing/15)
libc.so.6(GLIBC_2.11)(64bit)
Downgraded By: glibc-2.8.90-11.x86_64 (rawhide)
Not found
Error: Package: gdb-7.2.50.20110218-24.fc15.x86_64 (@updates-testing/15)
...
Next, I did this:
koji download-build --arch x86_64 glibc-2.13.90-4
to get these:
glibc-devel-2.13.90-4.x86_64.rpm
glibc-common-2.13.90-4.x86_64.rpm
glibc-utils-2.13.90-4.x86_64.rpm
glibc-headers-2.13.90-4.x86_64.rpm
nscd-2.13.90-4.x86_64.rpm
glibc-static-2.13.90-4.x86_64.rpm
glibc-2.13.90-4.x86_64.rpm
and installed them with yum install.
No problem, there.
However, install and distro-sync still fail:
$ yum install gcc
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.3.1-6 will be installed
--> Processing Dependency: libgomp = 4.3.1-6 for package: gcc-4.3.1-6.x86_64
--> Running transaction check
---> Package libgomp.i386 0:4.3.1-6 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.2) for package: libgomp-4.3.1-6.i386
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: libgomp-4.3.1-6.i386
--> Processing Dependency: libc.so.6 for package: libgomp-4.3.1-6.i386
--> Processing Dependency: librt.so.1(GLIBC_2.2) for package: libgomp-4.3.1-6.i386
--> Processing Dependency: libpthread.so.0(GLIBC_2.1) for package:
libgomp-4.3.1-6.i386
--> Processing Dependency: libc.so.6(GLIBC_2.1.3) for package: libgomp-4.3.1-6.i386
--> Processing Dependency: libpthread.so.0(GLIBC_2.0) for package:
libgomp-4.3.1-6.i386
--> Processing Dependency: libpthread.so.0(GLIBC_2.3.4) for package:
libgomp-4.3.1-6.i386
--> Processing Dependency: libc.so.6(GLIBC_2.0) for package: libgomp-4.3.1-6.i386
--> Processing Dependency: libpthread.so.0 for package: libgomp-4.3.1-6.i386
--> Processing Dependency: libc.so.6(GLIBC_2.3) for package: libgomp-4.3.1-6.i386
--> Processing Dependency: librt.so.1 for package: libgomp-4.3.1-6.i386
--> Processing Dependency: libc.so.6(GLIBC_2.6) for package: libgomp-4.3.1-6.i386
--> Running transaction check
---> Package glibc.i686 0:2.8.90-11 will be installed
--> Processing Dependency: glibc-common = 2.8.90-11 for package: glibc-2.8.90-11.i686
--> Finished Dependency Resolution
Error: Package: glibc-2.8.90-11.i686 (rawhide)
Requires: glibc-common = 2.8.90-11
Installed: glibc-common-2.13.90-4.x86_64 (@updates-testing/15)
glibc-common = 2.13.90-4
Available: glibc-common-2.8.90-11.x86_64 (rawhide)
glibc-common = 2.8.90-11
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest