Trying to download docker on my raspberry pi 4 - docker

I'm trying to download docker on my raspberry pi 4 but I keep getting the same error.
The error message I get is:
W: https://deb.nodesource.com/node_14.x/dists/buster/InRelease: No system certificates available. Try installing ca-certificates.
W: https://deb.nodesource.com/node_14.x/dists/buster/Release: No system certificates available. Try installing ca-certificates.
E: The repository 'https://deb.nodesource.com/node_14.x buster Release' no longer has a Release file.
I don't understand this because I've re-installed ca-certificate but that still doesn't fix it.
(Note: I don't know if this means anything but I also get the same error when I run sudo apt update)

Okay I fixed the problem by simple running sudo apt-get install --reinstall ca-certificates

Related

Installing gtk2.0 on raspberry Pi

I am quite new or Rasperry Pi and am working on an object detection project that I found online. I am having an issue when trying to install gtk2.0 on the PI. Its like the repo simply wont download for me.
I have tried
sudo apt-get install build-essential cmake pkg-config
sudo apt-get install libgtk2.0-dev libgtk-3-dev
sudo apt-get install libgtk2.0-dev
When trying to install the package it is able to retrieve the information about the package but not able to install it as seen in the screenshots below.
I have tried both Bullseye and Buster os for the PI and still the same issue.
I have installed gtk3.0 but still faces with the same issue if I try and run the final code.
also have tried downloading the package on multiple different networks and its still the same
Any help would you be greatly appreciated as I really am losing hope for this project
The project guide I am following ishttps://core-electronics.com.au/guides/object-identify-raspberry-pi/

How to update SELinux version in CentOS? (Docker install)

I'm trying to install docker-engine-1.13.1 on my CentOS machine following this instruction: https://docs.docker.com/cs-engine/1.13/#install-on-centos-7172--rhel-70717273-yum-based-systems
But I keep getting this error message
So the problem is that my SELinux version is low (3.13.1-23), and I need higher version (3.13.1-60)
I've tried 'yum -y update selinux-policy-targeted' but didn't work.
Can anyone help me update selinux?
Or is there any other way I can install docker properly?

Docker install in Ubuntu trusty

Trying to install Docker in Ubuntu trusty following instructions here:
https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/
Tried first to use repo. That failed with
E: Unable to locate package docker-ce
Next, tried to download .deb file, but I could not find it at
https://download.docker.com/linux/ubuntu/dists/trusty/stable/
Finally tried get-docker.sh script, that failed with:
W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/trusty/InRelease Unable to find expected entry ‘edge/binary-i386/Packages’ in Release file (Wrong sources.list entry or malformed file)
How can I do this install? This should not be so hard, so it’s probably me, but I don’t know what I am doing wrong.

I can't run the "perf" command. Perf is a linux profiler for stack traces

Trying to use the perf profiler. I've installed linux generic tools, but no luck. Here is the message I'm getting:
r#r-K55A:~$ perf
WARNING: perf not found for kernel 3.16.0-45
You may need to install the following packages for this specific kernel:
linux-tools-3.16.0-45-generic
linux-cloud-tools-3.16.0-45-generic
You may also want to install one of the following packages to keep up to date:
linux-tools-generic
linux-cloud-tools-generic
I've tried to install the above packages, but I get the following error:
Unable to locate package linux-tools-3.16.0-45-generic
E: Couldn't find any package by regex 'linux-tools-3.16.0-45-generic'
You can safely use this snippet:
sudo apt install linux-tools-common linux-tools-generic linux-tools-$(uname -r)
I could never get it working. Updated my Kernal to newest stable version and tried to download the above packages from sudo apt-get install. I finally found the packages manually online, and it's working fine.

Unable to install docker 1.5 on ubuntu 14.04 64bit

Currently I have docker 1.0 verion in my vm(Ubuntu 14.04 64bit) I want to upgrade it to latest version(1.5) but facing some issue. Kindly help.
First I tried getting key with below command, it is successful.
sudo apt-key adv --keyserver-options https-proxy="http://p72293:peedeE(6)#172.18.1.38:8080/" --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
Second, I do "sudo apt-get update" but I get below error message for get.docker.com
W: Failed to fetch
https://get.docker.com/ubuntu/dists/docker/main/binary-amd64/Packages
W: Failed to fetch
https://get.docker.com/ubuntu/dists/docker/main/binary-i386/Packages
E: Some index files failed to download. They have been ignored, or old
ones used instead.
Third, I do sudo apt-get install lxc-docker but I get below error.
E: Unable to locate package lxc-docker
Kindly help me to resolve this issue and upgrade to newer version. I want to use --bridge option which is not available in 1.0.
Note: I am behind a proxy. But all required setting is done.
Check the doc for Ubuntu installation at https://docs.docker.com/installation/ubuntulinux/ or you can try the script that guesses your OS and installs curl -sSL https://get.docker.com/ubuntu/ | sudo sh
Are you sure you're using 64-bit ubuntu? I was using 32-bit ubuntu and that was the reason of error. Then I changed it to 64-bit, that was the fix.
Docker requires a 64-bit installation regardless of your Ubuntu version.
Details is here https://docs.docker.com/installation/ubuntulinux/ and here http://blog.marcelotmelo.com/linux/ubuntu/vagrant-and-docker-provisioner/

Resources