Bug 40423

Summary: apt-updatecache.service не отрабатывает при старте системы на Education и Kworkstation
Product: Sisyphus Reporter: Alexander Makeenkov <amakeenk>
Component: apt-updatecacheAssignee: Andrey Cherepanov <cas>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: cas
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Alexander Makeenkov 2021-07-09 17:21:36 MSK
На системах Education и Kworkstation, если добавить сервис apt-updatecache.service в автозапуск, то после загрузки системы показывает, что apt-get update не отработало:

июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain systemd[1]: Starting Update APT cache...
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]: Ошибка http://ftp.altlinux.org p9/branch/x86_64 release
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]:   Could not resolve 'ftp.altlinux.org'
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]: Ошибка http://ftp.altlinux.org p9/branch/x86_64-i586 release
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]:   Could not resolve 'ftp.altlinux.org'
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]: Ошибка http://ftp.altlinux.org p9/branch/noarch release
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]:   Could not resolve 'ftp.altlinux.org'
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]: Ошибка http://git.altlinux.org repo/277680/x86_64 release
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]:   Could not resolve 'git.altlinux.org'
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]: W: Release files for some repositories could not be retrieved or authenticated. Such repositories are being ignored.
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]: E: Failed to fetch http://git.altlinux.org/repo/277680/x86_64/base/release  Could not resolve 'git.altlinux.org'
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]: W: Release files for some repositories could not be retrieved or authenticated. Such repositories are being ignored.
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]: E: Failed to fetch http://ftp.altlinux.org/pub/distributions/ALTLinux/p9/branch/x86_64/base/release  Could not resolve 'ftp.altlinux.org'
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]: W: Release files for some repositories could not be retrieved or authenticated. Such repositories are being ignored.
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]: E: Failed to fetch http://ftp.altlinux.org/pub/distributions/ALTLinux/p9/branch/x86_64-i586/base/release  Could not resolve 'ftp.altlinux.org'
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]: W: Release files for some repositories could not be retrieved or authenticated. Such repositories are being ignored.
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]: E: Failed to fetch http://ftp.altlinux.org/pub/distributions/ALTLinux/p9/branch/noarch/base/release  Could not resolve 'ftp.altlinux.org'
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]: E: Some index files failed to download. They have been ignored, or old ones used instead.
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]: E: Tried to dequeue a fetching object
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]: E: Tried to dequeue a fetching object
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]: E: Tried to dequeue a fetching object
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain apt-get[2844]: E: Tried to dequeue a fetching object
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain systemd[1]: apt-updatecache.service: Main process exited, code=exited, status=100/n/a
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain systemd[1]: apt-updatecache.service: Failed with result 'exit-code'.
июл 09 15:40:09 edu-91-x86-64-kde-20210709.localdomain systemd[1]: Failed to start Update APT cache.

На Workstation и Server такой проблемы нет.
Comment 1 Repository Robot 2021-09-06 11:48:00 MSK
apt-updatecache-1.2-alt1 -> sisyphus:

 Sat Jul 10 2021 Andrey Cherepanov <cas@altlinux> 1.2-alt1
 - Fix run on startup (ALT #40423).
 - Add Requires=network-online.target to service file.
 - Remove randomized run of timer.