libavahi-compat-libdnssd1_0.6.13-2ubuntu2_i386.deb will not install

Bug #68503 reported by ciscosurfer
4
Affects Status Importance Assigned to Milestone
avahi (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: libavahi-compat-libdnssd1

[libavahi-compat-libdnssd1 is the Avahi Apple Bonjour compatibility library]

When upgrading to kubuntu-desktop, a dist-upgrade produces the following errors, preventing the proper install of libavahi-compat-libdnssd1_0.6.13-2ubuntu2_i386.deb and subsequently prevents the install and configuration of ksysguardd and ksysguard (and ultimately kubuntu-desktop as well) ... when trying to --unpack libavahi-compat-libdnssd1_0.6.13-2ubuntu2_i386.deb, an error is produced stating that it is trying to
overwrite `/usr/lib/libdns_sd.so.1', which is also in package bonjour

The following reproducible output is show below::

::::::::
sudo aptitude install kubuntu-desktop python-qt3 python-kde3 ubuntu-minimal
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages are BROKEN:
  ksysguardd
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
The following packages have unmet dependencies:
  ksysguardd: Depends: libavahi-compat-libdnssd1 (>= 0.6.13) but it is not installable
Resolving dependencies...
The following actions will resolve these dependencies:

Install the following packages:
libavahi-compat-libdnssd1 [0.6.13-2ubuntu2 (edgy)]

Score is -19

Accept this solution? [Y/n/q/?]
The following NEW packages will be automatically installed:
  libavahi-compat-libdnssd1
The following NEW packages will be installed:
  libavahi-compat-libdnssd1
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/29.6kB of archives. After unpacking 102kB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
(Reading database ... 183539 files and directories currently installed.)
Unpacking libavahi-compat-libdnssd1 (from .../libavahi-compat-libdnssd1_0.6.13-2ubuntu2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libavahi-compat-libdnssd1_0.6.13-2ubuntu2_i386.deb (--unpack):
 trying to overwrite `/usr/lib/libdns_sd.so.1', which is also in package bonjour
Errors were encountered while processing:
 /var/cache/apt/archives/libavahi-compat-libdnssd1_0.6.13-2ubuntu2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of ksysguardd:
 ksysguardd depends on libavahi-compat-libdnssd1 (>= 0.6.13); however:
  Package libavahi-compat-libdnssd1 is not installed.
dpkg: error processing ksysguardd (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ksysguard:
 ksysguard depends on ksysguardd (= 4:3.5.5-0ubuntu3); however:
  Package ksysguardd is not configured yet.
dpkg: error processing ksysguard (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kubuntu-desktop:
 kubuntu-desktop depends on ksysguard; however:
  Package ksysguard is not configured yet.
dpkg: error processing kubuntu-desktop (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 ksysguardd
 ksysguard
 kubuntu-desktop
:::::::

::: error is annoying and is not, as far as I can tell, fixable by manually installing the offending package either. A solution is desired as this is 'bugging' me.

Revision history for this message
Trent Lloyd (lathiat) wrote :

Hi There,

If we look at the line

"overwrite `/usr/lib/libdns_sd.so.1', which is also in package bonjour"

As far as I am aware 'bonjour' is not an official package, hence the conflict

You would need ot remove the bonjour package first and then installation should suceed.

Revision history for this message
ciscosurfer (ciscosurfer) wrote :

There is no bonjour package installed.

libavahi-compat-libdnssd1 is the library that contains the Apple Bonjour compatibility library of Avahi.

And the package _is_ official: it's in the main repos for Edgy (not universe or multiverse).

Revision history for this message
Trent Lloyd (lathiat) wrote :

Can you please run

dpkg -L bonjour

and paste the output?

Changed in avahi:
status: Unconfirmed → Rejected
Revision history for this message
ciscosurfer (ciscosurfer) wrote :

Here's the output (but how do I remove this as I don't have a .deb file located in /var/cache/apt/archives)?

Should I 'stop' /etc/init.d/mdns and try to install the libavahi package again?

See, I have a .deb for libavahi-compat...because most everything (if not everything) get installed, it's just the file libdns_sd.so.1 doesn't want to get overwritten.

What are your thoughts?

Output:

/.
/etc
/etc/init.d
/etc/init.d/mdns
/usr
/usr/lib
/usr/lib/libdns_sd.so.1
/usr/sbin
/usr/sbin/mdnsd
/usr/share
/usr/share/doc
/usr/share/doc/bonjour
/usr/share/doc/bonjour/README.txt.gz
/usr/share/doc/bonjour/copyright
/usr/share/doc/bonjour/changelog.Debian.gz
/usr/share/man
/usr/share/man/man5
/usr/share/man/man5/nss_mdns.conf.5.gz
/usr/share/man/man8
/usr/share/man/man8/mdnsd.8.gz
/usr/share/man/man8/libnss_mdns.8.gz
/usr/include
/usr/include/dns_sd.h
/usr/lib/libdns_sd.so

Revision history for this message
Trent Lloyd (lathiat) wrote :

No you need to *remove* the package

This is a package of bonjour - apples implementation, obviously the Avahi compatability layer for Bonjour (DNSSD) would conflict with this, hence the failed install

And because bonjour is not an official ubuntu package (e.g. not in the ubuntu archives) we haven't told the avahi package to Conflict with it (which would have made the packaging system remove it for you if you tried to install it manually)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.