Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-18-2005, 02:25 AM   #1
Registered: Nov 2004
Location: Romania
Distribution: Debian maniak(apt-get upgrade)
Posts: 85

Rep: Reputation: 15
Question dependency madness with .deb files

their is a program checkinstall to make .deb file from file).Their is one problem : that deb file does not contain the packages that depends on so on the sistem that the deb was build it will work(because it compiled) but on another system it may not.
So i want to know if i have a executable file(instaled froma .deb file or even with "make install" from source) how do i find the packages that are needed for that executable to run?
Or how do debian maintainers know what packges to depend for their .deb ?
Old 03-18-2005, 06:39 AM   #2
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Search here for what package you want, then click on its name and you should get a page with all the dependencies.
Old 03-18-2005, 07:27 AM   #3
Registered: Nov 2004
Location: Romania
Distribution: Debian maniak(apt-get upgrade)
Posts: 85

Original Poster
Rep: Reputation: 15
I was not looking the a "known" package, i was speaking about an executable(not in debain reposotory).
But i found the answer on "maint-guide" package help:

strace -f -o /tmp/log ./configure
# or make instead of ./configure, if the package doesn't use autoconf
for x in `dpkg -S $(grep open /tmp/log|\
perl -pe 's!.* open\(\"([^\"]*).*!$1!' |\
grep "^/"| sort | uniq|\
grep -v "^\(/tmp\|/dev\|/proc\)" ) 2>/dev/null|\
cut -f1 -d":"| sort | uniq`; \
do \
echo -n "$x (>=" `dpkg -s $x|grep ^Version|cut -f2 -d":"` "), "; \


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
64 bit .deb files? yekrahs Debian 2 11-25-2005 05:57 AM
Modify dependency in deb package Muffe Debian 2 08-26-2005 07:11 PM
dependency hell - installing .deb files without apt-get SerfurJ Debian 5 01-27-2005 03:51 PM
.deb files unkind Debian 2 11-29-2003 09:48 PM
Where you place non deb files Kroenecker Debian 4 10-12-2003 11:55 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration