I'm not sure I can implement --simulate in the expected manner - dpkg --simulate does not provide the kind of output that would be useful:
$ sudo dpkg --no-act -i /opt/debian/pbuilder/result/foo-1_amd64.deb Selecting previously deselected package foo. (Reading database ... 134416 files and directories currently installed.) Unpacking foo (from .../foo-1_amd64.deb) ... That's all I get - despite the fact that without --simulate I *know* that the installation will fail because LOTS of dependencies of this particular package are not installed. $ dpkg -l foo No packages found matching foo The package I used for this test does exist in the archive, so: $ sudo apt-get install foo ... 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. Need to get 4911kB/80.1MB of archives. After unpacking 167MB of additional disk space will be used. Abort $ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. $ sudo apt-get -m install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. dpkg just doesn't do what you expect from --simulate and therefore neither can dpkg-cross or apt-cross. apt-get --simulate DOES give the required information: Inst texlive-common (2007-10 Debian:unstable) Inst texlive-doc-base (2007-3 Debian:unstable) Inst texlive-base-bin (2007-12 Debian:unstable) Inst texlive-base (2007-10 Debian:unstable) ... but apt-cross cannot use apt-get to do the installation of a local .deb file. :-( -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
pgpi14GWslljw.pgp
Description: PGP signature

