Ubuntu 24.04安装Sublime Text时执行apt update出现警告的求助
Ubuntu 24.04安装Sublime Text时执行apt update出现警告的求助
大家好,我最近在Ubuntu 24.04上尝试安装Sublime Text,按照步骤操作后遇到了问题,想请教下各位怎么解决。
我执行的操作步骤是这样的:
- 首先下载并添加Sublime的GPG密钥:
curl -fsSL https://download.sublimetext.com/sublimehq-pub.gpg | sudo gpg --dearmor -o /usr/share/keyrings/sublimehq-archive-keyring.gpg
- 然后编辑源列表文件
/etc/apt/sources.list.d/sublime-text.list,在里面添加了这一行内容:
deb [signed-by=/usr/share/keyrings/sublimehq-archive-keyring.gpg] https://download.sublimetext.com/ apt/stable/
但当我运行sudo apt update的时候,终端输出了两条警告,后续的源更新倒是正常在走,不过这两个警告看着有点闹心,想知道这是什么原因,该怎么处理?
Warning: The unit file, source configuration file or drop-ins of apt-news.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Warning: The unit file, source configuration file or drop-ins of esm-cache.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Hit:1 http://ch.archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://ch.archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:3 http://ch.archive.ubuntu.com/ubuntu noble-backports InRelease
...(后续源更新输出省略)
备注:内容来源于stack exchange,提问作者Alex
相关产品推荐
相关产品推荐

