[bug] Docker Compose version check in auto-install.sh fails on non-Debian systems (dpkg not found)
Maintainers usually reply within 1 day
@shaneintentionboi06 is already working on this.
Since Nov 20, 2026.
- #772 by @shaneintentionboi06 — open
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
Research direction
Start with deploy/auto-install.sh and the four failing upgrade tests in tests/runtests.py. Run the tests on a Linux system without dpkg to reproduce the failure, then inspect how the script checks the Docker Compose version. Done when the version check works without dpkg and all four tests pass.
Written by the indexing model from the issue text.
Description
Describe the bug
tests/runtests.py upgrade tests fail on non-Debian systems because deploy/auto-install.sh uses dpkg --compare-versions to check the Docker Compose version. dpkg is Debian/Ubuntu-specific and isn't installed on distros like Arch or Fedora, so the check fails with dpkg: command not found, which the script misreports as "Docker Compose 2.33.1 or later is required."
Steps To Reproduce
Steps to reproduce the behavior:
- On a non-Debian system without dpkg installed, run make runtests.
- Observe the failing tests:
- test_auto_install_upgrade_checks_compose_before_download
- test_auto_install_upgrade_ignores_commented_settings
- test_auto_install_upgrade_pulls_before_recreating_networks
- test_auto_install_uses_selected_version
Expected behavior
The tests should pass on non-Debian systems too. The version check should use a tool available on all Linux distributions (e.g. sort -V) instead of dpkg, which is Debian/Ubuntu-specific.
System Information:
- OS: Omarchy 4.5.0-3
- Docker version: Docker version 29.9.2, build a82e528901
- Dominant language
- Python
- Stars
- 207
- Forks
- 128
- Avg merge
- 13h 35m
- Merged PRs (30d)
- 38
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openwisp/docker-openwisp
-
[tests] Stabilize flaky integration tests and reorganize the suitePossibly taken @nemesifier claimed this 2 days ago. Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 48/100
openwisp/docker-openwisp#683 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
[chores:gsoc26] Wire openwisp-firmware-upgrader's check_pending_upgrades into the docker-openwisp Beat scheduleMay be free again @Eeshu-Yadav claimed this 171 days ago, and no pull request is open. Openenhancement gsoc-idea
openwisp/docker-openwisp#623 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 58/100
openwisp/docker-openwisp#614 ·
Maintainers usually reply within 1 day
-
[feature:gsoc26] Add Docker support for InfluxDB 2.0 and Elasticsearch backendsPossibly taken @pushpitkamboj claimed this 176 days ago. Opendocker enhancement
openwisp/docker-openwisp#612 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
openwisp/docker-openwisp#569 · 1 comment ·
Maintainers usually reply within 1 day
All issues in openwisp/docker-openwisp
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 89/100
Maintainers usually reply within 1 day
-
DoRA magnitude vectors are not loaded by Transformers load_adapter / from_pretrained(adapter_dir)Openpost-v1
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
huggingface/peft#4208 · 1 comment ·
Maintainers usually reply within 1 day
-
approved correction metadata
Difficulty 1/5 Under an hour Newbie friendliness 76/100
acl-org/acl-anthology#10996 · 2 comments ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
gke-labs/kube-agents#6620 ·
Maintainers usually reply within 1 day