Page MenuHomeVyOS Platform

Error building docker build image
Closed, ResolvedPublicBUG

Description

These are the commands I ran:

git clone https://github.com/vyos/vyos-build --branch crux
cd vyos-build/
docker build -t vyos-builder docker

This is the error message I got:

Get:1 http://deb.debian.org jessie-updates/main amd64 Packages [20 B]
Get:2 http://deb.debian.org jessie/main amd64 Packages [9,098 kB]
Get:3 http://security.debian.org jessie/updates/main amd64 Packages [918 kB]
Fetched 10.0 MB in 11s (856 kB/s)
W: Failed to fetch http://dev.packages.vyos.net/repositories/current/debian/dists/current/main/binary-amd64/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c apt-get update && apt-get install -y libyang-dev libyang0.16 chrpath install-in fo libjson-c-dev libpython3-dev python3-dev python3-pytest texinfo' returned a non-zero code: 100

Details

Version
Crux
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Hi @max1e6 we are currently migrating the repositories to Debian Buster so there could be some turbulences

c-po changed the task status from Open to In progress.Dec 18 2019, 1:04 PM
c-po claimed this task.

I got the following error:

Reading state information...
E: Unable to locate package libyang-dev
E: Unable to locate package libyang0.16
E: Couldn't find any package by regex 'libyang0.16'
The command '/bin/sh -c apt-get update && apt-get install -y libyang-dev libyang0.16 chrpath install-info libjson-c-dev libpython3-dev python3-dev python3-pytest texinfo' returned a non-zero code: 100

I ran:

git clone https://github.com/vyos/vyos-build --branch crux

into a new directory just to make sure that I was pulling the correct branch.

Solved it by importing libyang binary packages onto http://dev.packages.vyos.net/repositories/crux/debian/pool/main/liby/libyang/ which is even better.

Container build works again

I was able to build the container, but sudo make iso failed with:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
vyos-world : Depends: vyatta-op but it is not going to be installed

Depends: vyatta-config-mgmt but it is not going to be installed
Depends: vyatta-op-firewall but it is not going to be installed
Depends: vyatta-cfg-op-pppoe but it is not going to be installed
Depends: vyatta-op-qos but it is not going to be installed
Depends: vyatta-cfg-quagga but it is not going to be installed
Depends: vyatta-op-quagga but it is not going to be installed
Depends: vyatta-op-vpn but it is not going to be installed
Depends: vyatta-cluster but it is not going to be installed
Depends: vyatta-conntrack but it is not going to be installed
Depends: vyatta-nat but it is not going to be installed
Depends: vyatta-netflow but it is not going to be installed
Depends: vyatta-openvpn but it is not going to be installed
Depends: vyatta-ravpn but it is not going to be installed
Depends: vyatta-wanloadbalance but it is not going to be installed
Depends: vyatta-webproxy but it is not going to be installed
Depends: vyatta-wireless but it is not going to be installed
Depends: vyatta-wirelessmodem but it is not going to be installed
Depends: vyos-nhrp but it is not going to be installed

E: Unable to correct problems, you have held broken packages.
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists...
Building dependency tree...
Reading state information...

I tested this morning and I was able to build the vyos-builder:crux and crux iso.

erkin set Issue type to Bug (incorrect behavior).Aug 31 2021, 6:05 PM