PDA

View Full Version : YUM issues FC6



callihn
20th August 2007, 11:58 PM
I just updated from FC3 i386 to FC6 x86_64 and am having some odd problems particularly with YUM at the moment.

First it would be nice if someone could give me an ideal as to what i386/i686 and noarch should be expected, as it's obvious that some of those are needed, I guess for 32-bit compatibility, but which ones?

Second when running yum check-update all I'm getting back is i386 packages, though checking with my web browser I see that shouldn't be the case as there are several x86_64 packages in there, ElectricFence being just one.

So, could someone tell me what my problem is and how to fix it please?

Thanks

Edit: I have even tried replacing $basearch in my core repo with x86_64 and that didn't help, also uname -a returns Linux localhost.localdomain 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:39:22 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux

leigh123linux
21st August 2007, 12:37 AM
You can't just upgrade from i386 to x86_64 .


Re-install and start again with a clean install

callihn
21st August 2007, 01:06 AM
You can't just upgrade from i386 to x86_64 .


Re-install and start again with a clean install

I just did and your suggestion is not going to happen, I just have too much data to loose.

I'm looking to solve the problem, not take the easy and obvious way out, If the later was the case I surely wouldn't be a Linux user. ;)

More info:

rpm -q ElectricFence
ElectricFence-2.2.2-20
ElectricFence-2.2.2-20.2.2

rpm -q ElectricFence --qf %{ARCH}
i386x86_64

yum check-update
Setting up repositories
Reading repository metadata in from local files

ElectricFence.i386 2.2.2-22.fc6 updates
GConf2.i386 2.14.0-8.fc6 updates
GConf2-devel.i386 2.14.0-8.fc6 updates
GeoIP.i386 1.4.2-1.fc6 extras
ImageMagick.i386 6.2.8.0-4.fc6 updates
ImageMagick-c++.i386 6.2.8.0-4.fc6 updates
ORBit.i386 1:0.5.17-20.fc6 extras
ORBit2.i386 2.14.3-4.fc6 updates
ORBit2-devel.i386 2.14.3-4.fc6 updates
PyQt.i386 3.17-0.1.fc6 updates
PyQt-devel.i386 3.17-0.1.fc6 updates
SDL.i386 1.2.11-1.fc6 updates
SDL-devel.i386 1.2.11-1.fc6 updates
a2ps.i386 4.13b-57.fc6.3 updates
a52dec.i386 0.7.4-8.fc6 freshrpms
aalib.i386 1.4.0-0.11.rc5.fc6 extras
alsa-lib.i386 1.0.14-0.1.rc1.fc6 updates
alsa-lib-devel.i386 1.0.14-0.1.rc1.fc6 updates
alsa-tools.i386 1.0.12-4.fc6 extras
alsa-utils.i386 1.0.14-0.2.rc1.fc6 updates
alsamixergui.i386 0.9.0-0.3.rc1.fc6 extras
anacron.i386 2.3-44.fc6 updates
apr-util.i386 1.2.8-1.fc6 updates
apt.i386 0.5.15lorg3.2-10.fc6 extras
arts.i386 8:1.5.7-0.1.fc6 updates
arts-devel.i386 8:1.5.7-0.1.fc6 updates
at.i386 3.1.8-85.fc6 updates
audacity.i386 1.3.2-8.fc6 extras
audit.i386 1.4.2-5.fc6 updates
audit-libs.i386 1.4.2-5.fc6 updates
audit-libs-python.i386 1.4.2-5.fc6 updates
authconfig.i386 5.3.12-1.fc6 updates
authconfig-gtk.i386 5.3.12-1.fc6 updates
autofs.i386 1:5.0.1-0.rc3.33 updates
avahi.i386 0.6.16-4.fc6 updates


Etc............

There is no reason this can't be straitened out, that much I'm certain of, the only question is how/what's causing it, exactly.

leigh123linux
21st August 2007, 02:07 AM
All you have done is install a x86_64 kernel with it dependencies , so you are using a 64 bit kernel with a 32 bit O/S .

yum will only replace like with like and the same with the DVD upgrade

marcrblevins
21st August 2007, 02:55 AM
Just backup /etc /home /var

print out:
chkconfig --list | grep on
rpm -qa

Install 64 bits.
Restore /etc /home /var into a different direcory to compare with the installef version, use your judgement what .conf files need to be modify. Don't copy-over/write-over. Copy/Paste.

Install all programs that is listed in chkconfig list.
Install all programs that didn't get installed based on rpm -qa list.

Should be easy to do, this, just be patience and slow, don't rush it.

callihn
21st August 2007, 04:21 AM
All you have done is install a x86_64 kernel with it dependencies , so you are using a 64 bit kernel with a 32 bit O/S .

yum will only replace like with like and the same with the DVD upgrade

I used the CDs for FC6 as I don't have a DVD and there are plenty of x86_64 packages installed, but there is something not right somewhere.

The main problem seems to be that YUMex is only showing i386 packages for install or update and trying to install some of those is causing it to bail out due to conflicts, one example being glibc-headers, where is YUM getting this misinformation from on the arch, uname -a looks good and I see no arch info in fedora-release, so what's the deal here?



yum -y install glibc-headers

Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 1.2 kB 00:00
freshrpms 100% |=========================| 2.1 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package glibc-headers.i386 0:2.5-18.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: glibc = 2.5-18.fc6 for package: glibc-headers
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package glibc.i686 0:2.5-18.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: glibc-common = 2.5-18.fc6 for package: glibc
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package glibc-common.i386 0:2.5-18.fc6 set to be updated
--> Running transaction check

Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
glibc-headers i386 2.5-18.fc6 updates 608 k
Installing for dependencies:
glibc-common i386 2.5-18.fc6 updates 16 M
Updating for dependencies:
glibc i686 2.5-18.fc6 updates 5.1 M

Transaction Summary
================================================== ===========================
Install 2 Package(s)
Update 1 Package(s)
Remove 0 Package(s)

Total download size: 22 M
Downloading Packages:
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
file /etc/localtime from install of glibc-2.5-18.fc6 conflicts with file from package glibc-2.5-3
file /usr/bin/ldd from install of glibc-common-2.5-18.fc6 conflicts with file from package glibc-common-2.5-3



BTW, it was FC4 and not FC3, not that it matters that much and I think the issue was caused due to having fedora-release installed for FC5 and not using YUM update before I used the CDs, or at least the part where it left a mess of FC4 packages.

Can someone give me a clue as to what x86 packages should be installed on x86_64?

All help welcome, please take a look at your rpmdb/yum/yumex and lend a helping hand if you can find the time to help answer some of these questions as to what should be installed in x86 along with an x86_64 version of the same, if any.

leigh123linux
21st August 2007, 03:05 PM
What do you get if you try

su
yum install bash.x86_64

callihn
21st August 2007, 04:01 PM
What do you get if you try

su
yum install bash.x86_64

Nothing to do

rpm -q bash
bash-3.1-16.1
bash-3.0-31

rpm -q bash --qf %{ARCH}
x86_64i386

leigh123linux
21st August 2007, 04:18 PM
Well you should only have 64 bit bash installed , try removing the 32 bit version

su
yum remove bash.i386

P.S you may rip the hell out of your system doing this :eek:

callihn
21st August 2007, 05:18 PM
Well you should only have 64 bit bash installed , try removing the 32 bit version

su
yum remove bash.i386

P.S you may rip the hell out of your system doing this :eek:

Nah, it's cool, I have all of the old packages gone now, been working at it for some time, just finished the last of them. Fedora has NEVER updated cleanly for me, nor did Redhat.

But YUM still doesn't want to play right and still only gives me i386/i686 and noarch packages for install and update, I only see x86_64 packages available for removal.

Where in the hell is it getting it's arch info from?

callihn
24th August 2007, 04:11 AM
So, nobody can give me a clue as to why yum would only be showing i386 packages on an x86_64 install without an exclude in the config file when it's behavior should be to show both?

markkuk
24th August 2007, 12:36 PM
You gave the reason on the first line of this thread: "I just updated from FC3 i386 to FC6 x86_64...". Updating from i386 to x86_64 isn't supported, you need to do a clean re-install to get the system working properly.