Comments (7)
@rongguodong lol this is you using simulator way back?
from simulator.
Please try to update docker-compose: https://docs.docker.com/compose/install/#install-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
/usr/local/bin/docker-compose build
from simulator.
@rongguodong Are you able to build the simulator with the updated docker-compose ?
from simulator.
I now got errors for apt-get update:
==============================================
~/lgsvl/simulator/Docker$ /usr/local/bin/docker-compose build
WARNING: The UID variable is not set. Defaulting to a blank string.
Building auto-sim-build
Step 1/2 : FROM ubuntu:16.04
---> b9e15a5d1e1a
Step 2/2 : RUN set -ex && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && DEBIAN_FRONTEND=noninteractive apt-get install -y sudo curl xvfb zip gconf-service lib32gcc1 lib32stdc++6 libasound2 libc6 libc6-i386 libcairo2 libcap2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libfreetype6 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libgl1 libglib2.0-0 libglu1 libgtk2.0-0 libnspr4 libnss3 libpango1.0-0 libstdc++6 libx11-6 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxtst6 zlib1g debconf npm libgtk2.0-0 libsoup2.4-1 libarchive13 libpng16-16 && apt-get clean && curl -fLo UnitySetup https://beta.unity3d.com/download/170f0691b973/UnitySetup-2018.1.0f2 && chmod +x UnitySetup && yes | ./UnitySetup --unattended --install-location=/opt/Unity --components=Unity,Windows-Mono && rm UnitySetup
---> Running in 7b5b4a4e2e17
- apt-get update
Err:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Temporary failure resolving 'archive.ubuntu.com'
Reading package lists...
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease Temporary failure resolving 'security.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead. - DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. - DEBIAN_FRONTEND=noninteractive apt-get install -y sudo curl xvfb zip gconf-service lib32gcc1 lib32stdc++6 libasound2 libc6 libc6-i386 libcairo2 libcap2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libfreetype6 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libgl1 libglib2.0-0 libglu1 libgtk2.0-0 libnspr4 libnss3 libpango1.0-0 libstdc++6 libx11-6 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxtst6 zlib1g debconf npm libgtk2.0-0 libsoup2.4-1 libarchive13 libpng16-16
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package sudo
E: Unable to locate package curl
E: Unable to locate package xvfb
E: Unable to locate package zip
E: Unable to locate package gconf-service
E: Unable to locate package lib32gcc1
E: Unable to locate package lib32stdc++6
E: Couldn't find any package by regex 'lib32stdc++6'
E: Unable to locate package libasound2
E: Unable to locate package libc6-i386
E: Unable to locate package libcairo2
E: Unable to locate package libcups2
E: Unable to locate package libdbus-1-3
E: Unable to locate package libexpat1
E: Unable to locate package libfontconfig1
E: Unable to locate package libfreetype6
E: Unable to locate package libgconf-2-4
E: Unable to locate package libgdk-pixbuf2.0-0
E: Couldn't find any package by glob 'libgdk-pixbuf2.0-0'
E: Couldn't find any package by regex 'libgdk-pixbuf2.0-0'
E: Unable to locate package libgl1
E: Unable to locate package libglib2.0-0
E: Couldn't find any package by glob 'libglib2.0-0'
E: Couldn't find any package by regex 'libglib2.0-0'
E: Unable to locate package libglu1
E: Unable to locate package libgtk2.0-0
E: Couldn't find any package by glob 'libgtk2.0-0'
E: Couldn't find any package by regex 'libgtk2.0-0'
E: Unable to locate package libnspr4
E: Unable to locate package libnss3
E: Unable to locate package libpango1.0-0
E: Couldn't find any package by glob 'libpango1.0-0'
E: Couldn't find any package by regex 'libpango1.0-0'
E: Unable to locate package libx11-6
E: Unable to locate package libxcomposite1
E: Unable to locate package libxcursor1
E: Unable to locate package libxdamage1
E: Unable to locate package libxext6
E: Unable to locate package libxfixes3
E: Unable to locate package libxi6
E: Unable to locate package libxrandr2
E: Unable to locate package libxrender1
E: Unable to locate package libxtst6
E: Unable to locate package npm
E: Unable to locate package libgtk2.0-0
E: Couldn't find any package by glob 'libgtk2.0-0'
E: Couldn't find any package by regex 'libgtk2.0-0'
E: Unable to locate package libsoup2.4-1
E: Couldn't find any package by glob 'libsoup2.4-1'
E: Couldn't find any package by regex 'libsoup2.4-1'
E: Unable to locate package libarchive13
E: Unable to locate package libpng16-16
ERROR: Service 'auto-sim-build' failed to build: The command '/bin/sh -c set -ex && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && DEBIAN_FRONTEND=noninteractive apt-get install -y sudo curl xvfb zip gconf-service lib32gcc1 lib32stdc++6 libasound2 libc6 libc6-i386 libcairo2 libcap2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libfreetype6 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libgl1 libglib2.0-0 libglu1 libgtk2.0-0 libnspr4 libnss3 libpango1.0-0 libstdc++6 libx11-6 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxtst6 zlib1g debconf npm libgtk2.0-0 libsoup2.4-1 libarchive13 libpng16-16 && apt-get clean && curl -fLo UnitySetup https://beta.unity3d.com/download/170f0691b973/UnitySetup-2018.1.0f2 && chmod +x UnitySetup && yes | ./UnitySetup --unattended --install-location=/opt/Unity --components=Unity,Windows-Mono && rm UnitySetup' returned a non-zero code: 100
from simulator.
this looks like a DNS problem in docker. are you able to use 8.8.8.8 DNS in your network?
nslookup google.com 8.8.8.8
if so, you can try to add that in /etc/default/docker
DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"
otherwise you can look for solution here:
https://stackoverflow.com/questions/24991136/docker-build-could-not-resolve-archive-ubuntu-com-apt-get-fails-to-install-a
from simulator.
@rongguodong
If you still have issues with Docker, you can try to build it locally on you host machine:
/opt/Unity/Editor/Unity \
-batchmode \
-nographics \
-silent-crashes \
-quit \
-buildDestination /path/to/output/folder/simulator \
-buildTarget Linux64 \
-executeMethod BuildScript.Build \
-projectPath /path/to/simulator/source/code
from simulator.
@rongguodong lol this is you using simulator way back?
I do not even remember what I was talking about. :p
from simulator.
Related Issues (20)
- about linear_accelerate of IMU
- [Question] lgsvl simulator provide interfaces like lidar/radar(sensor data) to application/program or Hardware-Nvidia Jetson
- Autoware.auto / LGSVL simulator - AVP demo: Connection problems - crash: lgsvl_simulation_main.py: agent is missing bridge client HOT 10
- How to obtain the coordinates of the sensing data of the Lidar on the vehicle in the simulator?
- Error building new map asset after exporting from RoadRunner HOT 1
- All buttons on the start screen are unclickable
- Nondescript error when running new API simulation
- NPCs float in the air when using VSE waypoint HOT 1
- lgsvl service can't work HOT 9
- Cloud Service don't work HOT 3
- Does anyone snapshot the latest documentation of the svlsimulator? HOT 4
- Cannot connect http://www.svlsimulator.com/ and cannot go online HOT 3
- Can not open the simulator
- Autoware Auto and SVL simulator HOT 1
- 3D ground truth sensor cannot detect pedestrian HOT 1
- Do you happen to know what are the translation, rotation, and intrinsic matrices for the LGSVL simulator?
- Test the position relationship between GPS and IMU
- Dimensions of the vehicles HOT 1
- Is there a bridge like ros2-humble-bridge? HOT 1
- Cannot open lgsvl simulator in ubuntu HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simulator.