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

Re: check .deb dependency without installing?

On Mon, Sep 04, 2006 at 01:48:58PM +0200, Hoehle, Joerg-Cyril wrote:
> Hi,
> Aptitude's highlighting of installed/not installed packages is great!
> I've downloaded a .deb, not from /etc/apt/sources.list.
> I wish to check without running dpkg --install foo.deb whether all
> dependencies for this .deb are satisfied, or whether I need to install
> more packages.
> apt-get --dry-run --simulate --no-act does not seem to fit because it
> checks a package from a known repository, not my local .deb file.
> It looks like I'm missing something like rpm's --nobuild.
> dpkg --info foo.deb is of little help: I would need to check by hand each
> element in the Depends: line, e.g. is libatk1.0.0 (>= 1.12.1) satisfied? 
> I discovered dpkg --dry-run -i foo.deb, but that did not report unsatisfied dependencies (although I now know there are some, after trying dpkg -i foo.deb out of despair).
> What did I miss?
If you use `dpkg --control pkg_file`, then it will show you all of the
control information for the package, including dependencies.



Roberto C. Sanchez

Attachment: signature.asc
Description: Digital signature

Reply to: