[elbe-devel] Bugreport: cant open sources.list

Olivier Dion olivier.dion at polymtl.ca
Fri Jul 3 16:04:49 CEST 2020


On Fri, 03 Jul 2020, Christian Teklenborg <chris at linutronix.de> wrote:
> Hi,
>
> i tried to build the example armhf-ti-beaglebone-black with the 
> --skip-build-bin option with the actual master and i got the following 
> stacktrace:
>
> [ERROR] Build failed
> Traceback (most recent call last):
>    File "/var/cache/elbe/devel/elbepack/asyncworker.py", line 194, in 
> execute
>      skip_pbuild=self.skip_pbuilder)
>    File "/var/cache/elbe/devel/elbepack/elbeproject.py", line 603, in build
>      self.install_packages(self.buildenv)
>    File "/var/cache/elbe/devel/elbepack/elbeproject.py", line 982, in 
> install_packages
>      dump_initvmpkgs(self.xml)
>    File "/var/cache/elbe/devel/elbepack/dump.py", line 67, in 
> dump_initvmpkgs
>      slist = hostfs.read_file("etc/apt/sources.list")
>    File "/var/cache/elbe/devel/elbepack/filesystem.py", line 391, in 
> read_file
>      fp = open(path, "r")
> IOError: [Errno 2] No such file or directory: '/etc/apt/sources.list'
> Project build was not successful, current status: build_failed

Your initvm doesn't have a list of repos to used.  I don't know how this
could have been deleted.  

Here's mine on one of my initvm:
----------------------------------------------------------------------
# deb http://ftp.de.debian.org/debian buster main

deb http://ftp.de.debian.org/debian buster main
deb-src http://ftp.de.debian.org/debian buster main

## local server
deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main

## local server
deb http://debian.linutronix.de/elbe buster main
deb-src http://debian.linutronix.de/elbe buster main

## local server
deb http://debian.linutronix.de/elbe-common buster main
deb-src http://debian.linutronix.de/elbe-common buster main
----------------------------------------------------------------------
just copy it to yours.

If it happen again we might want to investigate.

-- 
Olivier Dion
PolyMtl


More information about the elbe-devel mailing list