Skip to content

Commit 6ebaa9a

Browse files
committed
devconfig: ensure package index is updated
Enable cache update to ensure package index is updated. Fixes 404 failure update: Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages were automatically installed and are no longer required: eject netcat-openbsd python3-attr python3-blinker python3-configobj python3-jinja2 python3-json-pointer python3-jsonpatch python3-jsonschema python3-jsonschema-specifications python3-jwt python3-markupsafe python3-oauthlib python3-referencing python3-rpds-py Use 'sudo apt autoremove' to remove them. The following packages will be upgraded: bind9-host bind9-libs gettext-base iproute2 libc-bin libc-l10n libc6 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libnetplan1 libnss-myhostname libnss-resolve libpam-systemd libsystemd-shared libsystemd0 libudev1 locales netplan-generator netplan.io python3-jinja2 python3-netplan systemd systemd-resolved systemd-sysv systemd-timesyncd udev vim vim-tiny 30 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 20.9 MB/22.3 MB of archives. After this operation, 3062 kB disk space will be freed. Err:1 http://deb.debian.org/debian trixie/main amd64 libc6 amd64 2.40-6 404 Not Found [IP: 199.232.42.132 80] ... E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Fixes: 3f52d93 Revert "bringup: devconfig: fix python3-apt debian issue" Signed-off-by: Daniel Gomez <[email protected]>
1 parent 71a8b35 commit 6ebaa9a

File tree

1 file changed

+1
-0
lines changed
  • playbooks/roles/devconfig/tasks/install-deps/debian

1 file changed

+1
-0
lines changed

playbooks/roles/devconfig/tasks/install-deps/debian/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
become: yes
44
become_method: sudo
55
ansible.builtin.apt:
6+
update_cache: true
67
upgrade: "yes"
78
lock_timeout: 120
89
register: apt_upgrade

0 commit comments

Comments
 (0)