geerlingguy / geerlingguy/ansible-for-devops

Pi4 aarch64 FAILED! => "E: Package 'python-apt' has no installation candidate

Open
#565 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
9.9k
Forks
3.8k
PR merge metrics
No merged PRs in 30d

Description

`TASK [Update apt repo and cache] ***********************************************
fatal: [pi4]: FAILED! => {"changed": false, "cmd": "apt-get install --no-install-recommends python-apt -y -q", "msg": "E: Package 'python-apt' has no installation candidate", "rc": 100, "stderr": "E: Package 'python-apt' has no installation candidate\n", "stderr_lines": ["E: Package 'python-apt' has no installation candidate"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nPackage python-apt is not available, but is referred to by another package.\nThis may mean that the package is missing, has been obsoleted, or\nis only available from another source\nHowever the following packages replace it:\n python3-apt-dbg:armhf python3-apt:armhf python3-apt-dbg python3-apt\n python-apt-doc python-apt-common\n\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "Package python-apt is not available, but is referred to by another package.", "This may mean that the package is missing, has been obsoleted, or", "is only available from another source", "However the following packages replace it:", " python3-apt-dbg:armhf python3-apt:armhf python3-apt-dbg python3-apt", " python-apt-doc python-apt-common", ""]}`

Anyone else getting this when trying to update via?
ansible-playbook /etc/ansible/update-basic.yml

I have 4 other Pi4 on the host file which update fine pi3's and 4's it just this 64-bit RaspbianOS aarch64 that has problems updating via ansible.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.