[Bug 1005597] Re: apt-key net-update timeout = 12 hours
Ubuntu Foundation's Bug Bot
1005597 at bugs.launchpad.net
Mon May 28 20:19:05 UTC 2012
The attachment "usr-bin-apt-key.patch" of this bug report has been
identified as being a patch. The ubuntu-reviewers team has been
subscribed to the bug report so that they can review the patch. In the
event that this is in fact not a patch you can resolve this situation by
removing the tag 'patch' from the bug report and editing the attachment
so that it is not flagged as a patch. Additionally, if you are member
of the ubuntu-reviewers team please also unsubscribe the team from this
bug report.
[This is an automated message performed by a Launchpad user owned by
Brian Murray. Please contact him regarding any issues with the action
taken in this bug report.]
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1005597
Title:
apt-key net-update timeout = 12 hours
Status in “apt” package in Ubuntu:
New
Bug description:
release: Ubuntu 12.04 LTS
package: apt 0.8.16~exp12ubuntu10
file: /usr/bin/apt-key
we are using closed network without internet access and local ubuntu mirror,
all PC configured to make unattended security upgrades every day,
but i found some PCs that never make upgrades,
and the problem is as follows:
cron daily job /etc/cron.daily/apt every time run apt-key net-update
that uses wget to download key
/usr/bin/apt-key string 106: (cd /var/lib/apt/keyrings; wget
--timeout=90 -q -N $ARCHIVE_KEYRING_URI)
our routers are not configured to send ICMP Destination Unreachable,
and wget timeout in this case is:
24 servers * 90 seconds timeout * 20 wget default tries = 12 hours
working uptime of most PCs are 9-10 hours, so they are not able to
completely fulfill their tasks and are not upgraded
this problem can be simple fix by adding --tries=1 to wget options,
and timeout will be decreased to 36 minutes:
24 servers * 90 seconds timeout * 1 wget tries = 36 minutes
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1005597/+subscriptions
More information about the foundations-bugs
mailing list