Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

how do i correct this avahi and dnsresponder block each othe

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
34 posts
  • 1
  • 2
  • Next
Author
Message
padoor
Advocate
Advocate
User avatar
Posts: 4185
Joined: Fri Dec 30, 2005 1:43 am
Location: india

how do i correct this avahi and dnsresponder block each othe

  • Quote

Post by padoor » Fri Oct 17, 2008 3:16 am

Code: Select all

thon/gnome-keyring-python-2.22.0, dev-python/libwnck-python-2.22.0, dev-python/metacity-python-2.22.0, dev-python/evolution-python-2.22.0, dev-python/gnome-applets-python-2.22.0, dev-python/gnome-desktop-python-2.22.0, dev-python/libgtop-python-2.22.0, dev-python/gnome-media-python-2.22.0, dev-python/librsvg-python-2.22.0, dev-python/totem-python-2.22.0, dev-python/libgnomeprint-python-2.22.0)
[ebuild     U ] gnome-base/gnome-2.22.3 [2.22.0] USE="cdr cups -accessibility -dvdr -esd -ldap -mono" 0 kB
[blocks B     ] net-misc/mDNSResponder ("net-misc/mDNSResponder" is blocking net-dns/avahi-0.6.22-r1)

Total: 312 packages (143 upgrades, 125 new, 44 in new slots), Size of downloads: 402,284 kB
Conflict: 4 blocks (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system
i have neither of them installed.
i have even unmerged kde-misc/kdnssd-avahi

tried masking both in package.mask
still the same block is holding my updates.
what has to be done?
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Top
feiticeir0
Apprentice
Apprentice
User avatar
Posts: 288
Joined: Wed Jul 13, 2005 8:31 am
Location: Castelo Branco, Portugal

  • Quote

Post by feiticeir0 » Fri Oct 17, 2008 11:47 am

Hi padoor

You must unmerge one of them. Try to unmerge mDNSResponder and try again.

Code: Select all

emerge -C mDNSResponder
Read about that in the gentoo documentation
Do It With Rhythm
Top
energyman76b
Advocate
Advocate
User avatar
Posts: 2048
Joined: Wed Mar 26, 2003 11:31 am
Location: Germany

  • Quote

Post by energyman76b » Fri Oct 17, 2008 12:55 pm

unmerge mdnsresponder
set avahi flag
emerge avahi
use --newuse
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Top
padoor
Advocate
Advocate
User avatar
Posts: 4185
Joined: Fri Dec 30, 2005 1:43 am
Location: india

  • Quote

Post by padoor » Sat Oct 18, 2008 2:28 am

Code: Select all

tux1 ~ # equery depends avahi
[ Searching for packages depending on avahi... ]
app-crypt/seahorse-2.22.1 (avahi? >=net-dns/avahi-0.6)
gnome-base/gnome-vfs-2.24.0 (avahi? >=net-dns/avahi-0.6)
gnome-base/gvfs-1.0.1 (avahi? >=net-dns/avahi-0.6)
kde-base/kdelibs-4.1.2-r1 (zeroconf? net-dns/avahi[mdnsresponder-compat])
media-video/vlc-0.9.0_beta1 (avahi? >=net-dns/avahi-0.6)
net-misc/ntp-4.2.4_p4 (zeroconf? net-dns/avahi)
net-misc/vinagre-0.5.1 (avahi? >=net-dns/avahi-0.6.18)
net-misc/vino-2.22.1 (avahi? >=net-dns/avahi-0.6)
net-print/cups-1.3.7-r1 (avahi? net-dns/avahi)
www-client/epiphany-2.22.1.1 (avahi? >=net-dns/avahi-0.6.22)
tux1 ~ # emerge -C net-misc/mDNSResponder

--- Couldn't find 'net-misc/mDNSResponder' to unmerge.

>>> No packages selected for removal by unmerge
tux1 ~ # emerge -C net-dns/avahi-0.6.22-r1

--- Couldn't find 'net-dns/avahi-0.6.22-r1' to unmerge.

>>> No packages selected for removal by unmerge
tux1 ~ #
tux1 ~ # emerge -C net-dns/avahi

--- Couldn't find 'net-dns/avahi' to unmerge.

>>> No packages selected for removal by unmerge
tux1 ~ #

so that goes out because no such packages installed.
i am going try -avahi in make.conf
anyway kdelibs is dnsrespoder compatible.
any problems expected afterwards?
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Top
feiticeir0
Apprentice
Apprentice
User avatar
Posts: 288
Joined: Wed Jul 13, 2005 8:31 am
Location: Castelo Branco, Portugal

  • Quote

Post by feiticeir0 » Sat Oct 18, 2008 8:56 am

Hi. That is a very strange problem...

Anyway, and i assume you are using KDE, you shouldn't have any problem. I use KDE with -avahi use flag and everything works fine.

Cheers
Do It With Rhythm
Top
padoor
Advocate
Advocate
User avatar
Posts: 4185
Joined: Fri Dec 30, 2005 1:43 am
Location: india

  • Quote

Post by padoor » Sat Oct 18, 2008 5:20 pm

so far it has been working with emerge packages updates.
in the middle it asked to run revdep-rebuild and it is a mess.
most packages shouts for avahi .
i will see about that after getting the system uptodate.
i emerged dnsresponder.
the kde works even without any of the avahi or dnsresponder, net connection and browsing i mean.

after xorgserver 1.5.2 my X does not work correctly.i get 800x600 mode only and lower.
i will try with xorg.conf and get back. :(
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Top
Autie
Guru
Guru
User avatar
Posts: 309
Joined: Fri Jul 25, 2003 11:13 pm
Location: Ledegem - Belgium
Contact:
Contact Autie
Website

  • Quote

Post by Autie » Tue Oct 21, 2008 8:44 pm

same here:

Code: Select all

emerge --update --newuse --deep world -vp

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] net-dns/avahi-0.6.23  USE="dbus gdbm gtk ipv6 mono python qt3 qt4 -autoipd -bookmarks -doc -howl-compat -mdnsresponder-compat -test" 0 kB
[blocks B     ] net-misc/mDNSResponder ("net-misc/mDNSResponder" is blocking net-dns/avahi-0.6.23)
[blocks B     ] net-dns/avahi ("net-dns/avahi" is blocking net-misc/mDNSResponder-107.6-r5)

Total: 1 package (1 new), Size of downloads: 0 kB
Conflict: 2 blocks (2 unsatisfied)
The capacity to learn is a gift; The ability to learn is a skill; The willingness to learn is a choice.
Top
Autie
Guru
Guru
User avatar
Posts: 309
Joined: Fri Jul 25, 2003 11:13 pm
Location: Ledegem - Belgium
Contact:
Contact Autie
Website

  • Quote

Post by Autie » Tue Oct 21, 2008 9:58 pm

I blame gnome for this:
Gnome wants net-misc/vinagre and vinagre wants avahi.
The capacity to learn is a gift; The ability to learn is a skill; The willingness to learn is a choice.
Top
energyman76b
Advocate
Advocate
User avatar
Posts: 2048
Joined: Wed Mar 26, 2003 11:31 am
Location: Germany

  • Quote

Post by energyman76b » Tue Oct 21, 2008 10:06 pm

so what? set avahi useflag, remove mdnsresponder and everything will be fine
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Top
Autie
Guru
Guru
User avatar
Posts: 309
Joined: Fri Jul 25, 2003 11:13 pm
Location: Ledegem - Belgium
Contact:
Contact Autie
Website

  • Quote

Post by Autie » Tue Oct 21, 2008 10:26 pm

nope, nothing just fine.
mDNSResponder still wants to install.
The capacity to learn is a gift; The ability to learn is a skill; The willingness to learn is a choice.
Top
cyrillic
Watchman
Watchman
User avatar
Posts: 7311
Joined: Wed Feb 19, 2003 3:05 am
Location: Groton, Massachusetts USA

  • Quote

Post by cyrillic » Tue Oct 21, 2008 11:11 pm

Autie wrote:nope, nothing just fine.
mDNSResponder still wants to install.
If you mask mDNSResponder, then emerge will tell you what package is trying to pull it in as a dependency.
Top
Autie
Guru
Guru
User avatar
Posts: 309
Joined: Fri Jul 25, 2003 11:13 pm
Location: Ledegem - Belgium
Contact:
Contact Autie
Website

  • Quote

Post by Autie » Tue Oct 21, 2008 11:27 pm

Well, just found how to dot it.
Ive add USEflag avahi and mdnsresponder-compat.
That does the trick.
Thanks for the responses :)
The capacity to learn is a gift; The ability to learn is a skill; The willingness to learn is a choice.
Top
harvester
Tux's lil' helper
Tux's lil' helper
Posts: 123
Joined: Sat Jan 21, 2006 10:41 pm

  • Quote

Post by harvester » Thu Oct 23, 2008 9:25 pm

I tried that but its not working

Code: Select all

# emerge -uDNpv world |grep avahi
[ebuild  N    ] net-dns/avahi-0.6.23  USE="dbus gdbm mdnsresponder-compat python -autoipd -bookmarks -doc -gtk -howl-compat -ipv6 -mono -qt3 -qt4 -test" 0 kB
[ebuild     U ] net-misc/vino-2.24.1 [2.22.2] USE="crypt jpeg zlib -avahi -debug -gnome-keyring -gnutls -ipv6 -libnotify" 659 kB
[ebuild     U ] net-misc/vinagre-2.24.1 [0.5.1] USE="-debug -test (-avahi%)" 1,331 kB
[ebuild     U ] www-client/epiphany-2.24.1-r10 [2.24.0.1] USE="python -avahi -debug -doc -networkmanager -spell" 5,562 kB
[blocks B     ] net-dns/avahi ("net-dns/avahi" is blocking net-misc/mDNSResponder-107.6-r5)
[blocks B     ] net-misc/mDNSResponder ("net-misc/mDNSResponder" is blocking net-dns/avahi-0.6.23)

Edit : fixed it by masking net-misc/vinagre-2.24.1
Top
Autie
Guru
Guru
User avatar
Posts: 309
Joined: Fri Jul 25, 2003 11:13 pm
Location: Ledegem - Belgium
Contact:
Contact Autie
Website

  • Quote

Post by Autie » Thu Oct 23, 2008 10:34 pm

set useflag avahi, still on -avahi:

Code: Select all

[ebuild     U ] net-misc/vino-2.24.1 [2.22.2] USE="crypt jpeg zlib -avahi -debug -gnome-keyring -gnutls -ipv6 -libnotify" 659 kB 
The capacity to learn is a gift; The ability to learn is a skill; The willingness to learn is a choice.
Top
thom_raindog
Guru
Guru
User avatar
Posts: 400
Joined: Fri May 16, 2008 6:25 am

  • Quote

Post by thom_raindog » Mon Oct 27, 2008 2:22 pm

..and here is the newbie question of the day..
What does avahi do? What about mdnsresponder?
I would like to make up my mind about how to fix this based on that knowledge :)
Top
thom_raindog
Guru
Guru
User avatar
Posts: 400
Joined: Fri May 16, 2008 6:25 am

  • Quote

Post by thom_raindog » Tue Oct 28, 2008 6:08 am

Ok, I am not happy.
I added avahi and mdnsresponder-compat to my use flags.
I masked mdnsresponder and vinagre...
STILL mdnsresponder wants to be installed, it does not even complain about bein masked...
Top
thom_raindog
Guru
Guru
User avatar
Posts: 400
Joined: Fri May 16, 2008 6:25 am

  • Quote

Post by thom_raindog » Tue Oct 28, 2008 9:28 pm

Really noone?
Top
Autie
Guru
Guru
User avatar
Posts: 309
Joined: Fri Jul 25, 2003 11:13 pm
Location: Ledegem - Belgium
Contact:
Contact Autie
Website

  • Quote

Post by Autie » Tue Oct 28, 2008 10:04 pm

what gives:
equery d mdnsresponder
The capacity to learn is a gift; The ability to learn is a skill; The willingness to learn is a choice.
Top
thom_raindog
Guru
Guru
User avatar
Posts: 400
Joined: Fri May 16, 2008 6:25 am

  • Quote

Post by thom_raindog » Tue Oct 28, 2008 10:57 pm

Thank you for helping.

I get:

Code: Select all

kde-base/kdelibs-3.5.9-r4 (!avahi & !bindist? net-misc/mDNSResponder)
net-print/cups-1.3.8-r2 (zeroconf & !avahi? net-misc/mDNSResponder)
Not exactly sure how to read that...
kdelibs and cups depend on mDNSResponder? What does the stuff about avahi and zeroconf in brackets mean? !avahi seems to imply (REALLY just guessing here) that you can NOT have avahi and mdnsresponder at the same time? That would mean I would need to get rid of my avahi flags..

I use KDE, by the way, should that make a difference :)
Top
Autie
Guru
Guru
User avatar
Posts: 309
Joined: Fri Jul 25, 2003 11:13 pm
Location: Ledegem - Belgium
Contact:
Contact Autie
Website

  • Quote

Post by Autie » Tue Oct 28, 2008 11:16 pm

Indeed, as far as i understand, both does the same thing, so, you (we) have to make a choice.
the zeroconf USE-flag gives for explanation this: Support for DNS Service Discovery (DNS-SD)
Also not sure what this is all about.
I thought zeroconf was for giving a fake IP when you don't get one, like 169.254.x.x
So, if i was you, i would remove USE-flag zeroconf and bindist and add USE-flag avahi in /etc/make.conf.
Next:

Code: Select all

emerge -C net-misc/mDNSResponder
emerge cups kdelibs
emerge -uDN @system @world
Hope this works for you.
The capacity to learn is a gift; The ability to learn is a skill; The willingness to learn is a choice.
Top
thom_raindog
Guru
Guru
User avatar
Posts: 400
Joined: Fri May 16, 2008 6:25 am

  • Quote

Post by thom_raindog » Wed Oct 29, 2008 6:15 am

No. Same thing happening, the same block. mDNSResponder is not installed, so trying to clean it does nothing, by the way..
This is frustrating...
Top
thom_raindog
Guru
Guru
User avatar
Posts: 400
Joined: Fri May 16, 2008 6:25 am

  • Quote

Post by thom_raindog » Fri Oct 31, 2008 8:25 am

Any more ideas?
Top
cyrillic
Watchman
Watchman
User avatar
Posts: 7311
Joined: Wed Feb 19, 2003 3:05 am
Location: Groton, Massachusetts USA

  • Quote

Post by cyrillic » Fri Oct 31, 2008 3:01 pm

thom_raindog wrote:No. Same thing happening, the same block.
You need to compile cups and kdelibs with avahi support to remove the block.

cups and kdelibs depend on mDNSResponder only if the avahi USE flag is disabled (that is what the !avahi part means).
Top
thom_raindog
Guru
Guru
User avatar
Posts: 400
Joined: Fri May 16, 2008 6:25 am

  • Quote

Post by thom_raindog » Sat Nov 01, 2008 7:34 am

I can not emerge cups not kdelibs. The block blocks it both.
I set avahi and mdnsresponder-compat flags, for the heck of it set the -mdnsresponder flag as well, all to no avail.

What am I missing? *feels kinda dumb*
Top
dufeu
l33t
l33t
User avatar
Posts: 927
Joined: Fri Aug 30, 2002 2:59 pm
Location: US-FL-EST

  • Quote

Post by dufeu » Sat Nov 01, 2008 8:36 pm

thom_raindog wrote:I can not emerge cups not kdelibs. The block blocks it both.
I set avahi and mdnsresponder-compat flags, for the heck of it set the -mdnsresponder flag as well, all to no avail.

What am I missing? *feels kinda dumb*
Don't worry about feeling dumb. We all do from time to time.

Add "avahi" to your /etc/make.conf USE flag.
Add "zeroconf" to your /etc/make.conf USE flag.

Code: Select all

nano -w /etc/make.conf
After updating your /etc/make.conf file then execute:

Code: Select all

emerge -C mDNSResponder.
echo "net-dns/avahi mdnsresponder-compat" >> /etc/portage/package.use
Everything that depends on mDNSResponder is supposed to have no problem with avahi instead of mDNSResponder if the "mdsnresponder-compat" USE flag is set. Your problem is because somewhere you ended up with inconsistent USE flags between packages. The above should resolve the inconsistent flag issue.

If you're still having a problem, execute:

Code: Select all

equery d avahi
If you still have a package with a USE flag of "-avahi" after setting "avahi" in /etc/make.conf, then check /etc/portage/package.use for that package and see what USE flags are being overridden in it.

Once your USE flags re: avahi are consistent, then execute:

Code: Select all

emerge -uND world
This should work. After your emerges are all complete, execute:

Code: Select all

revdep-rebuild
to be sure you have a clean system.

Hope this helps and good luck!

edit

You might find the following interesting. These are the result of my equery d(pends) for both avahi and mDNSResponder. Remember, if you have the USE flag of "mdnsresponder-compat" set for avahi, then every package which lists mDNSResponder as a dependency should be happy using avahi instead.

Code: Select all

slizard ~ # equery d avahi
[ Searching for packages depending on avahi... ]
app-crypt/seahorse-2.22.2 (avahi? >=net-dns/avahi-0.6)
gnome-base/gnome-vfs-2.24.0 (avahi? >=net-dns/avahi-0.6)
gnome-base/gvfs-1.0.2 (avahi? >=net-dns/avahi-0.6)
kde-base/kdelibs-4.1.2-r1 (zeroconf? net-dns/avahi[mdnsresponder-compat])
kde-base/kdnssd-4.1.2 (net-dns/avahi[mdnsresponder-compat])
kde-base/krdc-4.1.2 (zeroconf? net-dns/avahi[mdnsresponder-compat])
kde-base/krfb-4.1.2 (zeroconf? net-dns/avahi[mdnsresponder-compat])
media-sound/pulseaudio-0.9.13 (avahi? >=net-dns/avahi-0.6.12[dbus])
media-video/vlc-0.9.5 (avahi? >=net-dns/avahi-0.6)
net-im/ekiga-2.0.12 (avahi? net-dns/avahi)
net-im/pidgin-2.5.2 (bonjour? net-dns/avahi)
net-misc/vinagre-0.5.1 (avahi? >=net-dns/avahi-0.6.18)
net-misc/vino-2.24.1 (avahi? >=net-dns/avahi-0.6)
net-print/cups-1.3.9 (avahi? net-dns/avahi)
www-client/epiphany-2.24.1-r10 (avahi? >=net-dns/avahi-0.6.22)
slizard ~ # equery d mDNSResponder
[ Searching for packages depending on mDNSResponder... ]
kde-base/kdelibs-3.5.10-r2 (!avahi & !bindist? net-misc/mDNSResponder)
kde-base/kdelibs-4.1.2-r1 (zeroconf & !bindist? net-misc/mDNSResponder)
kde-base/kdnssd-4.1.2 (net-misc/mDNSResponder)
kde-base/krdc-4.1.2 (zeroconf? net-misc/mDNSResponder)
kde-base/krfb-4.1.2 (zeroconf? net-misc/mDNSResponder)
net-print/cups-1.3.9 (zeroconf & !avahi? net-misc/mDNSResponder)
edit 2

After being sure my USE flags re: avahi were in sync across my packages, I ended up having to execute both:

Code: Select all

revdep-rebuild
emerge @preserved-rebuild
So expect to spend a bit more time playing with this.
People whom think M$ is mediocre, don't know the half of it.
Top
Post Reply

34 posts
  • 1
  • 2
  • Next

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic