Snort.org home  
Got Source? About Snort About Sourcefire Snort FAQ
Sourcefire Network Security - the creators of Snort

Snort Forums Archive

Archive Home » Snort Advanced » failed to install snort-mysql-2.4.0-1.FC3.i386.rpm

Please note that the categories listed below represent an archived version of our forums pages. To view the current version and be able to post and reply to threads, please register and login here to go to the full forums pages.

[ Notice: Full Version of This Topic ]

failed to install snort-mysql-2.4.0-1.FC3.i386.rpm


Posted by mqiu on August 08, 2005 12:33:35

I need help to identify where is my problem.

Thanks a lot,

Min

[root@nmsd0 tmp]# rpm -q snort
snort-2.4.0-1
[root@nmsd0 tmp]# rpm -i snort-mysql-2.4.0-1.FC3.i386.rpm
error: Failed dependencies:
snort = 2.4.0-1 is needed by snort-mysql-2.4.0-1.i386
[root@nmsd0 tmp]# uname -a
Linux nmsd0.gicorp.mypop2pop.com 2.6.11-1.14_FC3 #1 Thu Apr 7 19:23:49 EDT 2005 i686 i686 i386 GNU/Linux
[root@nmsd0 tmp]# /usr/sbin/snort -V

,,_ -*> Snort! <*-
o" )~ Version 2.4.0 (Build 18)
'''' By Martin Roesch & The Snort Team: http://www.snort.org/team.html
(C) Copyright 1998-2005 Sourcefire Inc., et al.


Posted by mqiu on August 10, 2005 08:16:53

It is a known bug, according to a post in snort-devel.

Min

List: snort-devel
Subject: [Snort-devel] posted RPM dependency problem
From: "Earl Sammons"
Date: 2005-08-02 3:59:12
Message-ID: 20050802035916.600FE33C23 () mailserver5 ! hushmail ! com
[Download message RAW]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I believe there is a dependency problem with currently posted FC3
RPMs. The FC3 snort RPM works fine by itself but the associated
snort-mysql RPM will not install due to dependency issue.

I had a look at the spec and came up with two possible fixes:

1. Don't define %{epoch}:
- - --- ./snort.spec 2005-07-22 09:56:49.000000000 -0400
+++ snort.spec.fix1 2005-07-29 08:28:55.000000000 -0400
@@ -86,5 +86,4 @@
%{?_with_inline:%define Name: %{realname}-inline }
Version: 2.4.0
- - -Epoch: 1
Release: %{release}
Summary: An open source Network Intrusion Detection System (NIDS)

2. If you must define it, then require it:
- - --- ./snort.spec 2005-07-22 09:56:49.000000000 -0400
+++ snort.spec.fix2 2005-07-29 08:29:40.000000000 -0400
@@ -115,5 +115,5 @@
Summary: Snort with MySQL support
Group: Applications/Internet
- - -Requires: %{name} = %{version}-%{release}
+Requires: %{name} = %{epoch}:%{version}-%{release}
%if %{mysql}
BuildRequires: mysql-devel

Unless things have changed %{epoch} isnt required...

Earl
-----BEGIN PGP SIGNATURE-----
Note: This signature can be verified at https://www.hushtools.com/verify
Version: Hush 2.4

wkYEARECAAYFAkLu72cACgkQk7+e+4lPSm0AowCffUriD2fS2LFEfLXmYmx1AmxQ+MoA
oJRGYHP3pb41vfnWJwBL5jV6b3WA
=D9He
-----END PGP SIGNATURE-----