Skip to content

Commit c5ecfd8

Browse files
committed
docs: describe apt runtime discovery
1 parent 5e5f1da commit c5ecfd8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ Source: [`abxpkg/binprovider_apt.py`](./abxpkg/binprovider_apt.py) • Tests: [`
877877

878878
```python
879879
INSTALLER_BIN = "apt-get"
880-
PATH = "" # populated from `dpkg -L bash` bin dirs
880+
PATH = "" # populated from `dpkg -L bash` bin/sbin roots
881881
euid = 0 # always runs as root
882882
```
883883

@@ -886,7 +886,7 @@ euid = 0 # always runs as root
886886
- `dry_run`: shared behavior.
887887
- Security: `min_release_age` and `postinstall_scripts=False` are unsupported and are ignored with a warning if explicitly requested.
888888
- Overrides: `install_args` becomes `apt-get install -y -qq --no-install-recommends ...`; `update()` uses `apt-get install --only-upgrade ...`; `uninstall()` uses `apt-get remove -y -qq ...`.
889-
- Notes: direct mode runs `apt-get update -qq` at most once per day and requests privilege escalation when needed.
889+
- Notes: direct mode runs `apt-get update -qq` at most once per day and requests privilege escalation when needed. Executables without a usable version flag are versioned from their owning package's `dpkg-query` metadata.
890890

891891
</details>
892892

0 commit comments

Comments
 (0)