OpenTenBase v5.0-p2
OpenTenBase v5.0-p2
Patch release with critical packaging fixes and full cross-distro CI verification.
Bug Fixes
- fix: correct lib/postgresql path in opentenbase-server.dirs — The versioned pkglibdir
/usr/lib/opentenbase/5.0/lib/postgresqlwas missing from the DEB package, causingFATAL: could not open directoryon startup - fix: use relative Filename from base URL root in Packages — APT Packages file now uses correct relative paths (
pool/main/) matching the repository layout - fix: correct pool/ relative path in Packages file — Resolved 4-level path traversal issue in APT repo
- fix: standard APT repo layout + robust GPG key handling — Restructured to standard
pool/+dists/layout; GPG key import now handles mirror failures gracefully - fix: move log functions before detect_mirror in setup-apt.sh — Fixed function ordering in setup script
- feat: add Gitee mirror auto-detection for China users — Auto-detects network and uses Gitee mirror when GitHub is slow
CI/CD
- All 7 DEB targets build successfully (Ubuntu 20.04/22.04/24.04/25.04, Debian 11/12/13)
- All 8 RPM targets build successfully (AlmaLinux 8/9, CentOS Stream 8/9, Rocky 8/9, Fedora 40, openEuler 22.03)
- All 14 cross-distro tests pass (install + init + start + SQL verification)
- APT/RPM repository auto-deployed to GitHub Pages
Packages
| Format | Distros | Count |
|---|---|---|
| DEB | Ubuntu 20.04/22.04/24.04/25.04, Debian 11/12/13 | 42 |
| RPM | AlmaLinux 8/9, CentOS Stream 8/9, Rocky 8/9, Fedora 40, openEuler 22.03 | 8 |
Total: 50 packages
Install
# DEB (Ubuntu/Debian)
curl -sSL https://raw.githubusercontent.com/muzimu217/OpenTenBase-deb/main/scripts/setup-apt.sh | sudo bash
sudo apt update && sudo apt install opentenbase
# RPM (RHEL/CentOS/Fedora)
curl -sSL https://raw.githubusercontent.com/muzimu217/OpenTenBase-deb/main/scripts/setup-rpm.sh | sudo bash
sudo dnf install opentenbaseQuick Start
opentenbase-ctl init # Initialize cluster
opentenbase-ctl start # Start all nodes
opentenbase-ctl status # Check statusFull Changelog: v5.0-multi16...v5.0-p2