TurnKey Linux Virtual Appliance Library

How to satisfy package dependencies in TKLPatch /debs directory and overlay question

rob.r374's picture


are packages that are meant to be installed installed together with their dependencies or should I deal with this in some other way ? if yes, which one is the easiest? 

Also: if I have a file in overlay that is of the same name/path as existing - will it replace it ?

Thanks in advance,



Liraz Siri's picture

A few tips

Yes, overlays overwrite existing files. That's sort of the point.

Debian packages in debs/ are installed with dpkg -i, not apt-get so you don't get automatic dependency resolution. I updated the documentation to make that more clear. If you want to install packages from a repository with full dependency resolution it's best to use apt-get in the configuration script:

apt-get update
apt-get install foobar

bulek's picture

Hi, thanks for response. Can


thanks for response. Can I apt-get install from custom created-added packages in Turnkey debs directory or anywhere else ?

Thanks in advance,


Liraz Siri's picture

You can add packages any repository

If you take a look at the files in /etc/apt/sources.list.d/ you'll see where apt-get is configured to get packages from. In TurnKey, apt is configured by default to get packages from the Ubuntu package repository and from the TurnKey package repository.

There's a tutorial about package installation in the community documentation you might want to take a look at.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)