[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#601023: apt: Version comparison broken



Alexey Salmin <alexey.salmin@gmail.com> writes:

> Package: apt
> Version: 0.7.25.3
> Severity: important
>
> It seems that apt-get version comparison is broken (???).
> I have ia32-libs (20101012) and I can not install ia32-libs-libssh2
> which requires ia32-libs (>= 20090808).
> AFAIK (20101012 >= 20090808) is true :)

And so it is. That isn't the problem.

> ia32-libs-libssh2 is an example. I also can not instal bunch of 
> other packages for the same reasons:
> flashplayer-mozilla
> ia32-libs-libcurl3
> ia32-libs-libidn11
> ia32-libs-libnspr4
> ia32-libs-libnss3
>
>
> salmin@salmin:~$ apt-cache show ia32-libs-libssh2
> Package: ia32-libs-libssh2
> Priority: optional
> Section: libs
> Installed-Size: 176
> Maintainer: Christian Marillat <marillat@debian.org>
> Architecture: amd64
> Version: 1.2.5-0.0
> Depends: ia32-libs (>= 20090808)
> Filename: pool/main/i/ia32-libs-libssh2/ia32-libs-libssh2_1.2.5-0.0_amd64.deb
> Size: 63204
> MD5sum: 053992c4deafac232ee636bc206ca956
> SHA1: 9d15c168e8b4f176251dd22053e161f864c4525a
> SHA256: 277e9f04cd6682e35eafc0890f60a4170649ab678dbec607b9bc2565465b3787
> Description: libssh2 ia32 shared libraries
>  This package delivers a set of pre-compiled ia32 (i386 family) shared
>  libraries, so that third-party 32bit programs can use the SSH2 client-side
>  Library on 64-bit systems that include appropriate emulation support.
> Bugs: mailto:marillat@debian.org
>
> salmin@salmin:~$ dpkg -l ia32-libs
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name           Version        Description
> +++-==============-==============-============================================
> ii  ia32-libs      20101012       ia32 shared libraries for use on amd64 and i
>
> salmin@salmin:~$ sudo apt-get install ia32-libs-libssh2
> 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:
>   ia32-libs-libssh2: Depends: ia32-libs (>= 20090808) but it is not going to be installed
> E: Broken packages

That means what is say: No package ia32-libs with version >= 20090808 is
going to be installed.

The big question now is WHY?

Usualy this error means that ia32-libs depends on something that is
uninstallable. To find out the simplest way is to run

  sudo apt-get install ia32-libs-libssh2 ia32-libs

You might get the same kind of error again and then just keep adding the
respective packages to the command line till it will give you a "can not
be installed" error (or other). Then you've found the culprit.



On a side note: libssh2-1 is already included in ia32-libs and you will
get a file override conflict trying to install ia32-libs-libssh2 with
current ia32-libs. Whatever needs this package needs to be rebuild
against a newer ia32-libs.

MfG
        Goswin



Reply to: