Estou enfrentando um erro retornado pelo apt e depois de muitas etapas de solução de problemas não consegui encontrar a causa ou solução. Aqui está a apt update
saída:
$ sudo apt update
Hit:1 https://nvidia.github.io/libnvidia-container/stable/deb/amd64 InRelease
Hit:2 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:3 https://debian.neo4j.com stable InRelease
Hit:4 http://repository.netdata.cloud/repos/stable/ubuntu jammy/ InRelease
Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:6 http://ca.archive.ubuntu.com/ubuntu jammy InRelease
Get:7 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease [7,568 B]
Hit:8 http://ca.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:9 http://repository.netdata.cloud/repos/repoconfig/ubuntu jammy/ InRelease
Get:10 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease [7,456 B]
Hit:11 http://ca.archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:12 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease [7,450 B]
Get:13 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease [7,449 B]
Hit:14 https://ppa.launchpadcontent.net/linrunner/tlp/ubuntu jammy InRelease
Fetched 29.9 kB in 1s (20.1 kB/s)
Reading package lists... Done
E: No priority (or zero) specified for pin
O erro aponta para uma falta de prioridade de pin. Eu olhei para /etc/apt/preferences.d/
. há 3 arquivos e todos eles têm prioridade de pin atribuída:
$ ll /etc/apt/preferences.d/
total 12K
-rw-r--r-- 1 root root 65 Mar 5 06:20 80netdata
-rw-r--r-- 1 root root 437 Feb 14 2024 ubuntu-pro-esm-apps
-rw-r--r-- 1 root root 429 Feb 14 2024 ubuntu-pro-esm-infra
$ cat /etc/apt/preferences.d/*
Package: *
Pin: origin "repository.netdata.cloud"
Priority: 1000
# This file is used by Ubuntu Pro and supplied by the ubuntu-pro-client
# package. It has no effect if Ubuntu Pro services are not in use since no
# other apt repositories are expected to match o=UbuntuESMApps.
#
# Pin esm-apps packages to a slightly higher value than the default,
# so those are preferred over a non-ESM package from the archive when the
# service is enabled.
Package: *
Pin: release o=UbuntuESMApps
Pin-Priority: 510
# This file is used by Ubuntu Pro and supplied by the ubuntu-pro-client
# package. It has no effect if Ubuntu Pro services are not in use since no
# other apt repositories are expected to match o=UbuntuESM.
#
# Pin esm-infra packages to a slightly higher value than the default,
# so those are preferred over a non-ESM package from the archive when the
# service is enabled.
Package: *
Pin: release o=UbuntuESM
Pin-Priority: 510
Nada foi alterado em termos de configurações do apt por pelo menos 3 meses, e a única coisa notável recentemente foi que fiz uma alteração apt update & apt upgrade
no dia anterior.
Estou completamente perdido. Se alguma solução for possível, eu agradeceria muito