22.04.2 LTS 软件更新程序正在尝试升级并遇到一些错误?

22.04.2 LTS 软件更新程序正在尝试升级并遇到一些错误?

我认为这件事今天才开始发生。

这听起来好像更新程序正在尝试将 Ubuntu 升级到其他版本。apt-get update 可以正常工作,没有任何错误。

有人知道这是不是因为我的本地设置有些奇怪导致的,还是这是预料之中的?或者是更新程序中的某个错误?

在此处输入图片描述

更新:

按照要求

$ sudo apt update
Hit:1 http://gb.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://packages.microsoft.com/repos/code stable InRelease
Hit:3 https://ppa.launchpadcontent.net/alex-p/tesseract-ocr-devel/ubuntu jammy InRelease                                                                                                                          
Hit:4 http://archive.ubuntu.com/ubuntu jammy InRelease                                                                                                                                                            
Hit:5 https://download.docker.com/linux/ubuntu jammy InRelease                                                                                                                                                    
Get:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]                                                                                                                                           
Hit:7 https://ppa.launchpadcontent.net/jgmath2000/et/ubuntu jammy InRelease                                                                                                                                       
Hit:8 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64  InRelease                                                                                                                       
Get:9 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]                                                        
Hit:10 https://packages.cloud.google.com/apt kubernetes-xenial InRelease                                                                       
Get:11 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [764 kB]
Get:13 http://security.ubuntu.com/ubuntu jammy-security/universe i386 Packages [520 kB]
Get:14 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [718 kB]
Hit:12 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease  
Fetched 2,232 kB in 12s (190 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
92 packages can be upgraded. Run 'apt list --upgradable' to see them.

$ systemctl status snapd.service
● snapd.service - Snap Daemon
     Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2023-04-12 09:49:49 BST; 1 week 1 day ago
TriggeredBy: ● snapd.socket
   Main PID: 1165 (snapd)
      Tasks: 27 (limit: 38386)
     Memory: 619.8M
        CPU: 1min 8.335s
     CGroup: /system.slice/snapd.service
             └─1165 /usr/lib/snapd/snapd

Apr 20 04:59:49 xxx snapd[1165]: no snap revision available as specified: "lbry"
Apr 20 04:59:49 xxx snapd[1165]: snap not found: "stickynotes"
Apr 20 04:59:49 xxx snapd[1165]: snapstate.go:1778: cannot refresh snap "firefox": snap "firefox" has running apps (firefox), pids: 1127902,1127905,2253589,2253862,2253891,2253908,2254006,2255129
Apr 20 04:59:49 xxx snapd[1165]: autorefresh.go:551: auto-refresh: all snaps are up-to-date
Apr 20 06:49:49 xxx snapd[1165]: storehelpers.go:769: cannot refresh:
Apr 20 06:49:49 xxx snapd[1165]: snap has no updates available: "bare", "core", "core18", "core20", "core22", "foliate", "gitter-desktop", "gnome-3-26-1604", "gnome-3-28-1804", "gnome-3-34-1804", "gnome-3>
Apr 20 06:49:49 xxx snapd[1165]: no snap revision available as specified: "lbry"
Apr 20 06:49:49 xxx snapd[1165]: snap not found: "stickynotes"
Apr 20 06:49:50 xxx snapd[1165]: snapstate.go:1778: cannot refresh snap "firefox": snap "firefox" has running apps (firefox), pids: 1127902,1127905,2253589,2253862,2253891,2253908,2254006,2255129
Apr 20 06:49:50 xxx snapd[1165]: autorefresh.go:551: auto-refresh: all snaps are up-to-date


相关内容