[syslog-ng] unable to install syslog-ng ubuntu 16.04

Gergely Bodnár gergely.bodnar at balabit.com
Wed Nov 9 07:59:41 UTC 2016


Hello,

I have just tried installing it from the "deb
http://download.opensuse.org/repositories/home:/laszlo_budai:/syslog-ng/xUbuntu_16.04
./"
repository on a fresh Xenial host
With "apt-get install syslog-ng" it does not work for me too. But with
"apt-get install syslog-ng syslog-ng-core" it works correctly for me. You
should try using this workaround.

Regards,
Gergely Bodnar

On Tue, Nov 8, 2016 at 9:42 PM Budai, László <laszlo.budai at balabit.com>
wrote:

> Hi,
>
> I've built packages of syslog-ng for Ubuntu 16.10 (it worked for me).
> Could someone test it?
>
> My plan is to check the 16.04 issue on Friday.
>
> regards,
> Laszlo Budai
>
>
> On Tue, Nov 8, 2016 at 5:50 PM, Simon Mousey Smith <
> simonsmith5521 at gmail.com> wrote:
>
> Thank you for trying to help out anyways,
>
> If u remember how u got it installed it would be very helpful!
>
> regards
>
> Simon
>
> On 8 Nov 2016, at 16:49, Clayton Dukes <cdukes at logzilla.net> wrote:
>
> Our customers are installing it (as are we in test servers) without any
> problems.
> I did, however, have this problem several months ago but have no seen it
> since. Sadly, I don't remember how I fixed it. Sorry :(
>
> (note: I am not a Balabit employee, just trying to help out)
>
>
> *From: *syslog-ng <syslog-ng-bounces at lists.balabit.hu> on behalf of
> Varugis Kurien <vkurien at midfinsystems.com>
> *Reply-To: *Syslog-ng users' and developers' mailing list <
> syslog-ng at lists.balabit.hu>
> *Date: *Tuesday, November 8, 2016 at 11:46 AM
> *To: *Syslog-ng users' and developers' mailing list <
> syslog-ng at lists.balabit.hu>
> *Subject: *Re: [syslog-ng] unable to install syslog-ng ubuntu 16.04
>
> I do exactly that using ansible. No luck. The problem is in the packaging
> itself.
> ------------------------------
> *From:* syslog-ng <syslog-ng-bounces at lists.balabit.hu> on behalf of
> Clayton Dukes <cdukes at logzilla.net>
> *Sent:* Tuesday, November 8, 2016 8:41:36 AM
> *To:* Syslog-ng users' and developers' mailing list
> *Subject:* Re: [syslog-ng] unable to install syslog-ng ubuntu 16.04
>
> Try this (from our kickstart script at http://logzilla.sh)
>
> # Syslog-ng Repo:
> source /etc/lsb-release
>     grep -q "deb
> http://download.opensuse.org/repositories/home:/laszlo_budai:/syslog-ng/xUbuntu_${DISTRIB_RELEASE}
>  ./" \
>         /etc/apt/sources.list /etc/apt/sources.list.d/*.list || \
>         echo "deb
> http://download.opensuse.org/repositories/home:/laszlo_budai:/syslog-ng/xUbuntu_${DISTRIB_RELEASE}
>  ./" \
>         > /etc/apt/sources.list.d/syslog-ng.list
>     apt-key list | grep -q laszlo_budai:syslog-ng || wget -qO- \
>         "
> http://download.opensuse.org/repositories/home:/laszlo_budai:/syslog-ng/xUbuntu_${DISTRIB_RELEASE}/Release.key"
> | \
>         sudo apt-key add - >/dev/null
>
> apt update
> apt install syslog-ng
>
>
> *From: *syslog-ng <syslog-ng-bounces at lists.balabit.hu> on behalf of Simon
> Mousey Smith <simonsmith5521 at gmail.com>
> *Reply-To: *Syslog-ng users' and developers' mailing list <
> syslog-ng at lists.balabit.hu>
> *Date: *Tuesday, November 8, 2016 at 7:10 AM
> *To: *Syslog-ng users' and developers' mailing list <
> syslog-ng at lists.balabit.hu>
> *Subject: *Re: [syslog-ng] unable to install syslog-ng ubuntu 16.04
>
> Hi,
>
> Im still no luck either :(
>
> Tried assorts but no luck
>
> regards
>
> Simon
>
>
> On 8 Nov 2016, at 12:10, Varugis Kurien <vkurien at midfinsystems.com> wrote:
>
> Hi Laszlo,
> Have you been able to get this to work? I am in exactly the same position
> as Simon - I need the ability to parse Linux audit logs in syslog-ng.
> ------------------------------
> *From:* syslog-ng <syslog-ng-bounces at lists.balabit.hu> on behalf of
> Laszlo Budai <laszlo.budai at outlook.com>
> *Sent:* Saturday, November 5, 2016 1:59:09 PM
> *To:* Syslog-ng users' and developers' mailing list
> *Subject:* Re: [syslog-ng] unable to install syslog-ng ubuntu 16.04
>
> Hi,
> in docker it is not working...
> I'll try to fix this issue.
>
> regards,
> Laszlo Budai
>
>
> _____________________________
> From: Scheidler, Balázs <balazs.scheidler at balabit.com>
> Sent: Saturday, November 5, 2016 9:21 AM
> Subject: Re: [syslog-ng] unable to install syslog-ng ubuntu 16.04n
> To: László Budai <lbudai at balabit.hu>, Syslog-ng users' and developers'
> mailing list <syslog-ng at lists.balabit.hu>
>
>
> Indeed, I think the problem is that syslog-ng core depends on
> syslog-ng-mod-journal, which recursively depends on syslog-ng-core through
> a Provides line.
>
> Hmm.. the funny part that a week ago I successfully installed the same
> package on one of my servers, but now in a clean docker container I
> couldn't do that.
>
> I have a workaround, attached you'll find an equivs compatible control
> file, that provides the missing dependency, once that is installed,
> "apt-get install syslog-ng" works.
> It goes like this:
>
> # dpkg -i syslog-ng-abi-3.8-0_3.8.1-1_all.deb
> Selecting previously unselected package syslog-ng-abi-3.8-0.
> (Reading database ... 7256 files and directories currently installed.)
> Preparing to unpack syslog-ng-abi-3.8-0_3.8.1-1_all.deb ...
> Unpacking syslog-ng-abi-3.8-0 (3.8.1-1) ...
> Setting up syslog-ng-abi-3.8-0 (3.8.1-1) ...
>
> # apt-get install syslog-ng-core
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following additional packages will be installed:
>   cron libevtlog0 libffi6 libglib2.0-0 libglib2.0-data libicu55 libivykis0
> libnet1 libpopt0 libssl1.0.0 libwrap0 libxml2 logrotate sgml-base
>   shared-mime-info syslog-ng-mod-journal tcpd xdg-user-dirs xml-core
> Suggested packages:
>   anacron checksecurity exim4 | postfix | mail-transport-agent mailx
> sgml-base-doc syslog-ng-mod-sql syslog-ng-mod-mongodb syslog-ng-mod-json
>   syslog-ng-mod-smtp syslog-ng-mod-amqp syslog-ng-mod-geoip
> syslog-ng-mod-redis syslog-ng-mod-stomp syslog-ng-mod-riemann
> syslog-ng-mod-graphite
>   syslog-ng-mod-python syslog-ng-mod-java syslog-ng-mod-java-common-lib
> syslog-ng-mod-elastic syslog-ng-mod-hdfs syslog-ng-mod-kafka
> syslog-ng-mod-http
>   syslog-ng-mod-curl syslog-ng-mod-kvformat
> syslog-ng-mod-add-contextual-data debhelper
> The following NEW packages will be installed:
>   cron libevtlog0 libffi6 libglib2.0-0 libglib2.0-data libicu55 libivykis0
> libnet1 libpopt0 libssl1.0.0 libwrap0 libxml2 logrotate sgml-base
>   shared-mime-info syslog-ng-core syslog-ng-mod-journal tcpd xdg-user-dirs
> xml-core
> 0 upgraded, 20 newly installed, 0 to remove and 11 not upgraded.
> Need to get 11.9 MB of archives.
> After this operation, 49.5 MB of additional disk space will be used.
> Do you want to continue? [Y/n]
>
>
> The "syslog-ng-core" package only contains a subset of the syslog-ng
> package, pulling in a smaller set of dependencies, whereas syslog-ng is the
> full set.
> The abi package here is just a fake one, I'll make sure this packaging
> issue gets fixed.
>
>
> --
> Bazsi
>
> On Thu, Nov 3, 2016 at 10:25 PM, Simon Smith <simonsmith5521 at gmail.com>
> wrote:
>
> Hi All
>
> has anyone been able to install syslog-ng 3.8 successfully on ubuntu 16.04
> ?
>
> I’m using the link from the mailing list a few months ago but again no
> luck - http://lists.balabit.hu/pipermail/syslog-ng/2016-August/023150.html
>
> no matter what packages i try to install it just won’t work
>
> any ideas?
>
> root at syslog:~# apt-get install syslog-ng
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  syslog-ng : Depends: syslog-ng-core (>= 3.8.1) but it is not going to be
> installed
>              Depends: syslog-ng-mod-sql but it is not going to be installed
>              Depends: syslog-ng-mod-mongodb but it is not going to be
> installed
>              Depends: syslog-ng-mod-json but it is not going to be
> installed
>              Recommends: syslog-ng-mod-journal but it is not going to be
> installed
>              Recommends: syslog-ng-mod-smtp but it is not going to be
> installed
>              Recommends: syslog-ng-mod-amqp but it is not going to be
> installed
>              Recommends: syslog-ng-mod-geoip but it is not going to be
> installed
>              Recommends: syslog-ng-mod-redis but it is not going to be
> installed
>              Recommends: syslog-ng-mod-stomp but it is not going to be
> installed
>              Recommends: syslog-ng-mod-riemann but it is not going to be
> installed
>              Recommends: syslog-ng-mod-graphite but it is not going to be
> installed
>              Recommends: syslog-ng-mod-python but it is not going to be
> installed
>              Recommends: syslog-ng-mod-java but it is not going to be
> installed
>              Recommends: syslog-ng-mod-java-common-lib but it is not going
> to be installed
>              Recommends: syslog-ng-mod-elastic but it is not going to be
> installed
>              Recommends: syslog-ng-mod-hdfs but it is not going to be
> installed
>              Recommends: syslog-ng-mod-kafka but it is not going to be
> installed
>              Recommends: syslog-ng-mod-http but it is not going to be
> installed
>              Recommends: syslog-ng-mod-curl but it is not going to be
> installed
>              Recommends: syslog-ng-mod-kvformat but it is not going to be
> installed
>              Recommends: syslog-ng-mod-add-contextual-data but it is not
> going to be installed
> E: Unable to correct problems, you have held broken packages.
> root at syslog:~# apt-get install syslog-ng-core
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  syslog-ng-core : Depends: syslog-ng-mod-journal but it is not going to be
> installed
> E: Unable to correct problems, you have held broken packages.
> root at syslog:~# apt-get install syslog-ng-mod-journal
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  syslog-ng-mod-journal : Depends: syslog-ng-abi-3.8-0 but it is not
> installable
> E: Unable to correct problems, you have held broken packages.
> root at syslog:~# apt-get install syslog-ng syslog-ng-core syslog-ng-mod-sql
> syslog-ng-mod-mongodb syslog-ng-mod-json syslog-ng-mod-journal
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  syslog-ng-mod-journal : Depends: syslog-ng-abi-3.8-0 but it is not
> installable
>  syslog-ng-mod-json : Depends: syslog-ng-abi-3.8-0 but it is not
> installable
>  syslog-ng-mod-mongodb : Depends: syslog-ng-abi-3.8-0 but it is not
> installable
>  syslog-ng-mod-sql : Depends: syslog-ng-abi-3.8-0 but it is not installable
> E: Unable to correct problems, you have held broken packages.
> root at syslog:~#
>
> regards
>
> Simon - Hestor Ltd
>
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
>
>
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
> --

*Gergely Bodnar* | syslog-ng Product Owner
gergely.bodnar at balabit.com
follow Balabit on: web <http://go.balabit.com/F9ZZ500bh0U013LX000VAE5> |
blog <http://go.balabit.com/VZZi000AL90V300U55X1cE0> | linkedin
<http://go.balabit.com/CZ100j0d50LU0EAZ3X09V05>| facebook
<http://go.balabit.com/I090eUZ0551kEA3X0L0ZV00> | twitter
<http://go.balabit.com/c0503X1U05EZ09AVl0ZfL00>

*© BalaBit Corp.* Weiser Mazars 135 West 50th Street New York, NY 10020 USA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20161109/ebcb76d4/attachment-0001.html>


More information about the syslog-ng mailing list