Package Dependencies.



  • I apologize if this is the wrong forum but it seemed the logical one.

    Is it possible to modify package dependencies prior to 'installing'.

    A recent update to Version 2 BETA5 (3rd Feb 2011) resulted in a bunch of CSRF errors, the GUI was frozen with updating packages where it stayed forever …

    After rebooting the firewall it attempted to install packages and froze on Snort at the uninstalling components point. When trying to open the package page a CSRF error was encountered, this error existed on many other pages, clearing the cache helped but didn't fix. Every subsequent restart followed the same cycle, SSH access showed that Snort had gone, but the system still was trying to uninstall it.

    I was forced into a full install of V2 BETA 5 because I needed to get connectivity back, this fixed all the CSRF errors.

    Now I can no longer install Snort and get this error :-

    **_Beginning package installation for snort…
    Downloading package configuration file... done.
    Saving updated package information... done.
    Downloading snort and its dependencies...
    Checking for package installation...
    Downloading http://www.pfsense.com/packages/config/snort/bin/8.1x86/mysql-
    client-5.1.53.tbz ...  could not download from there or http://ftp2.FreeBSD.org/
    pub/FreeBSD/ports/i386/packages-8.1-release/All/mysql-client-5.1.53.tbz.
    of mysql-client-5.1.53 failed!

    Installation aborted.Backing up libraries...
    Removing package...
    Starting package deletion for pcre-8.10...done.
    Starting package deletion for mysql-client-5.1.53...done.
    Starting package deletion for snort-2.8.6.1...done.
    Removing snort components...
    Menu items... done.
    Services... done.
    Loading package instructions...
    Include file snort.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._**

    I checked the /pub/FreeBSD/ports/i386/packages-8.1-release/All/ folder and the expected version of MySQL client is indeed missing.

    Anyone have any ideas how to resolve this?

    Thanks in advance

    PS : I have installed Snort but needed to use pkg_add to do the SQL manually - I am trying to identify how to manipulate package dependencies



  • I have the same issue.

    Is there a work around available, or is there a way to contact the maintainer of the package ?

    I did manually download mysql51-client.tbz but the snort package needs really modification.


Log in to reply