Page MenuHomeVyOS Platform

Building Crux from Docker Image failing to download repo index
Closed, ResolvedPublic

Description

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

Viacheslav changed the task status from Open to Confirmed.May 21 2021, 12:45 PM
Viacheslav triaged this task as High priority.
Viacheslav added a project: VyOS 1.2 Crux.

It is redirected from

http://archive.repo.saltstack.com/apt/debian/8/amd64/2017.7

to

https://archive.repo.saltproject.io/apt/debian/8/amd64/2017.7

I've tested with replacing deb source from http://archive.repo.saltstack.com to https://archive.repo.saltproject.io in vyos-build/data/defaults.json

But same behaviour.

Get:24 http://deb.debian.org jessie/non-free Translation-en [72.0 kB]
Fetched 22.1 MB in 13s (1614 kB/s)
W: Failed to fetch https://archive.repo.saltproject.io/apt/debian/8/amd64/2017.7/dists/jessie/main/binary-amd64/Packages  

E: Some index files failed to download. They have been ignored, or old ones used instead.

Although wget can download it:

--2021-06-08 12:25:27--  https://archive.repo.saltproject.io/apt/debian/8/amd64/2017.7/dists/jessie/main/binary-amd64/Packages
Resolving archive.repo.saltproject.io (archive.repo.saltproject.io)... 99.86.162.105, 99.86.162.116, 99.86.162.120, ...
Connecting to archive.repo.saltproject.io (archive.repo.saltproject.io)|99.86.162.105|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 60439 (59K) [application/octet-stream]
Saving to: ‘Packages’

Packages                                    100%[==========================================================================================>]  59.02K  --.-KB/s   in 0.03s  

2021-06-08 12:25:27 (1.69 MB/s) - ‘Packages’ saved [60439/60439]
Viacheslav changed the task status from Confirmed to Needs testing.Jun 15 2021, 8:10 AM

Just tried to compile the ISO image but I got an other error:

/usr/lib/live/build/chroot_debianchroot: line 50: chroot/etc/debian_chroot: No such file or directory
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists...
Building dependency tree...
W: Unable to read /etc/apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)
W: Unable to read /etc/apt/sources.list.d/ - DirectoryExists (2: No such file or directory)
W: Unable to read /etc/apt/sources.list - RealFileExists (2: No such file or directory)
W: Unable to read /etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)

Not sure it is related to the issue discussed here.

I opened a new ticket for an error that is now occurring while building the iso in the docker container.

https://phabricator.vyos.net/T3627

Viacheslav claimed this task.