如何在软件和更新应用程序中恢复正常的“当有安全更新时”列表?现在有空字符串。Ubuntu 22.04.2 Jammy Jellyfish。
grep -r deb /etc/apt/sources.list /etc/apt/sources.list.d/
grep -r deb /etc/apt/sources.list /etc/apt/sources.list.d/
/etc/apt/sources.list:#deb cdrom:[Ubuntu 22.04.2 LTS _Jammy Jellyfish_ - Release amd64 (20230223)]/ jammy main restricted
/etc/apt/sources.list:deb http://ru.archive.ubuntu.com/ubuntu/ jammy main restricted
/etc/apt/sources.list:# deb-src http://ru.archive.ubuntu.com/ubuntu/ jammy main restricted
/etc/apt/sources.list:deb http://ru.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
/etc/apt/sources.list:# deb-src http://ru.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
/etc/apt/sources.list:deb http://ru.archive.ubuntu.com/ubuntu/ jammy universe
/etc/apt/sources.list:# deb-src http://ru.archive.ubuntu.com/ubuntu/ jammy universe
/etc/apt/sources.list:deb http://ru.archive.ubuntu.com/ubuntu/ jammy-updates universe
/etc/apt/sources.list:# deb-src http://ru.archive.ubuntu.com/ubuntu/ jammy-updates universe
/etc/apt/sources.list:deb http://ru.archive.ubuntu.com/ubuntu/ jammy multiverse
/etc/apt/sources.list:# deb-src http://ru.archive.ubuntu.com/ubuntu/ jammy multiverse
/etc/apt/sources.list:deb http://ru.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
/etc/apt/sources.list:# deb-src http://ru.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
/etc/apt/sources.list:deb http://ru.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
/etc/apt/sources.list:# deb-src http://ru.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu jammy-security main restricted
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu jammy-security main restricted
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu jammy-security universe
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu jammy-security universe
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu jammy-security multiverse
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu jammy-security multiverse
/etc/apt/sources.list:# (e.g. netinst, live or single CD). The matching "deb cdrom"
/etc/apt/sources.list.d/ubuntu-esm-apps.list:deb https://esm.ubuntu.com/apps/ubuntu jammy-apps-security main
/etc/apt/sources.list.d/ubuntu-esm-apps.list:# deb-src https://esm.ubuntu.com/apps/ubuntu jammy-apps-security main
/etc/apt/sources.list.d/ubuntu-esm-apps.list:deb https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates main
/etc/apt/sources.list.d/ubuntu-esm-apps.list:# deb-src https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates main
/etc/apt/sources.list.d/ubuntu-esm-infra.list:deb https://esm.ubuntu.com/infra/ubuntu jammy-infra-security main
/etc/apt/sources.list.d/ubuntu-esm-infra.list:# deb-src https://esm.ubuntu.com/infra/ubuntu jammy-infra-security main
/etc/apt/sources.list.d/ubuntu-esm-infra.list:deb https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates main
/etc/apt/sources.list.d/ubuntu-esm-infra.list:# deb-src https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates main
尾部 /var/log/unattended-upgrades/unattended-upgrades.log
tail /var/log/unattended-upgrades/unattended-upgrades.log
2023-04-23 08:59:36,050 INFO Запускаются сценарии необслуживаемой установки
2023-04-23 08:59:36,050 INFO Разрешённые источники: o=Ubuntu,a=jammy, o=Ubuntu,a=jammy-security, o=UbuntuESMApps,a=jammy-apps-security, o=UbuntuESM,a=jammy-infra-security
2023-04-23 08:59:36,050 INFO Initial blacklist:
2023-04-23 08:59:36,050 INFO Initial whitelist (not strict):
2023-04-23 08:59:37,136 WARNING Could not figure out development release: Distribution data outdated. Please check for an update for distro-info-data. See /usr/share/doc/distro-info-data/README.Debian for details.
2023-04-23 08:59:37,136 INFO Запускаются сценарии необслуживаемой установки
2023-04-23 08:59:37,137 INFO Разрешённые источники: o=Ubuntu,a=jammy, o=Ubuntu,a=jammy-security, o=UbuntuESMApps,a=jammy-apps-security, o=UbuntuESM,a=jammy-infra-security
2023-04-23 08:59:37,137 INFO Initial blacklist:
2023-04-23 08:59:37,137 INFO Initial whitelist (not strict):
2023-04-23 08:59:38,674 INFO No packages found that can be upgraded unattended and no pending auto-removals