-
Notifications
You must be signed in to change notification settings - Fork 48
Description
Hello,
is there a way that incorrect responses from a mirror can be ignored? Otherwise the further execution in a GitLab pipeline aborts.
RUN apt-select --country DE
Getting list of mirrors...done.
Testing latency to mirror(s)
connection to ftp.rz.tu-bs.de: [Errno 111] Connection refused
[45/45] 100%
Getting list of launchpad URLs...done.
Looking up 1 status(es)
Traceback (most recent call last):
File "/root/.local/bin/apt-select", line 8, in
sys.exit(main())
^^^^^^
File "/root/.local/lib/python3.12/site-packages/apt_select/main.py", line 245, in main
apt_select()
File "/root/.local/lib/python3.12/site-packages/apt_select/main.py", line 175, in apt_select
sources.set_current_archives()
File "/root/.local/lib/python3.12/site-packages/apt_select/apt.py", line 161, in set_current_archives
raise SourcesFileError((
apt_select.apt.SourcesFileError: Error finding current main URI in /etc/apt/sources.list
Skipping file generation
Regards
nowrap