LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-18-2005, 01:25 AM   #1
zvonSully
Member
 
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 tar.bz(source 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, 05:39 AM   #2
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Search here http://www.debian.org/distrib/packages#search_packages for what package you want, then click on its name and you should get a page with all the dependencies.
 
Old 03-18-2005, 06:27 AM   #3
zvonSully
Member
 
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":"` "), "; \
done
 
  


Reply



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 04:57 AM
Modify dependency in deb package Muffe Debian 2 08-26-2005 06:11 PM
dependency hell - installing .deb files without apt-get SerfurJ Debian 5 01-27-2005 02:51 PM
.deb files unkind Debian 2 11-29-2003 08:48 PM
Where you place non deb files Kroenecker Debian 4 10-12-2003 10:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:06 PM.

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