| View previous topic :: View next topic |
| Author |
Message |
padoor Advocate


Joined: 30 Dec 2005 Posts: 3640 Location: india
|
Posted: Fri Oct 17, 2008 3:16 am Post subject: how do i correct this avahi and dnsresponder block each othe |
|
|
| Code: | 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) |
|
| Back to top |
|
 |
feiticeir0 Apprentice


Joined: 13 Jul 2005 Posts: 213 Location: Castelo Branco, Portugal
|
Posted: Fri Oct 17, 2008 11:47 am Post subject: |
|
|
Hi padoor
You must unmerge one of them. Try to unmerge mDNSResponder and try again.
| Code: |
emerge -C mDNSResponder
|
Read about that in the gentoo documentation _________________ Do It With Rhythm |
|
| Back to top |
|
 |
energyman76b Advocate


Joined: 26 Mar 2003 Posts: 2005 Location: Germany
|
Posted: Fri Oct 17, 2008 12:55 pm Post subject: |
|
|
unmerge mdnsresponder
set avahi flag
emerge avahi
use --newuse _________________
| AidanJT wrote: |
...because pro-lifers (especially the catholic variety) are sick, depraved, satanic ....
|
...'people' - had to clean it up to not be offensive...
"The secret of politics? Make a good treaty with Russia." |
|
| Back to top |
|
 |
padoor Advocate


Joined: 30 Dec 2005 Posts: 3640 Location: india
|
Posted: Sat Oct 18, 2008 2:28 am Post subject: |
|
|
| Code: | 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) |
|
| Back to top |
|
 |
feiticeir0 Apprentice


Joined: 13 Jul 2005 Posts: 213 Location: Castelo Branco, Portugal
|
Posted: Sat Oct 18, 2008 8:56 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
padoor Advocate


Joined: 30 Dec 2005 Posts: 3640 Location: india
|
Posted: Sat Oct 18, 2008 5:20 pm Post subject: |
|
|
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) |
|
| Back to top |
|
 |
Autie Guru


Joined: 25 Jul 2003 Posts: 309 Location: Ledegem - Belgium
|
Posted: Tue Oct 21, 2008 8:44 pm Post subject: |
|
|
same here:
| Code: |
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. |
|
| Back to top |
|
 |
Autie Guru


Joined: 25 Jul 2003 Posts: 309 Location: Ledegem - Belgium
|
Posted: Tue Oct 21, 2008 9:58 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
energyman76b Advocate


Joined: 26 Mar 2003 Posts: 2005 Location: Germany
|
Posted: Tue Oct 21, 2008 10:06 pm Post subject: |
|
|
so what? set avahi useflag, remove mdnsresponder and everything will be fine _________________
| AidanJT wrote: |
...because pro-lifers (especially the catholic variety) are sick, depraved, satanic ....
|
...'people' - had to clean it up to not be offensive...
"The secret of politics? Make a good treaty with Russia." |
|
| Back to top |
|
 |
Autie Guru


Joined: 25 Jul 2003 Posts: 309 Location: Ledegem - Belgium
|
Posted: Tue Oct 21, 2008 10:26 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
cyrillic Watchman


Joined: 19 Feb 2003 Posts: 7301 Location: Groton, Massachusetts USA
|
Posted: Tue Oct 21, 2008 11:11 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
Autie Guru


Joined: 25 Jul 2003 Posts: 309 Location: Ledegem - Belgium
|
Posted: Tue Oct 21, 2008 11:27 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
harvester Tux's lil' helper

Joined: 21 Jan 2006 Posts: 123
|
Posted: Thu Oct 23, 2008 9:25 pm Post subject: |
|
|
I tried that but its not working
| Code: |
# 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 |
|
| Back to top |
|
 |
Autie Guru


Joined: 25 Jul 2003 Posts: 309 Location: Ledegem - Belgium
|
Posted: Thu Oct 23, 2008 10:34 pm Post subject: |
|
|
set useflag avahi, still on -avahi:
| Code: | | [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. |
|
| Back to top |
|
 |
thom_raindog Guru


Joined: 16 May 2008 Posts: 400
|
Posted: Mon Oct 27, 2008 2:22 pm Post subject: |
|
|
..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  |
|
| Back to top |
|
 |
thom_raindog Guru


Joined: 16 May 2008 Posts: 400
|
Posted: Tue Oct 28, 2008 6:08 am Post subject: |
|
|
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... |
|
| Back to top |
|
 |
thom_raindog Guru


Joined: 16 May 2008 Posts: 400
|
Posted: Tue Oct 28, 2008 9:28 pm Post subject: |
|
|
| Really noone? |
|
| Back to top |
|
 |
Autie Guru


Joined: 25 Jul 2003 Posts: 309 Location: Ledegem - Belgium
|
Posted: Tue Oct 28, 2008 10:04 pm Post subject: |
|
|
what gives:
| Quote: |
equery d mdnsresponder
|
_________________ The capacity to learn is a gift; The ability to learn is a skill; The willingness to learn is a choice. |
|
| Back to top |
|
 |
thom_raindog Guru


Joined: 16 May 2008 Posts: 400
|
Posted: Tue Oct 28, 2008 10:57 pm Post subject: |
|
|
Thank you for helping.
I get:
| Code: |
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  |
|
| Back to top |
|
 |
Autie Guru


Joined: 25 Jul 2003 Posts: 309 Location: Ledegem - Belgium
|
Posted: Tue Oct 28, 2008 11:16 pm Post subject: |
|
|
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: |
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. |
|
| Back to top |
|
 |
thom_raindog Guru


Joined: 16 May 2008 Posts: 400
|
Posted: Wed Oct 29, 2008 6:15 am Post subject: |
|
|
No. Same thing happening, the same block. mDNSResponder is not installed, so trying to clean it does nothing, by the way..
This is frustrating... |
|
| Back to top |
|
 |
thom_raindog Guru


Joined: 16 May 2008 Posts: 400
|
Posted: Fri Oct 31, 2008 8:25 am Post subject: |
|
|
| Any more ideas? |
|
| Back to top |
|
 |
cyrillic Watchman


Joined: 19 Feb 2003 Posts: 7301 Location: Groton, Massachusetts USA
|
Posted: Fri Oct 31, 2008 3:01 pm Post subject: |
|
|
| 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). |
|
| Back to top |
|
 |
thom_raindog Guru


Joined: 16 May 2008 Posts: 400
|
Posted: Sat Nov 01, 2008 7:34 am Post subject: |
|
|
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* |
|
| Back to top |
|
 |
dufeu l33t


Joined: 30 Aug 2002 Posts: 665 Location: US-FL-EST
|
Posted: Sat Nov 01, 2008 8:36 pm Post subject: |
|
|
| 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: | | nano -w /etc/make.conf |
After updating your /etc/make.conf file then execute:
| Code: | 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:
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:
This should work. After your emerges are all complete, execute:
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: | 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: | 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. |
|
| Back to top |
|
 |
|