LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Containers
User Name
Password
Linux - Containers This forum is for the discussion of all topics relating to Linux containers. Docker, LXC, LXD, runC, containerd, CoreOS, Kubernetes, Mesos, rkt, and all other Linux container platforms are welcome.

Notices


Reply
  Search this Thread
Old 03-26-2017, 11:39 AM   #1
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 234

Rep: Reputation: Disabled
Can Docker be used for software with unmet dependencies?


Newbie question here, running Ubuntu 16.10.

I wanted to install Brackets on my computer (http://brackets.io/

Problem is that it encountered unmet dependencies: "Dependency is not satisfiable: libgryct 11 (>=1.4.5)"

If you use Docker, would it be possible to install the program anyway?
If so, can you provide a link to a webpage how this could be done?

A big thank you beforehand.
 
Old 03-26-2017, 12:18 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
This doesn't answer your question directly, but I had the same problem on Mint, which no longer has libgcrypt 11 in the repos, and got around it by manually installing the libgcrypt package (64-bit version) from ftp://ftp.debian.org/debian/pool/mai...b7u4_amd64.deb after reading the following thread:

https://github.com/adobe/brackets/issues/10255
 
1 members found this post helpful.
Old 03-27-2017, 03:41 PM   #3
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 234

Original Poster
Rep: Reputation: Disabled
Thank you for your answer, hydrurga. I will look into it, but it seems to me that it is a solution to my problem.
 
Old 03-27-2017, 07:32 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Let us know how brackets works out too. Looks interesting.
 
Old 03-27-2017, 07:35 PM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,691
Blog Entries: 4

Rep: Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947
Obviously, any software that requires the presence of any other software library ... cannot possibly run without it, no matter what the environment in question may be.

Every now and then, the "software dependency resolution" mechanisms fail to do exactly the right thing automagically, and so you are obliged to install the missing package [version ...] yourself. So it goes ...
 
Old 04-13-2017, 06:21 AM   #6
simosx
Member
 
Registered: Jul 2005
Posts: 66

Rep: Reputation: 11
Ideally, there should be a snap package (or other universal package) for Brackets.
Not there yet,
https://github.com/adobe/brackets/issues/12531

Since we talk about containers here, and Brackets requires an obsolete "libgcrypt11" library, you can install Ubuntu 14.04 in an LXD container (has the old library), then install the distributed Brackets package in there.

Code:
lxc launch ubuntu:14.04 mybrackets
lxc exec mybrackets -- apt-get update
lxc exec mybrackets -- wget https://github.com/adobe/brackets/releases/download/release-1.9/Brackets.Release.1.9.64-bit.deb
lxc exec mybrackets -- dpkg -i Brackets.Release.1.9.64-bit.deb
lxc exec mybrackets -- apt-get -f install
This creates a container called "mybrackets", running Ubuntu 14.04. Then, it runs a "apt update" inside the container.
Afterwards, it downloads the read-made Brackets .deb package and installs it with "dpkg -i".
There are dependencies there, therefore, we run "apt-get -f install" to sort them out.

You then need to be able to SSH into "mycontainer".
This means that you need to place your SSH public key in the account "ubuntu" (/home/ubuntu/.ssh/authorized_keys) in the container.
Here is how to do this:

Code:
cat ~/.ssh/id_rsa.pub | lxc exec mybrackets -- sudo --login --user ubuntu tee /home/ubuntu/.ssh/authorized_keys
Finally, let's run "brackets" in the container and have it appear on our desktop X.
Code:
ssh -X ubuntu@mybrackets.lxd brackets
That's it.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] unmet dependencies lazza1329 Ubuntu 4 03-14-2015 12:31 PM
How do I install "unmet dependencies" so I can get an app from the software center? actyler1012 Linux - Newbie 1 02-18-2013 11:47 AM
unmet dependencies mbvo Linux - Software 10 02-16-2012 10:18 PM
unmet dependencies fof3 Debian 11 10-27-2008 02:08 PM
Unmet dependencies. maikie Debian 7 09-04-2007 05:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Containers

All times are GMT -5. The time now is 11:47 AM.

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