You are not logged in.

#1 2006-01-31 14:18:36

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Avahi conflicts with nss-mdns. [solved]

I'm confused.  Went to update today, and got this message:

:: avahi conflicts with nss-mdns. Remove nss-mdns? [Y/n]

I thought 'Fair enough...' but I always check packages like this with -Si to know what's actually happening in my system.  Soo, I run:

$ pacman -Si avahi
Repository        : extra
Name              : avahi
Version           : 0.6.6-2
Groups            : None
Provides          : howl mdnsresponder 
Depends On        : dbus libcap libdaemon nss-mdns 
Conflicts With    : howl mdnsresponder 
Replaces          : None
Size (compressed) : 557952
Description       : A multicast/unicast DNS-SD framework
MD5 Sum           : 52ec5424dde107d8099637feb3076925

Now, this is why I'm confused.  -Si tells me avahi depends on nss-mdns.  When I try to install, it tells me they conflict.
So.... which is right?

-=edit=-
Okay, I've found something else out that may be pertinent.  Currently, the packages I have for avahi and nss-mdns depend on each other.  That is:

$pacman -Si nss-mdns avahi
Name           : nss-mdns
Version        : 0.7-3
Depends On     : avahi 
Required By    : avahi kdelibs 

Name           : avahi
Version        : 0.6.5-1
Depends On     : dbus libcap libdaemon nss-mdns 
Required By    : nss-mdns 

However there are new packages for both avahi and nss-mdns available in the repos. (0.7-4 and 6.6-2 respectively)
The thing is, pacman isn't picking up the new nss-mdns package with a -Syu operation, and gives me that conflicts line... I'm going to try updating nss-mdns first then see if that fixes it.

-=edit again=-
Geez, I hate it when I post something and moments later figure it out myself.  The newest versions of nss-mdns and avahi break the dependancy cycle I noted above; that is, nss-mdns no longer depends on avahi.  If I manually updated nss-mdns first, pacman now installs avahi with no problem.

I'm wondering, is this worth a bug report?  I'm not surprised a cyclic dependancy like that would cause wierd behaviour...

Offline

#2 2006-01-31 15:49:29

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: Avahi conflicts with nss-mdns. [solved]

the same thing just happened to me. i think it's worth a mention.

Offline

#3 2006-01-31 17:00:14

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Avahi conflicts with nss-mdns. [solved]

Added comment to this bug report:
http://bugs.archlinux.org/task/3866

Offline

#4 2006-01-31 18:08:36

murkus
Member
From: Europe/Helsinki
Registered: 2004-03-19
Posts: 254

Re: Avahi conflicts with nss-mdns. [solved]

I tried to upgrade nss-mdns with pacman -Sy nns-mdns and then to run pacman -Su. I got following error

error: avahi conflicts with mdnsresponder

Offline

#5 2006-01-31 18:18:41

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Avahi conflicts with nss-mdns. [solved]

murkus wrote:

snip

 $ pacman -Si avahi
Repository        : extra
Name              : avahi
Version           : 0.6.6-2
Provides          : howl mdnsresponder 
Depends On        : dbus libcap libdaemon nss-mdns 
Conflicts With    : howl mdnsresponder 

You get that error because they DO conflict.  Do you have mdnsresponder installed?
If so, and you want avahi, then you'll have to remove mdnsresponder and install avahi.

Offline

#6 2006-01-31 21:09:48

@leX
Member
From: Israel
Registered: 2003-11-06
Posts: 76

Re: Avahi conflicts with nss-mdns. [solved]

[root@~]# pacman -R avahi
error: this will break the following dependencies:
  avahi: is required by gnome-vfs
  avahi: is required by nss-mdns

[root@~]# pacman -R nss-mdns
error: this will break the following dependencies:
  nss-mdns: is required by avahi
  nss-mdns: is required by kdelibs

Offline

#7 2006-01-31 21:21:26

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Avahi conflicts with nss-mdns. [solved]

leX: Nobody said to remove avahi or nss-mdns - the conflict problem is because of a previous cyclical dependancy between those two packages.

If you want to fix the conflict, simply run:

pacman -S nss-mdns
pacman -Syu

And it's good.

Offline

#8 2006-01-31 22:02:39

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

Re: Avahi conflicts with nss-mdns. [solved]

thanks, that was it. works great for me! wink


sorry for my bad english smile

Offline

#9 2006-02-01 17:49:27

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: Avahi conflicts with nss-mdns. [solved]

Had the same problem here. I ended doing what was mentioned above
before running across this thread. I should have checked the forum
first, but I got lucky. Thanks for the heads up!


-- archlinux 是一个极好的 linux

Offline

#10 2006-02-10 16:47:00

matersci
Member
From: Hellas
Registered: 2006-01-19
Posts: 167

Re: Avahi conflicts with nss-mdns. [solved]

Had the same problem, but now ok.
Thanks

Offline

Board footer

Powered by FluxBB