Skip to content

apt/retries: specify option from the Acquire group - #638

Merged
XECDesign merged 1 commit into
RPi-Distro:masterfrom
kralo:master
Oct 14, 2022
Merged

apt/retries: specify option from the Acquire group#638
XECDesign merged 1 commit into
RPi-Distro:masterfrom
kralo:master

Conversation

@kralo

@kralo kralo commented Oct 14, 2022

Copy link
Copy Markdown
Contributor

retries did not work for me.

Per man apt.conf, Acquire group is not part of the apt group.

See also the code,
which looks for the config option Retries(_config->FindI("Acquire::Retries", and not APT::Acquire::Retries

The only settings lookup I found was ever for APT::Acquire::Translation, which is deprecated.

apt (0.8.15) unstable; urgency=low
    - don't set deprecated APT::Acquire::Translation, thanks Jörg Sommer!

[ retries=3 later became standard, but wise to specify for all older versions ]

per man apt.conf, Acquire group is not part of the apt group
@XECDesign

Copy link
Copy Markdown
Member

Confirmed locally by running http_proxy="http://localhost" apt-get -o Acquire::Retries=2 update

Thanks for spotting this

@XECDesign
XECDesign merged commit f00b722 into RPi-Distro:master Oct 14, 2022
martignoni added a commit to moodlebox/pi-gen-moodlebox that referenced this pull request Nov 11, 2022
…i-Distro-master

* 'master' of https://github.com/RPi-Distro/pi-gen:
  use a single partitioned loop device (RPi-Distro#641)
  Add parameter to keep cap_setfcap
  Updates to avoid common pitfalls when changing the RELEASE variable
  stage2: pre-install kms++-utils
  apt/retries: specify option from the Acquire group (RPi-Distro#638)
  Update README.md document WPA_COUNTRY Code format (RPi-Distro#636)
  Update release notes
  Disable first run wizard if DISABLE_FIRST_BOOT_USER_RENAME is set
  Update release notes
  Update release notes
  nodered is no longer included in full images
martignoni added a commit to moodlebox/pi-gen-moodlebox that referenced this pull request Nov 11, 2022
* RPi-Distro-master:
  use a single partitioned loop device (RPi-Distro#641)
  Add parameter to keep cap_setfcap
  Updates to avoid common pitfalls when changing the RELEASE variable
  stage2: pre-install kms++-utils
  apt/retries: specify option from the Acquire group (RPi-Distro#638)
  Update README.md document WPA_COUNTRY Code format (RPi-Distro#636)
  Update release notes
  Disable first run wizard if DISABLE_FIRST_BOOT_USER_RENAME is set
  Update release notes
  Update release notes
  nodered is no longer included in full images
oschrenk added a commit to oschrenk/pi-gen that referenced this pull request Jan 22, 2023
* upstream: (30 commits)
  apt/retries: specify option from the Acquire group (RPi-Distro#638)
  Update README.md document WPA_COUNTRY Code format (RPi-Distro#636)
  Update release notes
  Disable first run wizard if DISABLE_FIRST_BOOT_USER_RENAME is set
  Update release notes
  Update release notes
  nodered is no longer included in full images
  Update release notes
  Update release notes
  Switch to sys-mods' firstboot script
  Install 'file'
  Update release notes
  Install picamera2
  Default to dhcpcd for now
  Use raspi-config to set WPA_COUNTRY
  stage2: Install NetworkManager
  Modify 010_pi-nopasswd to match FIRST_USER_NAME
  Update release notes
  Adjust partition formatting and mount options
  Use unbundled BlueJ variant
  ...
SRaus referenced this pull request in analogdevicesinc/kuiper Jun 6, 2023
per man apt.conf, Acquire group is not part of the apt group
wandering-andy pushed a commit to wandering-andy/pi-gen that referenced this pull request Oct 15, 2023
per man apt.conf, Acquire group is not part of the apt group
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants