LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   FC6 x86_64 - No updates possible (http://www.linuxquestions.org/questions/fedora-35/fc6-x86_64-no-updates-possible-508300/)

Boby 12-07-2006 01:57 PM

FC6 x86_64 - No updates possible
 
Hello,

After going happy through each Fedora Core version until now on a 32 bit box, I have bought a new PC with a P4 core duo CPU. I've never had that many problems with all FC version except this FC6 on the 64bit CPU.
I've downloaded the 64bit version as DVD and installed it, as soon as I was logged in the nice update reminder popped up and I started the update. Couldn't install anything, almost every package throws a conflict error.
Ok, so I've installed yumex and tried to update, first I selected only some packages like new kernel and thunderbird wich installed ok. But all the rest (over 160 packages) get in confict when updated. Thought it's a problem with yumex and tried yum from console, same problem.

If I start yum, like it was configured by the default Fedora installation, most of the packages are available as i386 and x86_64, should I install them twice??
Disabled the ix86 arch from /etc/yum.conf with:
Code:

exclude=*i386 *.i586 *.i686
but without any success.

The yum repos I'm using are: core, extras and update of the default yum install.

Here is a simple example for an update on gaim, transaction error included:
Code:

[boby@localhost boby]$ sudo yum update gaim
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package gaim.x86_64 2:2.0.0-0.26.beta5.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: cyrus-sasl-md5 for package: gaim
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package cyrus-sasl-md5.x86_64 0:2.1.22-4 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                Arch      Version          Repository        Size
=============================================================================
Updating:
 gaim                    x86_64    2:2.0.0-0.26.beta5.fc6  updates          6.8 M
Installing for dependencies:
 cyrus-sasl-md5          x86_64    2.1.22-4        core              46 k

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

Total download size: 6.8 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test


Transaction Check Error:  file /etc/gaim/prefs.xml from install of gaim-2.0.0-0.26.beta5.fc6 conflicts with file from package gaim-2.0.0-0.15.beta3.fc6
  file /usr/share/applications/gaim.desktop from install of gaim-2.0.0-0.26.beta5.fc6 conflicts with file from package gaim-2.0.0-0.15.beta3.fc6
  file /usr/share/man/man1/gaim.1.gz from install of gaim-2.0.0-0.26.beta5.fc6 conflicts with file from package gaim-2.0.0-0.15.beta3.fc6
  file /usr/share/man/man3/Gaim.3pm.gz from install of gaim-2.0.0-0.26.beta5.fc6 conflicts with file from package gaim-2.0.0-0.15.beta3.fc6
  file /usr/share/pixmaps/gaim/smileys/default/theme from install of gaim-2.0.0-0.26.beta5.fc6 conflicts with file from package gaim-2.0.0-0.15.beta3.fc6

What is wrong, why do I always get that conflict errors? I'm totally lost now, read through the forums and it seems some 64bit users are happy and some are angry.
Can anyone help? Can I install something on FC6 - 64bit or do I have to hang around with the default packages?

Someone suggested, I should install the 32bit FC6 version on the 64bit CPU, would that make any sense? What are the pros and cons?


Thank you for any help.
Boby

macemoneta 12-07-2006 02:21 PM

Maybe you should update yum first:

yum update yum

Then update the whole system, so you don't run into the ~500 known errors fixed since the install media was created:

yum update

If the first command doesn't work, your database has likely gotten corrupted. In that case:

rm -f /var/lib/rpm/__db*
rpm -vv --rebuilddb

Once that completes (about 5 minutes), you should be able to run yum.

Lenard 12-07-2006 02:25 PM

Yes you may need to install/update the 32 and 64-bit versions of the rpm packages, this is just a fact of life and something to get used to (for now).

Lets see your having a problem with updating gaim and it fails because you have both versions installed and you need to update both???, check;

rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'gaim*'

If this is true the let yum do what it needs to do; yum install gaim

Or remove the 32-bit version and related packages by hand, yum still has a nasty problem of removing both the 32 and 64-bit versions which can really cause a headache. Start by typing;

rpm -e gaim-2.0.0-0.26.beta5.fc6.i386 --test

Keep adding packages until you have no more dependency problems on removal (only about 17 or so).

There is no problem with having both installed other then the wasted hard drive space. You just will not be able to run the 32-bit version of the applications if not installed.

Boby 12-08-2006 04:34 AM

Thank you guys :)

@macemoneta
Updating yum was one of the first things I've tried out.

@Lenard
Indeed, I was running gaim (and a lot of other apps) for both x86_64 and ix86 arches
Code:

rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'gaim*'
So I thought I don't want to spend that much time and remove the ix86 packages each time I run an update or install something and choosed the other method of installing packages for both arches.
Seems like it's working, I get a conflict here and there but was able to fully update my system without any error :)

Thanks a lot!

What problems would be to install directly a ix86 OS on a 64 bit CPU? Are there any major downsides of doing this?

Boby

bibh_lnxq 12-08-2006 05:15 AM

Another word of thanks because this thread gave me just those extra's to repair a corrupted yum update of OpenOffice on FC6_64!

Lenard 12-08-2006 05:47 AM

Quote:

Originally Posted by Boby
What problems would be to install directly a ix86 OS on a 64 bit CPU? Are there any major downsides of doing this?

None, many choose to do just that install a 32-bit OS on a 64-bit system. Look at, for example, how many systems that are 64-bit comes pre-installed with the 32-bit version of that Microsoft product. The 64-bit systems are quite capable of running 32-bit Operating Systems.

Michael Johnson 12-08-2006 06:24 AM

Installing a 32 bit system on a 64 bit architecture has 1 drawback. Some 64 bit hardware has a PCI-E interface for the video card. The drivers for PCI-E are not built in a 32 bit OS. I came accross this problem with my system. The answer is to use a PCI video card or install the 64 bit OS.

Boby 12-08-2006 06:35 AM

Ok, thank you Lenard and Michael :)
I will stick a bit more with the 64-bit OS, if I'll run into more problems I will try the 32-bit only.

Boby


All times are GMT -5. The time now is 01:23 AM.