Bug#386083: [php-maint] Bug#386083: php4-odbc dependency problem

Sven Mueller debian at incase.de
Wed Sep 6 16:07:30 UTC 2006

Hash: SHA1

Martijn Edens wrote:
> Package: php4-odbc
> Version: 4.3.10-16
> When i try to install php4-odbc on Sarge it always complains about
> dependencies
> -- /etc/apt/sources.list --
> deb http://ftp.nl.debian.org/debian/ stable main contrib non-free
> deb-src http://ftp.nl.debian.org/debian/ stable main
> deb http://security.debian.org/ stable/updates main contrib non-free
> -- Command --
> root at debian: apt-get update
> root at debian: apt-get upgrade
> root at debian: apt-get install php4-odbc
> -- Output --
> The following packages have unmet dependencies:
>  php4-odbc: Depends: php4-common (= 4:4.3.10-16) but 4:4.3.10-16.2 is
> to be installed
> E: Broken packages

This somehow looks weird to me. Both php4-common and php4-odbc are
architecture dependent packages from the same source, so whoever has
php4-common=4:4.3.10-16.2 should also have php4-odbc=4:4.3.10-16.2.
could you please post the output from:

apt-cache policy php4-odbc php4-common

> I my opinion there are not any dependencies in this versions?

I actually don't understand what you mean by this. Did you mean that
nothing changed between 4:4.3.10-16 and 4:4.3.10-16.2 which would
warrant a narrow dependency on the exact version? If so, you are
probably right, but noone wants to check for small changes in the
generated binary interfaces, so the dependency is auto-generated at
build-time. Since (almost?) all php4-* packages are always built at the
same time for a given architecture, this normally doesn't introduce any
problem. Actually it even can't if all the mirrors used are actually
kept up-to-date, as the packages that depend on each other are always
uploaded/updated at the same time.

> I am using Debian GNU/Linux 3.1, kernel #1 SMP
> and libc6 2.3.2.ds1-22sarge4

Which architecture? I assume i386, but it would help if you could
clarify this.

Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the pkg-php-maint mailing list