Re: versioned depends not working
Can somebody please tell me what is wrong with this depends?
Depends: file, libmime-perl (>=5.313), libconvert-tnef-perl (>=0.06), libconvert-uulib-perl, libcompress-zlib-perl (>=1.14), libarchive-tar-perl, libarchive-zip-perl, libmailtools-perl, libunix-syslog-perl, libnet-perl (>= 1.12), libnet-server-perl, spamassassin, libtime-hires-perl, nomarch
Apparently the package installs with libnet-perl 1.09 installed,
it isn't suppost to install without libnet-perl >= 1.12.
This looks OK to me:
>dpkg --compare-versions 1.09.01-1 '>=' 1.12 && echo TRUE || echo FALSE FALSE
Have I gone mad?
On Sun, Jan 05, 2003 at 08:28:02PM +0100, Joerg Friedrich wrote:
> Brian May schrieb am Sonntag, 05. Januar 2003 um 12:16:44 +1100:
> > On Thu, Jan 02, 2003 at 08:11:48PM +0100, Joerg Friedrich wrote:
> > > 1. I downloaded the package and installed on a woody system. It seems
> > > that the dependency on version 1.12 of libnet-perl is not declared
> > > probably. a dpkg -i amavisd-new...deb worked until the postinst tried
> > > to start the daemon, which failed.
> > Strange, I don't remember fixing that, it looks fine to me though:
> > libnet-perl (>= 1.12)
> first I thought it is the space but I tried to build a new package
> without it. NOthing changed.
> > Or maybe I am totally confused?
> I really do not understand why but here it is:
> # dpkg -l libnet-perl
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
> ||/ Name Version Description
> ii libnet-perl 1.09.01-1 Implementation
> of Internet protocols for Perl
> # dpkg -i
> Selecting previously deselected package amavisd-new.
> (Reading database ... 90396 files and directories currently installed.)
> Unpacking amavisd-new (from amavisd-new_20021116-2_all.deb) ...
> Setting up amavisd-new (20021116-2) ...
> Adding group amavis (111)...
> adduser: Warning: The home dir you specified already exists.
> Adding system user amavis...
> Adding new user amavis (114) with group amavis.
> Not creating home directory.
> Starting amavisd: Net::SMTP version 2.24 required--this is only version
> 2.19 at /usr/sbin/amavisd line 2159.
> BEGIN failed--compilation aborted at /usr/sbin/amavisd line 2159.
> dpkg: error processing amavisd-new (--install):
> subprocess post-installation script returned error exit status 255
> Errors were encountered while processing:
Brian May <email@example.com>