Bug 1175837 - Cannot update dbus pkgs because of conflicts
Summary: Cannot update dbus pkgs because of conflicts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dbus
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David King
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-18 17:13 UTC by Joachim Backes
Modified: 2015-01-01 08:55 UTC (History)
3 users (show)

Fixed In Version: dbus-1.8.12-3.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-29 09:56:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Joachim Backes 2014-12-18 17:13:22 UTC
Description of problem:
Running dnf or yum update, but ther dbus pkg update fails because of conflict:

Dependencies resolved.
================================================================================
 Package         Arch        Version                 Repository            Size
================================================================================
Installing:
 dbus            i686        1:1.8.12-2.fc21         updates-testing      361 k
 libcap-ng       i686        0.7.4-7.fc21            fedora                29 k
Upgrading:
 dbus            x86_64      1:1.8.12-2.fc21         updates-testing      351 k
 dbus-devel      i686        1:1.8.12-2.fc21         updates-testing       57 k
 dbus-devel      x86_64      1:1.8.12-2.fc21         updates-testing       57 k
 dbus-libs       i686        1:1.8.12-2.fc21         updates-testing      170 k
 dbus-libs       x86_64      1:1.8.12-2.fc21         updates-testing      167 k
 dbus-x11        x86_64      1:1.8.12-2.fc21         updates-testing       50 k

Transaction Summary
================================================================================
Install  2 Packages
Upgrade  6 Packages

Total size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] dbus-1.8.12-2.fc21.i686.rpm: Already downloaded                      
[SKIPPED] libcap-ng-0.7.4-7.fc21.i686.rpm: Already downloaded                  
[SKIPPED] dbus-1.8.12-2.fc21.x86_64.rpm: Already downloaded                    
[SKIPPED] dbus-libs-1.8.12-2.fc21.x86_64.rpm: Already downloaded               
[SKIPPED] dbus-x11-1.8.12-2.fc21.x86_64.rpm: Already downloaded                
[SKIPPED] dbus-devel-1.8.12-2.fc21.i686.rpm: Already downloaded                
[SKIPPED] dbus-devel-1.8.12-2.fc21.x86_64.rpm: Already downloaded              
[SKIPPED] dbus-libs-1.8.12-2.fc21.i686.rpm: Already downloaded                 
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction check error:
  file /etc/dbus-1/system.conf conflicts between attempted installs of dbus-1:1.8.12-2.fc21.i686 and dbus-1:1.8.12-2.fc21.x86_64

Error Summary
-------------


Version-Release number of selected component (if applicable):

dbus-python-1.2.0-7.fc21.x86_64
dbus-1.8.12-1.fc21.x86_64
dbus-libs-1.8.12-1.fc21.i686
dbus-x11-1.8.12-1.fc21.x86_64
dbusmenu-qt-0.9.2-8.fc21.x86_64
dbus-devel-1.8.12-1.fc21.i686
dbus-glib-0.100.2-4.fc21.i686
dbus-libs-1.8.12-1.fc21.x86_64
dbus-devel-1.8.12-1.fc21.x86_64
dbus-glib-0.100.2-4.fc21.x86_64

How reproducible:

always
Steps to Reproduce:
1.yum update or dnf update
2.
3.

Actual results:
see description

Expected results:


Additional info:

Comment 1 Fedora Update System 2014-12-18 18:27:31 UTC
dbus-1.8.12-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/dbus-1.8.12-3.fc21

Comment 2 Fedora Update System 2014-12-18 18:43:29 UTC
dbus-1.6.28-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/dbus-1.6.28-3.fc20

Comment 3 Joachim Backes 2014-12-19 09:37:19 UTC
I'm sorry, but this does not solve my problem: Downloading all needed dbus-1.8.12-3* packages from KOJI to some local dir:

ls -l
total 1276
-rw-rw-r-- 1 backes backes 368724 Dec 19 10:13 dbus-1.8.12-3.fc21.i686.rpm
-rw-rw-r-- 1 backes backes 358452 Dec 19 10:13 dbus-1.8.12-3.fc21.x86_64.rpm
-rw-rw-r-- 1 backes backes  57356 Dec 19 10:34 dbus-devel-1.8.12-3.fc21.i686.rpm
-rw-rw-r-- 1 backes backes  57336 Dec 19 10:34 dbus-devel-1.8.12-3.fc21.x86_64.rpm
-rw-rw-r-- 1 backes backes 173212 Dec 19 10:34 dbus-libs-1.8.12-3.fc21.i686.rpm
-rw-rw-r-- 1 backes backes 169744 Dec 19 10:34 dbus-libs-1.8.12-3.fc21.x86_64.rpm
-rw-rw-r-- 1 backes backes  50508 Dec 19 10:34 dbus-x11-1.8.12-3.fc21.i686.rpm
-rw-rw-r-- 1 backes backes  50636 Dec 19 10:34 dbus-x11-1.8.12-3.fc21.x86_64.rpm

Then

sudo yum update *
Loaded plugins: langpacks
Examining dbus-1.8.12-3.fc21.i686.rpm: 1:dbus-1.8.12-3.fc21.i686
Marking dbus-1.8.12-3.fc21.i686.rpm as an update to 1:dbus-1.8.12-1.fc21.x86_64
Examining dbus-1.8.12-3.fc21.x86_64.rpm: 1:dbus-1.8.12-3.fc21.x86_64
Marking dbus-1.8.12-3.fc21.x86_64.rpm as an update to 1:dbus-1.8.12-1.fc21.x86_64
Examining dbus-devel-1.8.12-3.fc21.i686.rpm: 1:dbus-devel-1.8.12-3.fc21.i686
Marking dbus-devel-1.8.12-3.fc21.i686.rpm as an update to 1:dbus-devel-1.8.12-1.fc21.x86_64
Marking dbus-devel-1.8.12-3.fc21.i686.rpm as an update to 1:dbus-devel-1.8.12-1.fc21.i686
Examining dbus-devel-1.8.12-3.fc21.x86_64.rpm: 1:dbus-devel-1.8.12-3.fc21.x86_64
Marking dbus-devel-1.8.12-3.fc21.x86_64.rpm as an update to 1:dbus-devel-1.8.12-1.fc21.x86_64
Marking dbus-devel-1.8.12-3.fc21.x86_64.rpm as an update to 1:dbus-devel-1.8.12-1.fc21.i686
Examining dbus-libs-1.8.12-3.fc21.i686.rpm: 1:dbus-libs-1.8.12-3.fc21.i686
Marking dbus-libs-1.8.12-3.fc21.i686.rpm as an update to 1:dbus-libs-1.8.12-1.fc21.x86_64
Marking dbus-libs-1.8.12-3.fc21.i686.rpm as an update to 1:dbus-libs-1.8.12-1.fc21.i686
Examining dbus-libs-1.8.12-3.fc21.x86_64.rpm: 1:dbus-libs-1.8.12-3.fc21.x86_64
Marking dbus-libs-1.8.12-3.fc21.x86_64.rpm as an update to 1:dbus-libs-1.8.12-1.fc21.x86_64
Marking dbus-libs-1.8.12-3.fc21.x86_64.rpm as an update to 1:dbus-libs-1.8.12-1.fc21.i686
Examining dbus-x11-1.8.12-3.fc21.i686.rpm: 1:dbus-x11-1.8.12-3.fc21.i686
Marking dbus-x11-1.8.12-3.fc21.i686.rpm as an update to 1:dbus-x11-1.8.12-1.fc21.x86_64
Examining dbus-x11-1.8.12-3.fc21.x86_64.rpm: 1:dbus-x11-1.8.12-3.fc21.x86_64
Marking dbus-x11-1.8.12-3.fc21.x86_64.rpm as an update to 1:dbus-x11-1.8.12-1.fc21.x86_64
Resolving Dependencies
--> Running transaction check
---> Package dbus.x86_64 1:1.8.12-1.fc21 will be updated
---> Package dbus.i686 1:1.8.12-3.fc21 will be an update
---> Package dbus.x86_64 1:1.8.12-3.fc21 will be an update
---> Package dbus-devel.i686 1:1.8.12-1.fc21 will be updated
---> Package dbus-devel.x86_64 1:1.8.12-1.fc21 will be updated
---> Package dbus-devel.i686 1:1.8.12-3.fc21 will be an update
---> Package dbus-devel.x86_64 1:1.8.12-3.fc21 will be an update
---> Package dbus-libs.i686 1:1.8.12-1.fc21 will be updated
---> Package dbus-libs.x86_64 1:1.8.12-1.fc21 will be updated
---> Package dbus-libs.i686 1:1.8.12-3.fc21 will be an update
---> Package dbus-libs.x86_64 1:1.8.12-3.fc21 will be an update
---> Package dbus-x11.x86_64 1:1.8.12-1.fc21 will be updated
---> Package dbus-x11.i686 1:1.8.12-3.fc21 will be an update
---> Package dbus-x11.x86_64 1:1.8.12-3.fc21 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================
 Package                      Arch                     Version                             Repository                                          Size
====================================================================================================================================================
Updating:
 dbus                         i686                     1:1.8.12-3.fc21                     /dbus-1.8.12-3.fc21.i686                           1.0 M
 dbus                         x86_64                   1:1.8.12-3.fc21                     /dbus-1.8.12-3.fc21.x86_64                         954 k
 dbus-devel                   i686                     1:1.8.12-3.fc21                     /dbus-devel-1.8.12-3.fc21.i686                     115 k
 dbus-devel                   x86_64                   1:1.8.12-3.fc21                     /dbus-devel-1.8.12-3.fc21.x86_64                   115 k
 dbus-libs                    i686                     1:1.8.12-3.fc21                     /dbus-libs-1.8.12-3.fc21.i686                      344 k
 dbus-libs                    x86_64                   1:1.8.12-3.fc21                     /dbus-libs-1.8.12-3.fc21.x86_64                    328 k
 dbus-x11                     i686                     1:1.8.12-3.fc21                     /dbus-x11-1.8.12-3.fc21.i686                        31 k
 dbus-x11                     x86_64                   1:1.8.12-3.fc21                     /dbus-x11-1.8.12-3.fc21.x86_64                      31 k

Transaction Summary
====================================================================================================================================================
Upgrade  8 Packages

Total size: 2.8 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test


Transaction check error:
  file /etc/dbus-1/system.conf conflicts between attempted installs of dbus-1:1.8.12-3.fc21.i686 and dbus-1:1.8.12-3.fc21.x86_64

Error Summary
-------------

Comment 4 David King 2014-12-19 10:12:52 UTC
You should not be able to install the dbus package for two architectures simultaneously, as /etc/dbus-1/system.conf conflicts, so the error reported by yum is correct, and also in the case of -1 release of the packages. The standard behaviour of "yum update" is to update (and install) every package given, including the ones which are not currently installed. Remove the i686 dbus and dbus-x11 .rpm files and try again.

Comment 5 Joachim Backes 2014-12-19 10:28:29 UTC
(In reply to David King from comment #4)
> You should not be able to install the dbus package for two architectures
> simultaneously, as /etc/dbus-1/system.conf conflicts, so the error reported
> by yum is correct, and also in the case of -1 release of the packages. The
> standard behaviour of "yum update" is to update (and install) every package
> given, including the ones which are not currently installed. Remove the i686
> dbus and dbus-x11 .rpm files and try again.

Hi David,

Both on my F20 and my F21 box, the x86_64 and the i686 variant of dbus packages are installed, und I'm sure I did not explicetly install both arch's.

So how to resolve this conflict? trying to remove the dbus* i686 pkgs will remove a (huge) lot of other i686 pkgs depending on the i686 variant of dbus on my box :-(

Regards

Joachim Backes

Comment 6 David King 2014-12-19 12:59:38 UTC
With the -3 update, the dependencies of the subpackages on the dbus package are the same as those in the -1 package, so this conflict is not caused by the update.

The problem is that you are telling rpm (or yum, dnf and so on) explicitly to install conflicting packages, as you have downloaded the rpm files from Koji directly (which roughly corresponds to the latest repositories described at https://fedoraproject.org/wiki/Repositories#The_latest_repositories). When you say that you have both the i686 and x86_64 versions of dbus installed, the files in the filesystem are only provided by the x86_64 package. Multilib support in the package manager means that both i686 and x86_64 packages can be installed simultaneously, with the files from the preferred architecture being the ones that end up in the filesystem.

If you want to test the update, you should wait until it enters updates-testing, and install it from there (after mash has been run to handle multilib issues such as this).

Comment 7 Joachim Backes 2014-12-19 13:06:46 UTC
(In reply to David King from comment #6)
> With the -3 update, the dependencies of the subpackages on the dbus package
> are the same as those in the -1 package, so this conflict is not caused by
> the update.
> 
> The problem is that you are telling rpm (or yum, dnf and so on) explicitly
> to install conflicting packages, as you have downloaded the rpm files from
> Koji directly (which roughly corresponds to the latest repositories
> described at
> https://fedoraproject.org/wiki/Repositories#The_latest_repositories). When
> you say that you have both the i686 and x86_64 versions of dbus installed,
> the files in the filesystem are only provided by the x86_64 package.
> Multilib support in the package manager means that both i686 and x86_64
> packages can be installed simultaneously, with the files from the preferred
> architecture being the ones that end up in the filesystem.
> 
> If you want to test the update, you should wait until it enters
> updates-testing, and install it from there (after mash has been run to
> handle multilib issues such as this).

Even without downloading some rpm, I always get the error message


Error: Transaction check error:
  file /etc/dbus-1/system.conf conflicts between attempted installs of dbus-1:1.8.12-2.fc21.i686 and dbus-1:1.8.12-2.fc21.x86_64


if running a pure "yum update" or "dnf update" without parameters.

Comment 8 David King 2014-12-19 13:26:26 UTC
The -3 update has not yet entered updates-testing (or rather, today's sync to mirrors has not yet occurred), so please wait until then and test again.

The i686 version of the dbus package (dbus-1:1.8.12-1.fc21.i686) is not in the updates repository (you can check at http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/updates/21/x86_64/d/ or another mirror), so if you have that package installed, then it probably did not go through the mash process, and you should uninstall it, or wait until the -3 update is in updates-testing.

Comment 9 Fedora Update System 2014-12-19 18:27:25 UTC
Package dbus-1.8.12-3.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dbus-1.8.12-3.fc21'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-17240/dbus-1.8.12-3.fc21
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2014-12-29 09:56:25 UTC
dbus-1.6.28-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2015-01-01 08:55:07 UTC
dbus-1.8.12-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.