You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are encountering the following error while running our periodic update on cdh-prodigy1.princeton.edu and cdh-prodigy2.princeton.edu:
fatal: [cdh-prodigy1.princeton.edu]: FAILED! => {"changed": false, "msg": "'/usr/bin/apt-get dist-upgrade ' failed: E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).\n", "rc": 100, "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nYou might want to run 'apt --fix-broken install' to correct these.\nThe following packages have unmet dependencies:\n python3.12-venv : Depends: python3.12 (= 3.12.8-1+jammy1) but 3.12.7-1+jammy1 is installed\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "You might want to run 'apt --fix-broken install' to correct these.", "The following packages have unmet dependencies:", " python3.12-venv : Depends: python3.12 (= 3.12.8-1+jammy1) but 3.12.7-1+jammy1 is installed"]}
fatal: [cdh-prodigy2.princeton.edu]: FAILED! => {"changed": false, "msg": "'/usr/bin/apt-get dist-upgrade ' failed: E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).\n", "rc": 100, "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nYou might want to run 'apt --fix-broken install' to correct these.\nThe following packages have unmet dependencies:\n python3.12-venv : Depends: python3.12 (= 3.12.8-1+jammy1) but 3.12.7-1+jammy1 is installed\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "You might want to run 'apt --fix-broken install' to correct these.", "The following packages have unmet dependencies:", " python3.12-venv : Depends: python3.12 (= 3.12.8-1+jammy1) but 3.12.7-1+jammy1 is installed"]}
It appears that the python3.12-venv package requires python3.12 version 3.12.8-1+jammy1, but version 3.12.7-1+jammy1 is currently installed. This is causing a dependency conflict and preventing the dist-upgrade from completing successfully.
Steps to Investigate and Resolve:
Manual Investigation:
SSH into cdh-prodigy1.princeton.edu and cdh-prodigy2.princeton.edu.
Run apt --fix-broken install as suggested by the error message. This command will attempt to automatically resolve the dependency issues.
If the issue persists, try manually installing the required version of python3.12:
sudo apt-get install python3.12=3.12.8-1+jammy1
Check for any other potential dependency conflicts or errors.
Update Script Review:
Re-run the os_updates.yml playbook to ensure it is correctly handling dependencies and package upgrades.
The text was updated successfully, but these errors were encountered:
We are encountering the following error while running our periodic update on
cdh-prodigy1.princeton.edu
andcdh-prodigy2.princeton.edu
:It appears that the python3.12-venv package requires python3.12 version 3.12.8-1+jammy1, but version 3.12.7-1+jammy1 is currently installed. This is causing a dependency conflict and preventing the dist-upgrade from completing successfully.
Steps to Investigate and Resolve:
cdh-prodigy1.princeton.edu
andcdh-prodigy2.princeton.edu
.apt --fix-broken install
as suggested by the error message. This command will attempt to automatically resolve the dependency issues.Re-run the
os_updates.yml
playbook to ensure it is correctly handling dependencies and package upgrades.The text was updated successfully, but these errors were encountered: