syslog-ng package fails to install

Bug #1242173 reported by Michael Warren
70
This bug affects 14 people
Affects Status Importance Assigned to Milestone
syslog-ng (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Fresh 13.10 Saucy installation.

root@saucy:~# apt-get -y dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@saucy:~# apt-get -s 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.3.9)
             Depends: syslog-ng-mod-sql
             Depends: syslog-ng-mod-mongodb
             Depends: syslog-ng-mod-json
E: Unable to correct problems, you have held broken packages.

root@saucy:~# apt-get -s install syslog-ng-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libevtlog0 libivykis0 libnet1 libsyslog-ng-3.3.6
Suggested packages:
  syslog-ng-mod-sql syslog-ng-mod-mongodb syslog-ng-mod-json
The following packages will be REMOVED:
  rsyslog ubuntu-minimal
The following NEW packages will be installed:
  libevtlog0 libivykis0 libnet1 libsyslog-ng-3.3.6 syslog-ng-core
0 upgraded, 5 newly installed, 2 to remove and 0 not upgraded.
Remv ubuntu-minimal [1.307]
Remv rsyslog [5.8.11-2ubuntu4]
Inst libnet1 (1.1.6+dfsg-2 Ubuntu:13.10/saucy [amd64])
Inst libivykis0 (0.36.2-1 Ubuntu:13.10/saucy [amd64])
Inst libevtlog0 (0.2.12-5 Ubuntu:13.10/saucy [amd64])
Inst libsyslog-ng-3.3.6 (3.3.9-1ubuntu1 Ubuntu:13.10/saucy [amd64])
Inst syslog-ng-core (3.3.9-1ubuntu1 Ubuntu:13.10/saucy [amd64])
Conf libnet1 (1.1.6+dfsg-2 Ubuntu:13.10/saucy [amd64])
Conf libivykis0 (0.36.2-1 Ubuntu:13.10/saucy [amd64])
Conf libevtlog0 (0.2.12-5 Ubuntu:13.10/saucy [amd64])
Conf libsyslog-ng-3.3.6 (3.3.9-1ubuntu1 Ubuntu:13.10/saucy [amd64])
Conf syslog-ng-core (3.3.9-1ubuntu1 Ubuntu:13.10/saucy [amd64])

root@saucy:~# apt-get -s install syslog-ng-mod-sql
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-sql : Depends: syslog-ng-core (= 3.3.9-1ubuntu1)
                     Depends: libsyslog-ng-3.3.6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

root@saucy:~# apt-cache showpkg libsyslog-ng-3.3.6
Package: libsyslog-ng-3.3.6
Versions:
3.3.9-1ubuntu1 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_saucy_universe_binary-amd64_Packages)
 Description Language:
                 File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_saucy_universe_binary-amd64_Packages
                  MD5: 38dd9fb1bb3066a12c9bdcab5a4b12ba
 Description Language: en
                 File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_saucy_universe_i18n_Translation-en
                  MD5: 38dd9fb1bb3066a12c9bdcab5a4b12ba

Reverse Depends:
  libsyslog-ng-3.3.6:i386,libsyslog-ng-3.3.6 3.3.9-1ubuntu1
  libsyslog-ng-3.3.6:i386,libsyslog-ng-3.3.6 3.3.9-1ubuntu1
  syslog-ng-mod-sql,libsyslog-ng-3.3.6
  syslog-ng-mod-mongodb,libsyslog-ng-3.3.6
  syslog-ng-mod-json,libsyslog-ng-3.3.6
  syslog-ng-core,libsyslog-ng-3.3.6
  libsyslog-ng-dev,libsyslog-ng-3.3.6 3.3.9-1ubuntu1
Dependencies:
3.3.9-1ubuntu1 - libc6 (2 2.14) libcap2 (2 2.10) libevtlog0 (2 0.2.12) libglib2.0-0 (2 2.31.8) libivykis0 (2 0.30) libpcre3 (2 8.10) multiarch-support (0 (null)) libsyslog-ng-3.3.6:i386 (3 3.3.9-1ubuntu1) libsyslog-ng-3.3.6:i386 (6 3.3.9-1ubuntu1)
Provides:
3.3.9-1ubuntu1 -
Reverse Provides:

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: syslog-ng (not installed)
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
Date: Sat Oct 19 14:07:37 2013
MarkForUpload: True
SourcePackage: syslog-ng
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Michael Warren (mike-ef) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in syslog-ng (Ubuntu):
status: New → Confirmed
Revision history for this message
Gergely Nagy (algernon) wrote :

This really is a problem of ubuntu-minimal, which depends on rsyslog alone, instead of rsyslog | system-log-daemon.

Revision history for this message
Brian Candler (b-candler) wrote :

The same (or a similar) bug remains in Trusty.

root@noc:~# 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.5.3) 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-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
E: Unable to correct problems, you have held broken packages.
root@noc:~#

And yet:

# apt-cache show syslog-ng | grep ^Depends:
Depends: syslog-ng-core (>= 3.5.3), syslog-ng-mod-sql, syslog-ng-mod-mongodb, syslog-ng-mod-json

# apt-cache show syslog-ng-core | grep ^Version:
Version: 3.5.3-1

Revision history for this message
Daniel Feliciano Branco (danielblues) wrote :

Yes, I have the same error in 14.04.1 server 64.
Any ideas to solve it?

Revision history for this message
Brian Candler (b-candler) wrote :

I think this workaround should do it:

apt-get install syslog-ng syslog-ng-core

Revision history for this message
jawed (jkhelil) wrote :

apt-get install syslog-ng syslog-ng-core, the workaround worked for me
thanks Brian

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.