Bug 224233
Summary: | elfutils-libs conflicts with elfutils > 0.123-1.fc6 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Peter Ennis <peterennis> | ||||
Component: | rpm | Assignee: | Paul Nasrat <nobody+pnasrat> | ||||
Status: | CLOSED WORKSFORME | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6 | CC: | drepper | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-08-09 19:10:36 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Peter Ennis
2007-01-24 18:43:16 UTC
Please show the output of "rpm -qa | grep elfutils" before the update attempt, and include the complete and precise error output from yum. [Philip@fc6 ~]$ sudo rpm -qa | grep elfutils Password: elfutils-libs-0.125-1.fc6 elfutils-libelf-0.123-1.fc6 elfutils-libs-0.123-1.fc6 elfutils-0.123-1.fc6 elfutils-libelf-devel-0.123-1.fc6 elfutils-libelf-0.125-1.fc6 [Philip@fc6 ~]$ [Philip@fc6 ~]$ su - Password: [root@fc6 ~]# yum update Loading "installonlyn" plugin Setting up Update Process Setting up repositories livna 100% |=========================| 1.1 kB 00:00 core 100% |=========================| 1.1 kB 00:00 updates 100% |=========================| 1.2 kB 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 108 kB 00:00 livna : ################################################## 338/338 Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package elfutils-libelf-devel.i386 0:0.125-1.fc6 set to be updated ---> Package elfutils.i386 0:0.125-1.fc6 set to be updated --> Running transaction check --> Processing Conflict: elfutils-libelf conflicts elfutils-libelf-devel > 0.123-1.fc6 --> Processing Conflict: elfutils-libelf conflicts elfutils > 0.123-1.fc6 --> Processing Dependency: elfutils-libelf-devel-static = 0.125-1.fc6 for package: elfutils-libelf-devel --> Processing Conflict: elfutils-libs conflicts elfutils > 0.123-1.fc6 --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package elfutils-libelf-devel-static.i386 0:0.125-1.fc6 set to be updated --> Running transaction check --> Processing Conflict: elfutils-libelf conflicts elfutils-libelf-devel > 0.123-1.fc6 --> Processing Conflict: elfutils-libelf conflicts elfutils > 0.123-1.fc6 --> Processing Conflict: elfutils-libs conflicts elfutils > 0.123-1.fc6 --> Finished Dependency Resolution Error: elfutils-libelf conflicts with elfutils-libelf-devel > 0.123-1.fc6 Error: elfutils-libelf conflicts with elfutils > 0.123-1.fc6 Error: elfutils-libs conflicts with elfutils > 0.123-1.fc6 [root@fc6 ~]# I don't understand how you managed to get two versions of elfutils-libs and elfutils-libelf installed, as your rpm -qa output shows. That is obviously not the original situation that existed before you first tried any upgrades, since 0.125-1.fc6 did not exist in the past. It must be a yum problem. To debug it now, you will have to restore your actual status quo ante, which was presumably all the 0.124-1.fc6 packages installed and no 0.125-1.fc6 packages installed. Then from that fresh state, show what yum does. This is certainly the old problem with FC5 or the default FC6 (forgot which one) have both elfutils.x86_64 and elfutils.386 installed. Your rpm format is does not provide enough information. I guess you just have to remove the elfutils.i386 by hand. This is no bug in elfutils. Perhaps in the list of installed packages or rpm. In any case of no importance anymore, it's a one time thing. The original report gave uname output for i686, so I assumed that there were no non-i386 rpms installed. If you have multiple arch's of the same rpm installed, that is indeed a well-known general problem with yum/rpm/fedora-repositories and I don't know what the story on it is exactly. Use "rpm -qa --qf '%{N}-%{V}-%{R}.%{ARCH}\n' | grep elfutils" to be sure. [root@fc6 ~]# uname -a Linux fc6.adaept.com 2.6.19-1.2895.fc6 #1 SMP Wed Jan 10 18:32:37 EST 2007 i686 i686 i386 GNU/Linux [root@fc6 ~]# [root@fc6 ~]# rpm -qa --qf '%{N}-%{V}-%{R}.%{ARCH}\n' | grep elfutils elfutils-libs-0.125-1.fc6.i386 elfutils-libelf-0.123-1.fc6.i386 elfutils-libs-0.123-1.fc6.i386 elfutils-0.123-1.fc6.i386 elfutils-libelf-devel-0.123-1.fc6.i386 elfutils-libelf-0.125-1.fc6.i386 [root@fc6 ~]# So what is the magic incantation to clean it up and verify correct behaviour? What to keep and what to remove? Multiple versions for the same architecture means rpm screwed up. This has nothing to do with elfutils itself. rpm -e with the full package name should clean it up but I'll let the rpm people comment on it. Do rpm -e --allmatches elfutils-libs and reinstall. FWIW, conflicts in packaging are best avoided. On upgrade all old versions are erased, its the conflict, not the multiple versions installed, that is triggering this bug report. Created attachment 146991 [details]
fix for yum update of elf-utils
WORKSFORME Yeah, WORKSFORME or something, there's not much rpm can do here. Failing package scriptlets will leave duplicate versions around, those will need manual cleaning anyway. |