conan-io / training

(Deprecated) Support code for conan 1.X trainings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug] Unable to setup Conan training

naveengadi1 opened this issue · comments

Environment Details (include every applicable attribute)

  • Operating System+version: Ubuntu 20.04
  • Compiler+version: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
  • Conan version:1.48.0
  • Python version: 3.8.10

Steps to reproduce (Include if Applicable)

git clone https://github.com/conan-io/training
cd training/docker_environment
docker-compose up -d
docker exec -it conan-training bash

Logs (Executed commands with output) (Include/Attach if Applicable)

2f103ac55ae1

Step 2/8 : USER root
---> Using cache
---> a5e0f1703b58
Step 3/8 : RUN apt-get -qq update && apt-get -qq install -y --no-install-recommends vim nano less g++-arm-linux-gnueabihf cmake
---> Running in bcc27843a78a
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/artful/InRelease Could not resolve 'old-releases.ubuntu.com'
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/artful-updates/InRelease Could not resolve 'old-releases.ubuntu.com'
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/artful-backports/InRelease Could not resolve 'old-releases.ubuntu.com'
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/artful-security/InRelease Could not resolve 'old-releases.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: Unable to locate package vim
E: Unable to locate package nano
E: Package 'less' has no installation candidate
E: Unable to locate package g++-arm-linux-gnueabihf
E: Couldn't find any package by regex 'g++-arm-linux-gnueabihf'
E: Package 'cmake' has no installation candidate
The command '/bin/sh -c apt-get -qq update && apt-get -qq install -y --no-install-recommends vim nano less g++-arm-linux-gnueabihf cmake' returned a non-zero code: 100

-->

commented

Maybe @uilianries could have a look to this docker issue. Thanks!

I don't see those errors, it works for me. Could we update Conan version + GCC version? We are running Conan 1.43.1

commented

Yes, Conan and Gcc version in the image can be upgraded if the training is not broken

@memsharded could you please assign this one to me again. I removed myself by accident and I have no permission to sign.