rpmtsOrdering question

Panu Matilainen pmatilai at laiskiainen.org
Fri Nov 10 04:27:22 PST 2006


On Thu, 9 Nov 2006, Vincent Danen wrote:

> I'm trying to debug a dependency issue here, but apt isn't being overly
> helpful or verbose about it which is making it difficult.  I'm seeing
> this:
>
> [root at artemis ~]# apt-get install httpd httpd-mod_php php-cli
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following extra packages will be installed:
>  httpd-common httpd-conf httpd-modules lib64php_common5 php-ctype php-ftp php-gettext php-hash php-ini php-pcre php-posix
>  php-session php-simplexml php-suhosin php-sysvsem php-sysvshm php-tokenizer
> The following NEW packages will be installed:
>  httpd httpd-common httpd-conf httpd-mod_php httpd-modules lib64php_common5 php-cli php-ctype php-ftp php-gettext php-hash
>  php-ini php-pcre php-posix php-session php-simplexml php-suhosin php-sysvsem php-sysvshm php-tokenizer
> 0 upgraded, 20 newly installed, 0 removed and 0 not upgraded.
> Need to get 0B/2166kB of archives.
> After unpacking 5287kB of additional disk space will be used.
> Do you want to continue? [Y/n]
> error: rpmtsOrder failed, 3 elements remain
> E: Ordering failed for 3 packages
>
> If I drop php-cli, I get:
>
> [root at artemis ~]# apt-get install httpd httpd-mod_php
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following extra packages will be installed:
>  httpd-common httpd-conf httpd-modules lib64php_common5 php-ctype php-ftp php-gettext php-hash php-ini php-pcre php-posix
>  php-session php-simplexml php-suhosin php-sysvsem php-sysvshm php-tokenizer
> The following NEW packages will be installed:
>  httpd httpd-common httpd-conf httpd-mod_php httpd-modules lib64php_common5 php-ctype php-ftp php-gettext php-hash php-ini
>  php-pcre php-posix php-session php-simplexml php-suhosin php-sysvsem php-sysvshm php-tokenizer
> 0 upgraded, 19 newly installed, 0 removed and 0 not upgraded.
> Need to get 0B/2141kB of archives.
> After unpacking 5255kB of additional disk space will be used.
> Do you want to continue? [Y/n]
> error: rpmtsOrder failed, 2 elements remain
> E: Ordering failed for 2 packages
>
> I'm suspecting my problem is in httpd-mod_php, but nothing there is
> jumping out at me, and it would be nice to know *which* 2 packages apt
> is complaining about.
>
> Is there a way to make it more verbose?  I tried tacking "-s" onto the
> end to see if it would give me more info, but it doesn't.

Try -o rpm::options::="-vvv"

That should give you maximum possible spewage from rpmlib, hopefully with 
hints as to where the problem actually is :)

 	- Panu -



More information about the Apt-Rpm mailing list