You are not logged in.

#1 2021-03-19 08:08:49

B7H7D7
Member
Registered: 2018-01-19
Posts: 25

[SOLVED] dbus-python and python2-dbus are in conflict

Hi all,
Since yesterday I experience the following upgrade issue :

# pacman -Syu
  :: Synchronizing package databases...
   core is up to date
   extra is up to date
   community is up to date
   home_bekun_devel_Arch_Extra is up to date
   multilib is up to date
  :: Starting full system upgrade...
  :: Replace python-dbus with extra/dbus-python? [Y/n] Y
  :: Replace python-dbus-common with extra/dbus-python? [Y/n] Y
  warning: xcalib: local (0.10-5) is newer than community (0.10-3)
  resolving dependencies...
  looking for conflicting packages...
  :: dbus-python and python2-dbus are in conflict. Remove python2-dbus? [y/N] N
  error: unresolvable package conflicts detected
  error: failed to prepare transaction (conflicting dependencies)
  :: dbus-python and python2-dbus are in conflict

If I give to questions the proposed answers : 'Y', 'Y' then 'N', the upgrade breaks. To overcome this issue I must answer 'n' to the first two questions.
Do you have some advice ?

Last edited by B7H7D7 (2021-03-19 10:03:15)

Offline

#2 2021-03-19 08:14:01

Skunky
Member
Registered: 2018-01-25
Posts: 230

Re: [SOLVED] dbus-python and python2-dbus are in conflict

You must replace python2-dbus so you should answer Yes if you want to update..

Last edited by Skunky (2021-03-19 08:15:02)

Offline

#3 2021-03-19 08:41:54

B7H7D7
Member
Registered: 2018-01-19
Posts: 25

Re: [SOLVED] dbus-python and python2-dbus are in conflict

Tanks for your answer. I have followed your recommendation. Then :

:: Starting full system upgrade...
:: Replace python-dbus with extra/dbus-python? [Y/n] Y
:: Replace python-dbus-common with extra/dbus-python? [Y/n] Y
warning: xcalib: local (0.10-5) is newer than community (0.10-3)
resolving dependencies...
looking for conflicting packages...
:: dbus-python and python2-dbus are in conflict. Remove python2-dbus? [y/N] Y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing python2-dbus breaks dependency 'python2-dbus' required by key-mon
:: removing python2-dbus breaks dependency 'python2-dbus' required by wicd

I could probably suppress key-mon (useful in some situations) but I am not sure for wicd (although it is disabled on my system according systemctl).
Other suggestions ?

Offline

#4 2021-03-19 09:13:21

B7H7D7
Member
Registered: 2018-01-19
Posts: 25

Re: [SOLVED] dbus-python and python2-dbus are in conflict

I removed key-mon and wicd then can upgrade.
Thanks.

Offline

#5 2021-03-20 09:21:04

tangram
Member
From: 3City, Poland
Registered: 2013-01-21
Posts: 55

Re: [SOLVED] dbus-python and python2-dbus are in conflict

The same happened to me. Answer to third question (Remove python2-dbus ?) should be Y.
Fortunately I didn't have to remove any dependencies thus upgrade run smoothly.
Thanks B7H7D7.

Offline

Board footer

Powered by FluxBB