1,049 questions
0 votes
1 answer
93 views
Trying to lock Docker image to versions of eclipse-temurin and maven
I'm trying to run a simple Java app: package com.lbg.test_artifact; import java.io.IOException; public class App { public static void main( String[] args ) throws IOException { int ...
1 vote
1 answer
899 views
Why do I get "out of memory" when running apt-get in docker build [closed]
I'm trying to install ca-certificates in my docker container and really having no luck. I can apt-get update, and I can install some other packages, but not curl or ca-certificates. Further, if I run ...
1 vote
1 answer
319 views
bash: apt-get: command not found in bitbucket pipeline
I've been trying to build a pipeline to test my deploys in bitbucket but i keep getting this problem + apt-get update && \ apt-get install -y \ fonts-liberation \ libasound2 \ libatk-bridge2.0-...
-1 votes
2 answers
17k views
ERROR: failed to solve: process "/bin/sh -c apt-get update" [closed]
I have the following Dockerfile where I want to build a Docker container from the image at https://hub.docker.com/r/julianassmann/opencv-cuda/: FROM julianassmann/opencv-cuda #image name with OpenCV ...
0 votes
1 answer
131 views
docker images on different computers are different
I am running a docker image on 2 different computers and the contents of said image are different. I am ensuring they are the same image by specifying the digest as such docker run -it ubuntu@sha256:...
0 votes
0 answers
23 views
How to install cURL and grep in Debian based image (postgres:10)? [duplicate]
I'm using the postgres:10 official image (restoring a db with OIDs that are not supported in latest) and I need to also install curl and grep. The docs say that the (new versions at least) default to ...
-2 votes
2 answers
347 views
Upgrade nodejs in Ubuntu 22 failed
nodejs -v v12.22.9 I tried to upgrade sudo apt remove nodejs sudo apt install nodejs I got error: (Reading database ... 220599 files and directories currently installed.) Preparing to unpack .../...
2 votes
1 answer
9k views
Dockerfile cannot run apt-get (exit code: 100) [duplicate]
I'm working with yocto and I'm trying to build my custom image using this a base: yocto-ubuntu-20.04. I have this simple docker file: FROM reliableembeddedsystems/yocto:ubuntu-20.04-base RUN apt-get ...
0 votes
1 answer
324 views
Error fetching packages during AWS CLI installation on CircleCI
I have an older project using ruby 2.4.2 I am trying to get up and running again. Before committing to huge overall, I want to build it successfully in CircleCI. I am using this image docker: - image:...
0 votes
0 answers
813 views
Problem for installing package for specific Python version via apt-get on Raspberry Pi
I have two Python versions on my Pi4: 3.11 is default and I manually added 3.9. Both are working fine. Now I have to install a package via apt-get, because there is no pip version of it: sudo apt-get ...
0 votes
0 answers
1k views
There is GPG error when I use MongoDB 4.4
I am very new about MongoDB, And I want to use MongoDB 4.4 Version on Ubuntu 18.04. So I installed it. But, some GPG error comes up when I use sudo apt-get update. It is about 4.0 version. Ign:2 https:...
1 vote
1 answer
6k views
Installing NVM - curl: (23) Failure writing output to destination - Permision denied
I was trying to download the node 18 on Ubuntu 22.04, however, I couldn't do it by apt-get or do so by nvm. I need help, because without node I can't develop my projetcs. I'm from Brazil, so some of ...
0 votes
3 answers
1k views
apt-get error on VirtualBox Ubuntu. E: Malformed entry 58 in list file /etc/apt/sources.list (Component) E: The list of sources could not be read
I am using Ubuntu 20.04 with Virtualbox on a Windows PC. I am trying to install libraries or simply update using apt-get by using: sudo apt-get install libncurses5-dev libncursesw5-dev sudo apt-get ...
1 vote
0 answers
319 views
Why can't I successfully execute the apt-get install command inside a docker container?
I have successfully created a docker container for a python environment, logged in as root user and used console interaction. However, when I run the command "apt-get install -y netcat", it ...
0 votes
1 answer
2k views
Intermittent Dockerfile Issue: Problem executing scripts APT::Update::Post-Invoke
This pipeline ran fine a week ago, but without any changes on my side to the dockerfile and the .gitlab-ci.yml, I started experiencing this issue. I have a pipeline running through gitlab and its ...