This shell snippet used to work for installing IMP on google colab, but it seems to have stopped working:
!echo "deb https://integrativemodeling.org/latest/download/ $(lsb_release -cs)/" > /etc/apt/sources.list.d/salilab.list !apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 22A3BF2B !apt update !apt install imp
Is it the proper way, and is it supposed to work at all? There seems to be an issue with the key.
Thanks! Barak
Hi Barak, This used to work for me, maybe you can try?
!pip install -q condacolab import condacolab condacolab.install() !conda install -C salilab imp
Cheers
Sent from my iPhone
> On 18 Jan 2023, at 14:28, Barak Raveh barak.raveh@gmail.com wrote: > > > This shell snippet used to work for installing IMP on google colab, but it seems to have stopped working: > > !echo "deb https://integrativemodeling.org/latest/download/ $(lsb_release -cs)/" > /etc/apt/sources.list.d/salilab.list > !apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 22A3BF2B > !apt update > !apt install imp > > Is it the proper way, and is it supposed to work at all? There seems to be an issue with the key. > > Thanks! > Barak > > > _______________________________________________ > IMP-dev mailing list > imp-dev@salilab.org > https://salilab.org/mm/postorius/lists/imp-dev.salilab.org/
On 1/18/23 5:27 AM, Barak Raveh wrote: > This shell snippet used to work for installing IMP on google colab, but > it seems to have stopped working: > > !echo "deb https://integrativemodeling.org/latest/download/ $(lsb_release -cs)/" > > /etc/apt/sources.list.d/salilab.list > !apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 22A3BF2B > !apt update > !apt install imp
See https://integrativemodeling.org/download-linux.html We had to change the signing key for this release because the old key used SHA1, which is no longer supported by recent operating systems such as RedHat Enterprise 9.
I believe "apt-key adv" is deprecated. The officially supported way to add a key now is to put it in /etc/apt/trusted.gpg.d/. See that URL above or one of the tutorials at https://integrativemodeling.org/tutorials/ that use Colab, e.g. the deposition tutorial at https://colab.research.google.com/github/salilab/imp_deposition_tutorial/blo...
As Riccardo mentioned, an alternative is to replace Google's Python with conda using the condacolab package. That works too[*] and is certainly helpful if you also want to install conda packages. I find it takes a lot longer to run than installing the Debian package though, since it also has to install all of IMP's dependencies, most of which are already there for the Debian package. Plus, since it replaces Python, it restarts the kernel which some users may find confusing.
[*] However, you don't need to use the "salilab" conda channel any more. IMP is part of conda-forge now.
Ben
On 1/18/23 9:15 AM, Ben Webb wrote: > On 1/18/23 5:27 AM, Barak Raveh wrote: ... >> !apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 22A3BF2B ... > I believe "apt-key adv" is deprecated.
However, it should still work if you want to pull the key from a keyserver - just replace the old key 22A3BF2B with the new one E6414C85.
Ben
Thanks, Ben and Riccardo! (and Dina offline, what a reunion)
On Wed, Jan 18, 2023 at 7:23 PM Ben Webb ben@salilab.org wrote:
> On 1/18/23 9:15 AM, Ben Webb wrote: > > On 1/18/23 5:27 AM, Barak Raveh wrote: > ... > >> !apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 22A3BF2B > ... > > I believe "apt-key adv" is deprecated. > > However, it should still work if you want to pull the key from a > keyserver - just replace the old key 22A3BF2B with the new one E6414C85. > > Ben > -- > ben@salilab.org https://salilab.org/~ben/ > "It is a capital mistake to theorize before one has data." > - Sir Arthur Conan Doyle > _______________________________________________ > IMP-dev mailing list > imp-dev@salilab.org > https://salilab.org/mm/postorius/lists/imp-dev.salilab.org/ >
participants (3)
-
Barak Raveh
-
Ben Webb
-
Riccardo Pellarin