Avahi fails to install due to dbus dependancy not being met



  • The Avahi package is looking for dbus-1.4.0.tbz when only dbus-1.4.6.tbz exists on files.pfsense.org:

    Beginning package installation for Avahi…
    Downloading package configuration file... done.
    Saving updated package information... done.
    Downloading Avahi and its dependencies...
    Checking for package installation...
    Downloading http://files.pfsense.org/packages/amd64/8/All/avahi-0.6.28.tbz ...  (extracting)

    Downloading http://files.pfsense.org/packages/amd64/8/All/dbus-1.4.0.tbz ...  could not download from there or http://ftp2.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-8.1-release/All/dbus-1.4.0.tbz.
    of avahi-0.6.28 failed!

    Installation aborted.Backing up libraries...
    Removing package...
    Starting package deletion for avahi-0.6.28...done.
    Removing Avahi components...
    Menu items... done.
    Services... done.
    Loading package instructions...
    Include file avahi.inc could not be found for inclusion.
    Deinstall commands...
    Not executing custom deinstall hook because an include is missing.
    Removing package instructions...done.
    Auxiliary files... done.
    Package XML... done.
    Configuration... done.
    Cleaning up... Failed to install package.

    Installation halted.

    If anyone has any suggestions, I'd appreciate it.

    Thanks!

    FAB



  • Install dbus first with pkg_add -r http://files.pfsense.org/packages/amd64/8/All/dbus-1.4.6.tbz

    Then try package instalation again and feedback if it install and if package works with dbus-1.4.6.



  • Hi,
    Installed dbus-1.4.6.tbz by hand and install still fails in an identical manner..
    It seems to be getting hung up on the fact that it can't download it.

    Thanks for your help,

    FAB



  • Install dbus first with
    pkg_add -r http://files.pfsense.org/packages/amd64/8/All/dbus-1.4.6.tbz

    and then trick out unmatched specific package version.
    cp -r /var/db/pkg/dbus-1.4.6 /var/db/pkg/dbus-1.4.0

    It worked to me.

    Beginning package installation for Avahi...
    Downloading package configuration file... done.
    Saving updated package information... done.
    Downloading Avahi and its dependencies... 
    Checking for package installation... 
     Downloading http://files.pfsense.org/packages/amd64/8/All/avahi-0.6.28.tbz ...  (extracting)
    
       Downloading http://files.pfsense.org/packages/amd64/8/All/dbus-glib-0.88.tbz ...  (extracting)
    
         Downloading http://files.pfsense.org/packages/amd64/8/All/gio-fam-backend-2.28.8.tbz ...  (extracting)
    
       Downloading http://files.pfsense.org/packages/amd64/8/All/cairo-1.10.0_3,1.tbz ...  (extracting)
    
       Downloading http://files.pfsense.org/packages/amd64/8/All/bison-2.4.3,1.tbz ...  (extracting)
    
         Downloading http://files.pfsense.org/packages/amd64/8/All/m4-1.4.16,1.tbz ...  (extracting)
    
       Downloading http://files.pfsense.org/packages/amd64/8/All/gobject-introspection-0.9.12.tbz ...  (extracting)
    
       Downloading http://files.pfsense.org/packages/amd64/8/All/avahi-app-0.6.28.tbz ...  (extracting)
    Loading package configuration... done.
    Configuring package components...
    Additional files... done.
    Loading package instructions...
    Custom commands...
    Executing custom_php_install_command()...done.
    Executing custom_php_resync_config_command()...done.
    Custom commands...
    Executing custom_php_install_command()...done.
    Executing custom_php_resync_config_command()...done.
    Menu items... done.
    Services... done.
    Writing configuration... done.
    
    Installation completed.
    Avahi setup instructions:
    Please visit the Avahi settings tab and select which interfaces you do not wish Avahi to listen on and click save to start the service.
    


  • That worked a treat!

    Thanks Marcello!


Locked