Bug 1242496

Summary: dnf prefers Cinnamon to satisfy desktop-notification-daemon requirement
Product: [Fedora] Fedora Reporter: Dmitry Tantsur <dtantsur>
Component: bluemanAssignee: Wolfgang Ulbrich <raveit65.sun>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: fedora, jsilhan, leigh123linux, mluscon, packaging-team-maint, pnemade, raveit65.sun, rholy, tim.lauridsen, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mate-desktop-1.10.1-3.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-18 02:05:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dmitry Tantsur 2015-07-13 12:40:36 UTC
Description of problem:
blueman pulls in Cinnamon package on my Mate desktop. It seems to work fine under Mate though, not sure why this dependency.

Version-Release number of selected component (if applicable):
2.0-9.fc22

How reproducible:
always

Steps to Reproduce:
$ sudo dnf install blueman
Last metadata expiration check performed 0:00:10 ago on Mon Jul 13 14:38:54 2015.
Dependencies resolved.
==============================================================================================================================================================================================
 Package                                           Arch                                     Version                                           Repository                                 Size
==============================================================================================================================================================================================
Installing:
 blueman                                           x86_64                                   2.0-9.fc22                                        updates                                   1.9 M
 cinnamon                                          x86_64                                   2.6.7-3.fc22                                      updates                                   2.6 M
 nemo                                              x86_64                                   2.6.5-2.fc22                                      updates                                   934 k
 nemo-extensions                                   x86_64                                   2.6.5-2.fc22                                      updates                                   104 k
 notify-python                                     x86_64                                   0.1.1-28.fc22                                     fedora                                     38 k

Comment 1 leigh scott 2015-07-13 12:55:09 UTC
blueman doesn't require cinnamon

$ rpm -qp --requires blueman-2.0-9.fc22.x86_64.rpm
/bin/sh
/bin/sh
/bin/sh
/usr/bin/env
PolicyKit-authentication-agent
bluez >= 4.61
config(blueman) = 2.0-9.fc22
dbus
dbus-python
desktop-notification-daemon
libbluetooth.so.3()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libglib-2.0.so.0()(64bit)
libgobject-2.0.so.0()(64bit)
libgthread-2.0.so.0()(64bit)
libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
libpython2.7.so.1.0()(64bit)
notify-python
obexd
pulseaudio-libs-glib2
pulseaudio-module-bluetooth
pygobject3 >= 3.10
python(abi) = 2.7
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
rtld(GNU_HASH)


It might get dragged in by desktop-notification-daemon requires if something is blocking mate-notification-daemon

$ repoquery -q --whatprovides desktop-notification-daemon

Yum-utils package has been deprecated, use dnf instead.
See 'man yum2dnf' for more information.


notification-daemon-0:0.7.6-5.fc22.x86_64
xfce4-notifyd-0:0.2.4-6.fc22.x86_64
cinnamon-0:2.6.7-3.fc22.x86_64
mate-notification-daemon-0:1.10.0-1.fc22.x86_64
dunst-0:1.1.0-2.fc22.x86_64
gnome-shell-0:3.16.2-1.fc22.x86_64
kde-runtime-0:15.04.2-1.fc22.x86_64
cinnamon-0:2.4.8-1.fc22.x86_64
kde-runtime-0:15.04.0-1.fc22.x86_64
notification-daemon-0:3.16.1-1.fc22.x86_64
gnome-shell-0:3.16.3-1.fc22.x86_64



post/try

sudo dnf install blueman -x cinnamon

Comment 2 Dmitry Tantsur 2015-07-13 12:57:32 UTC
Yeah, it worked, thanks! Is it possible it will pull in mate-notification-daemon instead? Nothing is blocking it, I just successfully installed it.

Comment 3 Dmitry Tantsur 2015-07-13 13:13:01 UTC
*** Bug 1242494 has been marked as a duplicate of this bug. ***

Comment 4 Wolfgang Ulbrich 2015-07-13 13:14:56 UTC
Can you provide dnf history ?
1. dnf history
2. dnf history info <id>

Because is see that those packages were updated and not installed.

Installing:
 blueman                                           x86_64                                   2.0-9.fc22                                        updates                                   1.9 M
 cinnamon                                          x86_64                                   2.6.7-3.fc22                                      updates                                   2.6 M
 nemo                                              x86_64                                   2.6.5-2.fc22                                      updates                                   934 k
 nemo-extensions                                   x86_64

Comment 5 Radek Holy 2015-07-13 13:19:03 UTC
I think that it can be solved by weak dependencies. I think the package which turns a desktop into a "Mate desktop" can "recommend" or "suggest" mate-notification-daemon.

Comment 6 Dmitry Tantsur 2015-07-13 13:21:25 UTC
Note sure I got question about dnf history.. I was switching from cinnamon to mate and removing cinnamon caused system-config-printer and blueman to be removed.

Comment 7 Wolfgang Ulbrich 2015-07-13 13:35:50 UTC
(In reply to Radek Holy from comment #5)
> I think that it can be solved by weak dependencies. I think the package
> which turns a desktop into a "Mate desktop" can "recommend" or "suggest"
> mate-notification-daemon.

mate-notification-daemon provides a notification-daemon.
http://pkgs.fedoraproject.org/cgit/mate-notification-daemon.git/tree/mate-notification-daemon.spec?h=f22#n37

(In reply to Dmitry Tantsur from comment #6)
> Note sure I got question about dnf history.. I was switching from cinnamon
> to mate and removing cinnamon caused system-config-printer and blueman to be
> removed.

For me it look like that those packages were never removed after you switched to mate.
dnf history will tell us the truth.

Comment 8 Dmitry Tantsur 2015-07-13 13:39:16 UTC
I've installed and deleted them several times to be sure. If you don't believe me, please provide the exact command, dnf history is HUGE right now due to various package manipulations I did.

Comment 9 Radek Holy 2015-07-13 13:40:57 UTC
(In reply to Wolfgang Ulbrich from comment #7)
> (In reply to Radek Holy from comment #5)
> > I think that it can be solved by weak dependencies. I think the package
> > which turns a desktop into a "Mate desktop" can "recommend" or "suggest"
> > mate-notification-daemon.
> 
> mate-notification-daemon provides a notification-daemon.
> http://pkgs.fedoraproject.org/cgit/mate-notification-daemon.git/tree/mate-
> notification-daemon.spec?h=f22#n37

Sure. As well as cinnamon does. And you need to tell DNF that you prefer mate-notification-daemon over cinnamon somehow. That's how weak deps can help.

Comment 10 Dmitry Tantsur 2015-07-13 13:41:14 UTC
I've rechecked: http://fpaste.org/243810/

Comment 11 Wolfgang Ulbrich 2015-07-13 14:02:54 UTC
This becomes more and more weird, if i do the same as in the paste.
Sorry, german but it should be clear.

[root@mother rave]# dnf remove mate-notification-daemon
Abhängigkeiten sind aufgelöst.
================================================================================
 Paket                        Arch       Version              Paketquelle Größe
================================================================================
Entfernen:
 mate-notification-daemon     x86_64     1.10.0-12.fc22       @System     538 k

Transaktionsübersicht
================================================================================
Entfernen  1 Package

Installationsgröße: 538 k
Ist dies in Ordnung? [j/N] :n
Vorgang abgebrochen.

An blueman is installed here.
[root@mother rave]# rpm -qa blueman
blueman-2.0-9.fc22.x86_64

(In reply to Radek Holy from comment #9)
> (In reply to Wolfgang Ulbrich from comment #7)
> > (In reply to Radek Holy from comment #5)
> > > I think that it can be solved by weak dependencies. I think the package
> > > which turns a desktop into a "Mate desktop" can "recommend" or "suggest"
> > > mate-notification-daemon.
> > 
> > mate-notification-daemon provides a notification-daemon.
> > http://pkgs.fedoraproject.org/cgit/mate-notification-daemon.git/tree/mate-
> > notification-daemon.spec?h=f22#n37
> 
> Sure. As well as cinnamon does. And you need to tell DNF that you prefer
> mate-notification-daemon over cinnamon somehow. That's how weak deps can
> help.

How can i do that?

Comment 12 Wolfgang Ulbrich 2015-07-13 16:29:39 UTC
Ok, i will add mate-notification-daemon as requires to mate-desktop package, which is our main package, to be shure that m-n-d is installed in mate.
Having it in comps group seems not sufficient.
Also desktop-notification-daemon requires needs to be removed from blueman.
Every DE has desktop-notification-daemon as provides, so this must be save.

Comment 13 Fedora Update System 2015-07-13 17:09:20 UTC
mate-desktop-1.10.1-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/mate-desktop-1.10.1-2.fc22

Comment 14 Fedora Update System 2015-07-13 18:09:55 UTC
mate-desktop-1.10.1-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/mate-desktop-1.10.1-2.fc21

Comment 15 Fedora Update System 2015-07-14 15:44:24 UTC
Package mate-desktop-1.10.1-2.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mate-desktop-1.10.1-2.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-11587/mate-desktop-1.10.1-2.fc22
then log in and leave karma (feedback).

Comment 16 Fedora Update System 2015-07-16 17:51:53 UTC
blueman-2.0-10.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/blueman-2.0-10.fc22

Comment 17 Fedora Update System 2015-07-16 17:51:57 UTC
blueman-2.0-10.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/blueman-2.0-10.fc21

Comment 18 Fedora Update System 2015-07-18 02:05:48 UTC
mate-desktop-1.10.1-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2015-07-20 15:22:22 UTC
mate-desktop-1.10.1-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/mate-desktop-1.10.1-3.fc21

Comment 20 Fedora Update System 2015-07-20 15:22:31 UTC
mate-desktop-1.10.1-3.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/mate-desktop-1.10.1-3.fc22

Comment 21 Fedora Update System 2015-07-23 09:00:54 UTC
mate-desktop-1.10.1-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 22 Fedora Update System 2015-07-30 00:52:37 UTC
blueman-2.0-11.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 23 Fedora Update System 2015-08-08 01:10:45 UTC
blueman-2.0-11.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.