-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Description
When attempting to build this project on an Ubuntu 18.10 based VM (using the ubuntu-18-10
image on DCOA), the build fails with the following error message:
PACKAGE cloud-init: STAGE prepare STARTED
Running: prepare
Running: install_source_package_build_deps
Running: sudo env DEBIAN_FRONTEND=noninteractive apt-get build-dep -y cloud-init
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
Error: failed command 'sudo env DEBIAN_FRONTEND=noninteractive apt-get build-dep -y cloud-init'
Error: failed command './buildpkg.sh cloud-init'
make: *** [Makefile:26: all] Error 1
This appears to be due to the deb-src
lines in /etc/apt/sources.list
being commented out:
± grep deb-src /etc/apt/sources.list
# deb-src http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ cosmic main restricted
# deb-src http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ cosmic-updates main restricted
# deb-src http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ cosmic universe
# deb-src http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ cosmic-updates universe
# deb-src http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ cosmic multiverse
# deb-src http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ cosmic-updates multiverse
# deb-src http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ cosmic-backports main restricted universe multiverse
# deb-src http://archive.canonical.com/ubuntu cosmic partner
# deb-src http://security.ubuntu.com/ubuntu cosmic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu cosmic-security universe
# deb-src http://security.ubuntu.com/ubuntu cosmic-security multiverse
We should either update the bootstrap image configuration to enable these repositories, or enable them dynamically via this project's build system.
Metadata
Metadata
Assignees
Labels
No labels