APT_UPGRADABLE_COMMAND printed __APT_PHASED: (4.58.1) and __APT_E: (4.57.0) after__APT_RC. napalm-linux's expect_for reads until the command's last status echo, followed directly by the prompt. On an Ubuntu host where apt defers a package for phasing, that never happened, and every update read ran into the 60 s timeout. Seen on an Ubuntu 24.04 host (NetOrk/netork#3139).
__APT_END= is now echoed after everything else, as the command's last line.
The parse ignores it.
Tests run the real command in sh with a fake apt/apt-get: once with phased packages, once with an apt error. Both times the last line has to be the marker of the last status echo.
Checked against the affected host: the read now finishes in 5 s instead of timing out after 60 s.
Release commit 4.59.1 included; the tag follows the merge.
`APT_UPGRADABLE_COMMAND` printed `__APT_PHASED:` (4.58.1) and `__APT_E:` (4.57.0) **after** `__APT_RC`. napalm-linux's `expect_for` reads until the command's last status echo, followed directly by the prompt. On an Ubuntu host where apt defers a package for phasing, that never happened, and every update read ran into the 60 s timeout. Seen on an Ubuntu 24.04 host (NetOrk/netork#3139).
- `__APT_END=` is now echoed after everything else, as the command's last line.
- The parse ignores it.
- Tests run the real command in `sh` with a fake `apt`/`apt-get`: once with phased packages, once with an apt error. Both times the last line has to be the marker of the last status echo.
- Checked against the affected host: the read now finishes in 5 s instead of timing out after 60 s.
Release commit 4.59.1 included; the tag follows the merge.
APT_UPGRADABLE_COMMAND printed __APT_PHASED (4.58.1) and __APT_E (4.57.0)
after __APT_RC. A screen-scraping transport reads until the command's last
status echo and the prompt after it, so on a host where apt defers a package
for phasing, or reports an error, the read never ended and ran into its
timeout. __APT_END is now echoed once everything else is written.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
APT_UPGRADABLE_COMMANDprinted__APT_PHASED:(4.58.1) and__APT_E:(4.57.0) after__APT_RC. napalm-linux'sexpect_forreads until the command's last status echo, followed directly by the prompt. On an Ubuntu host where apt defers a package for phasing, that never happened, and every update read ran into the 60 s timeout. Seen on an Ubuntu 24.04 host (NetOrk/netork#3139).__APT_END=is now echoed after everything else, as the command's last line.shwith a fakeapt/apt-get: once with phased packages, once with an apt error. Both times the last line has to be the marker of the last status echo.Release commit 4.59.1 included; the tag follows the merge.