LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-24-2007, 10:23 PM   #1
lucktsm
Member
 
Registered: May 2004
Location: Atlanta, GA USA
Distribution: Redhat ES4, FC4, FC5, slax, ubuntu, knoppix
Posts: 155

Rep: Reputation: 30
Question FC6 update problems - can't figure out how to fix


I try to update with yum or the software updater and some items fail depencency checks because of missing libraries. However, these are libraries that were from FC4 which I upgraded from.

Here is a sample error message, does anyone know what I need to do to fix this?

[('file /usr/lib/librpm-4.4.so from install of rpm-libs-4.4.2-33.fc6 conflicts with file from package librpm4.4-4.4.2-15.2_60.fc4.at', (7, '/usr/lib/librpm-4.4.so', 0L)), ('file /usr/lib/librpmbuild-4.4.so from install of rpm-libs-4.4.2-33.fc6 conflicts with file from package librpm4.4-4.4.2-15.2_60.fc4.at', (7, '/usr/lib/librpmbuild-4.4.so', 0L)), ('file /usr/lib/librpmdb-4.4.so from install of rpm-libs-4.4.2-33.fc6 conflicts with file from package librpm4.4-4.4.2-15.2_60.fc4.at', (7, '/usr/lib/librpmdb-4.4.so', 0L)), ('file /usr/lib/librpmio-4.4.so from install of rpm-libs-4.4.2-33.fc6 conflicts with file from package librpm4.4-4.4.2-15.2_60.fc4.at', (7, '/usr/lib/librpmio-4.4.so', 0L))]
 
Old 05-25-2007, 02:50 AM   #2
mechdave
Member
 
Registered: Apr 2007
Location: Adelaide, Australia
Distribution: Ubuntu 8.10 and 7.10 server
Posts: 95

Rep: Reputation: 15
Have you tried yum upgrade?
 
Old 05-25-2007, 11:33 AM   #3
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Upgrading two versions (FC 4 to 6) in one step can be problematic. It’s hard enough to do a single version upgrade.


Under normal upgrading conditions, you would identify the old packages causing conflicts and attempt to delete them without deleting other essential packages.

For x86_64, the conflict is often caused by an attempt to upgrade an old i386 package that is not available as i386 in the new OS version.

Sometimes, the conflict problem is caused by there being two versions of the same package concurrently installed.


Try listing the conflicting package name to see what is installed and what is available.

Code:
# uname -rpmi

2.6.20-1.2948.fc6 i686 i686 i386

# yum list rpm-libs

Installed Packages
rpm-libs.i386                            4.4.2-33.fc6           installed
Another useful utility for dealing with conflicts is package-cleanup. This utility is useful both before and after an upgrade.

Code:
# yum install yum-utils

# package-cleanup --orphans

# package-cleanup --problems
...where --orphans will give you a list of old packages that are candidates for removal and --problems will identify packages with dependency problems.

Note: The system should be as up-to-date as possible before running package-cleanup.
 
Old 05-25-2007, 11:49 AM   #4
lucktsm
Member
 
Registered: May 2004
Location: Atlanta, GA USA
Distribution: Redhat ES4, FC4, FC5, slax, ubuntu, knoppix
Posts: 155

Original Poster
Rep: Reputation: 30
Unhappy

Thanks for the responses folks, I tried all of it. However, I am still getting a number of packages some of which I don't even use from FC4 that are unable to update.

Do I attack them one at a time and remove them then install them again? If I remove rpm for instance will it cause problems. I once tried to remove cyrus but it had so many dependencies it also tried to remove I could not do it.

I want to basically remove just the problem packages without dependencies then re-install the newer ones.

I ran package-cleanup --orphans and again for --problems and it still chokes on these packages.

Here is the output from package-cleanup --orphans
# package-cleanup --orphans
Setting up yum
Setting up Package Sacks
Reading Local RPMDB
libogg0-1.1.3-7.fc4.at.i386
atrpms-package-config-111-1.fc6.at.i386
cyrus-imapd-utils-2.2.12-6.fc4.i386
librom1394_0-0.5.1-0_8.fc4.at.i386
libvorbisfile3-1.1.2-5.fc4.at.i386
libdv-0.104-5.fc4.at.i386
perl-Crypt-OpenSSL-RSA-0.22-3.fc6.at.i386
libgcrypt-1.2.3-13.fc6.at.i386
libpth20-2.0.7-6.fc6.at.i386
gpgme-1.1.2-19.fc6.at.i386
4Suite-1.0-8.b1.i386
gnome-kerberos-0.3.3-2.i386
cyrus-imapd-murder-2.2.12-6.fc4.i386
rkhunter-1.2.8-2.fc4.noarch
libraw1394_8-1.2.0-1_7.fc4.at.i386
libOggFLAC3-1.1.2-25_11.fc4.at.i386
atrpms-67-2.at.noarch
libsrs_alt1-1.0-2_rc1.rhfc4.at.i386
libksba8-1.0.0-15.fc6.at.i386
yum-plugin-kmdl-0.2-3.fc6.at.noarch
DCC-1.3.42-15.fc6.at.i386
openssl-0.9.8b-8.0.1.fc6.i686
rhnlib-1.8-6.p24.1.noarch
gnu-crypto-jce-jdk1.4-2.0.1-1jpp_5fc.noarch
gtk-engines-0.12-7.i386
ckermit-8.0.211-3.FC4.i386
cyrus-imapd-devel-2.2.12-6.fc4.i386
libFLAC7-1.1.2-25_11.fc4.at.i386
libavc1394_0-0.5.1-0_8.fc4.at.i386
libgd2-2.0.33-2_11.rhfc4.at.i386
perl-XML-LibXML-1.58-5.fc4.at.i386
libao2-0.8.6-0_3.fc4.at.i386
libexif-0.6.13-2_3.fc4.at.i386
libvorbis-1.1.2-5.fc4.at.i386
perl-Mail-DomainKeys-0.21-2.fc6.at.noarch
pm-utils-0.19-3.1cubbi_suspend2.i386
libdvdread-0.9.7-1.lvn6.i386
gpm-1.20.1-81.fc6.i386
gpm-devel-1.20.1-81.fc6.i386
struts11-javadoc-1.1-1jpp_7fc.i386
cyrus-imapd-nntp-2.2.12-6.fc4.i386
nautilus-sendto-gaim-0.4-4.fc4.i386
libbeecrypt6-4.1.2-10.1_14.fc4.at.i386
libFLAC++5-1.1.2-25_11.fc4.at.i386
libghttp-1.0.9-11.i386
perl-Crypt-OpenSSL-Bignum-0.03-3.fc6.at.i386
libspf2_2-1.2.5-5.fc6.at.i386
redhat-menus-6.7.8-1.fc6.noarch
up2date-4.4.23-4.i386
librsvg2-2.9.5-2.i386
ImageMagick-debuginfo-6.2.2.0-3.fc4.2.i386
comps-4-0.20050606.i386
libOggFLAC++2-1.1.2-25_11.fc4.at.i386
libdv4-0.104-5.fc4.at.i386
beecrypt-4.1.2-10.1_14.fc4.at.i386
libgcrypt11-1.2.3-13.fc6.at.i386
libgpg-error-devel-1.4-9.fc6.at.i386
libgpgme-pthread11-1.1.2-19.fc6.at.i386
pth-2.0.7-6.fc6.at.i386
openssl-devel-0.9.8b-8.0.1.fc6.i386
avglinux-7.1-23_avi0672.i386
VMwareWorkstation-5.5.3-34685.i386
evolution-data-server-1.8.3-3.fc6.i386
struts11-1.1-1jpp_7fc.i386
perl-XML-Encoding-1.01-27.noarch
webmin-1.250-1.noarch
librpm4.4-4.4.2-15.2_60.fc4.at.i386
libogg-devel-1.1.3-7.fc4.at.i386
libvorbis-devel-1.1.2-5.fc4.at.i386
libogg-1.1.3-7.fc4.at.i386
libasound2-1.0.13-32.fc6.at.i386
libksba-1.0.0-15.fc6.at.i386
gjdoc-0.7.7-12.fc6.i386
MyODBC-2.50.39-25.FC4.1.i386
libvorbis0-1.1.2-5.fc4.at.i386
perl-HTTP-GHTTP-1.07-4.fc4.at.i386
perl-Sys-Hostname-Long-1.4-2.fc6.at.noarch
Numeric-23.8-5.fc6.at.i386
freshrpms-release-1.1-1.fc.noarch
firefox-debuginfo-1.0.8-1.1.fc4.i386
libgpg-error-1.4-9.fc6.at.i386
libgpgme11-1.1.2-19.fc6.at.i386
libgcrypt-devel-1.2.3-13.fc6.at.i386
lha-1.14i-19.i386
perl-Cyrus-2.2.12-6.fc4.i386
struts11-manual-1.1-1jpp_7fc.i386
libvorbisenc2-1.1.2-5.fc4.at.i386
exim-4.63-26.fc6.at.i386

Output from package-cleanup --problems
# package-cleanup --problems
Setting up yum
Setting up Package Sacks
Reading Local RPMDB
Reading local RPM database
Processing all local requires
Missing dependencies:
Package cyrus-imapd-nntp requires cyrus-imapd = 2.2.12-6.fc4
Package cyrus-imapd-nntp requires libcrypto.so.5
Package cyrus-imapd-nntp requires libssl.so.5
Package perl-Cyrus requires libcrypto.so.5
Package perl-Cyrus requires libssl.so.5
Package struts11 requires libgcj.so.6
Package cyrus-imapd-utils requires libcrypto.so.5
Package cyrus-imapd-utils requires libssl.so.5
Package librpm4.4 requires libneon.so.24
Package cyrus-imapd-murder requires cyrus-imapd = 2.2.12-6.fc4
Package cyrus-imapd-murder requires libcrypto.so.5
Package cyrus-imapd-murder requires libssl.so.5
Package nautilus-sendto-gaim requires nautilus-sendto = 0.4-4.fc4
Package cyrus-imapd-devel requires cyrus-imapd = 2.2.12-6.fc4
Package ckermit requires libcrypto.so.5
Package ckermit requires libssl.so.5
Package librsvg2 requires libgsf-1.so.1

Any ideas as to what I should do to remedy the situation.

Thanks again.

Last edited by lucktsm; 05-25-2007 at 11:53 AM.
 
Old 05-25-2007, 12:14 PM   #5
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Seeing atrpms on the orphans list tells me that you have 3rd party packages installed.

Code:
# yum list installed | grep .at | sort
Start by disabling all 3rd party repos except for livna in yum.conf and yum.repos.d followed by removing or downgrading all installed 3rd party packages. Easy to do if you “yum install yum-allowdowngrade” first.

Then after attempting an update, pick a conflicting package and run “yum list <package>”.

Once the conflicts are resolved, you can reinclude atrpms as a repo, which I personally think is a very bad idea. Try to “shop” for your 3rd party packages somewhere else that provides stable, compatible packages.
 
Old 05-25-2007, 12:17 PM   #6
lucktsm
Member
 
Registered: May 2004
Location: Atlanta, GA USA
Distribution: Redhat ES4, FC4, FC5, slax, ubuntu, knoppix
Posts: 155

Original Poster
Rep: Reputation: 30
Excellent, I will do that. I think that atrpms was part of my old repos from FC4. Thanks for the info, I am starting this process now.

Cheers.
 
Old 05-25-2007, 12:43 PM   #7
lucktsm
Member
 
Registered: May 2004
Location: Atlanta, GA USA
Distribution: Redhat ES4, FC4, FC5, slax, ubuntu, knoppix
Posts: 155

Original Poster
Rep: Reputation: 30
Good news! I fixed them all. WhatsHisName, thank you. I did what you said and removed the atrpms from my repos. Then did an rpm -e {for all FC4.at packages} --nodeps

Then just did this for each one of the problem packages. I guess now I should clean the database.

Thanks again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fc6 yum install/update problems markelo Fedora 19 01-24-2007 03:28 PM
FC6 - accidentally touched libpng, cairo complaining - how to fix? rylan76 Linux - Desktop 2 12-31-2006 03:59 AM
How to fix severe DNS latency on FC6 rylan76 Linux - Networking 1 12-23-2006 04:49 AM
I really hope they fix soundcard stuff in FC6...(RANT) ExoZagNoid Fedora 7 10-29-2006 09:33 PM
Bug fix update for 10.0 akihandyman Mandriva 3 07-14-2004 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration