LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 05-19-2008, 03:06 PM   #1
hardbop200
LQ Newbie
 
Registered: Jul 2005
Location: Texas
Distribution: Debian, dyne:bolic
Posts: 11

Rep: Reputation: 0
declining required dependency using apt-get


Hello!

I have a very troublesome issue I need some help with. I'm using Etch, and have compiled the latest JACK audio server from source. Every audio package I want to install tries to install the version of JACK from the repos as a dependency, which I do not want. How do I tell apt to simply install everything BUT the version of JACK from the repos? I've read about pinning, but that method wants you to have a specific package already installed. In my case, there is no package installed, b/c I compiled it myself. I have also considered running a mixed system, but that seems too tricky. Finally, I have attempted to put the package "jackd" on hold by running this:

Code:
aptitude hold jackd
Yet it ignores this if jackd is a required dependency for a package I want to install.

Short of compiling all applications by hand (yikes!!!), is there no way to do this? Am I wanting something that is impossible?

Thanks for your help!
 
Old 05-19-2008, 03:50 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,837

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
It's possible to define a "dummy" equiv package that will fulfill your dependency needs: Apt HOW-TO: equivs However, I've never tried it myself.

One thing I recommend when compiling a program from source is to run it through the checkinstall program instead of running "make install". Checkinstall will wrap up the program's files in a .deb package before installing them, thus making the thing visible to apt. I believe this will satisfy any dependencies for the program as well, though it might depend on the exact package name you give it.

Be careful though. An apt update may try to overwrite your source-compiled version with theirs, so be sure to pin the package to prevent this.
 
Old 05-19-2008, 03:52 PM   #3
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
If you want newer packages, you might consider dist-upgrading to testing.
How did you install jack? As a .deb with checkinstall or some such I take it?

Edit: Slow typing.

Last edited by makuyl; 05-19-2008 at 03:53 PM. Reason: Beaten to it.
 
Old 05-19-2008, 03:57 PM   #4
hardbop200
LQ Newbie
 
Registered: Jul 2005
Location: Texas
Distribution: Debian, dyne:bolic
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by David the H. View Post
It's possible to define a "dummy" equiv package that will fulfill your dependency needs: Apt HOW-TO: equivs However, I've never tried it myself.
In briefly looking over the documentation for equivs, this seems to be exactly what I'm looking for. Thank you very much!!!

Josh
 
Old 05-19-2008, 04:04 PM   #5
hardbop200
LQ Newbie
 
Registered: Jul 2005
Location: Texas
Distribution: Debian, dyne:bolic
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by makuyl View Post
How did you install jack? As a .deb with checkinstall or some such I take it?

Edit: Slow typing.
No, I just did configure - make - make install, but your point about using checkinstall is well taken, I will do that in the future. Thank you!
 
  


Reply


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
cannot install vlc on a fedora 8 i386 os dependency required is libx264.so.56 dipayan Linux - Software 2 02-10-2008 04:26 PM
apt-get dependency problem trebek Ubuntu 3 01-15-2008 07:16 PM
Apt Dependency Deadlock Quantumstate Debian 7 04-23-2006 10:33 AM
Required dependency already installed agtlewis Linux - General 6 10-06-2005 05:48 PM
Older dependency than required AgedNoob Linux - Software 6 10-27-2003 09:28 PM

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

All times are GMT -5. The time now is 01:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration