Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: remove general apt update and upgrade step - #28

Merged
boGSer98 merged 1 commit into
19.0from
fix/remove-server-update-step
Jun 5, 2026
Merged

boGSer98 merged 1 commit into
19.0from
fix/remove-server-update-step

Conversation

@boGSer98

@boGSer98 boGSer98 commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • Entfernt den allgemeinen „Update Server“-Schritt aus dem Ubuntu-Installer.
  • Entfernt RUN_APT_UPGRADE inklusive Validierung und Doku.
  • Entfernt den allgemeinen apt-get update/apt-get upgrade-Block auch aus dem Debian-Installer.
  • Aktualisiert die Tests, damit der allgemeine Update-/Upgrade-Schritt nicht wieder versehentlich eingebaut wird.

Test Plan

  • bash -n odoo_install.sh
  • bash -n odoo_install_debian.sh
  • python3 -m unittest tests/test_installer_features.py -> 23 Tests OK

Hinweis: Im Ubuntu-Installer bleibt nur ein repo-spezifisches apt_get update -y direkt nach dem Hinzufügen des PostgreSQL-PGDG-Repositories erhalten, damit postgresql-16 dort installierbar bleibt. Der allgemeine Server-Update-/Upgrade-Punkt ist entfernt.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e380cd189d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread odoo_install.sh
else
echo "Skipping full apt upgrade (RUN_APT_UPGRADE=False) to avoid long package triggers such as man-db."
fi
apt_get install -y libpq-dev

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Refresh apt metadata before the first install

When the installer is run in the repo’s provided test_install Ubuntu image, test_install/Dockerfile removes /var/lib/apt/lists/* after bootstrapping the base tools, so this first apt_get install now runs with no package metadata and exits with “Unable to locate package” before the later PGDG-specific apt_get update is reached. This breaks the default Ubuntu install path in that documented test environment; keep a metadata refresh before the first package install while still omitting the full upgrade.

Useful? React with 👍 / 👎.

@boGSer98
boGSer98 merged commit ed79368 into 19.0 Jun 5, 2026
2 checks passed
@boGSer98
boGSer98 deleted the fix/remove-server-update-step branch June 5, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant