软件更新程序已停止向我提供更新。无论我从“软件更新程序”框中检查什么,都没有任何变化。
似乎我的系统不再有更新。但是,这种情况不应该发生,因为我有 16.04 LTS 版本。
我的系统是 powerbook G4,安装了 lubuntu 版本 16.04 LTS。我位于希腊。
我已经阅读了几种解决方案,但都没有奏效
我删除了文件 sources.list(位于 /etc/apt 中),然后让系统重新创建它。没有结果
我使用 repogen.simplylinux 网站为我的 sources.list 创建了一个新内容。没有结果
输出sudo apt-get update
:
Get:1 http://ports.ubuntu.com/ubuntu-ports xenial InRelease [247 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease [109 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease [109 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports xenial/main powerpc Packages [1142 kB]
Ign:5 http://ports.ubuntu.com/ubuntu-ports xenial/main i386 Packages
Get:6 http://ports.ubuntu.com/ubuntu-ports xenial/main Translation-en [568 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports xenial/universe powerpc Packages [7297 kB]
Ign:8 http://ports.ubuntu.com/ubuntu-ports xenial/universe i386 Packages
Get:9 http://ports.ubuntu.com/ubuntu-ports xenial/universe Translation-en [4354 kB]
Ign:10 http://ports.ubuntu.com/ubuntu-ports xenial/restricted i386 Packages
Get:11 http://ports.ubuntu.com/ubuntu-ports xenial/restricted Translation-en [2908 B]
Get:12 http://ports.ubuntu.com/ubuntu-ports xenial/multiverse powerpc Packages [121 kB]
Ign:13 http://ports.ubuntu.com/ubuntu-ports xenial/multiverse i386 Packages
Get:14 http://ports.ubuntu.com/ubuntu-ports xenial/multiverse Translation-en [106 kB]
Ign:5 http://ports.ubuntu.com/ubuntu-ports xenial/main i386 Packages
Ign:15 http://ports.ubuntu.com/ubuntu-ports xenial-security/restricted i386 Packages
Get:16 http://ports.ubuntu.com/ubuntu-ports xenial-security/restricted Translation-en [2152 B]
Get:17 http://ports.ubuntu.com/ubuntu-ports xenial-security/main powerpc Packages [464 kB]
Ign:18 http://ports.ubuntu.com/ubuntu-ports xenial-security/main i386 Packages
Get:19 http://ports.ubuntu.com/ubuntu-ports xenial-security/main Translation-en [267 kB]
Get:20 http://ports.ubuntu.com/ubuntu-ports xenial-security/multiverse powerpc Packages [1716 B]
Ign:21 http://ports.ubuntu.com/ubuntu-ports xenial-security/multiverse i386 Packages
Get:22 http://ports.ubuntu.com/ubuntu-ports xenial-security/multiverse Translation-en [2676 B]
Get:23 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe powerpc Packages [341 kB]
Ign:24 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe i386 Packages
Get:25 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe Translation-en [177 kB]
Ign:8 http://ports.ubuntu.com/ubuntu-ports xenial/universe i386 Packages
Ign:26 http://ports.ubuntu.com/ubuntu-ports xenial-updates/restricted i386 Packages
Get:27 http://ports.ubuntu.com/ubuntu-ports xenial-updates/restricted Translation-en [2272 B]
Get:28 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main powerpc Packages [724 kB]
Ign:29 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main i386 Packages
Get:30 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main Translation-en [381 kB]
Get:31 http://ports.ubuntu.com/ubuntu-ports xenial-updates/multiverse powerpc Packages [11,0 kB]
Ign:32 http://ports.ubuntu.com/ubuntu-ports xenial-updates/multiverse i386 Packages
Get:33 http://ports.ubuntu.com/ubuntu-ports xenial-updates/multiverse Translation-en [8440 B]
Get:34 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe powerpc Packages [623 kB]
Ign:35 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe i386 Packages
Get:36 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe Translation-en [312 kB]
Ign:10 http://ports.ubuntu.com/ubuntu-ports xenial/restricted i386 Packages
Ign:13 http://ports.ubuntu.com/ubuntu-ports xenial/multiverse i386 Packages
Ign:5 http://ports.ubuntu.com/ubuntu-ports xenial/main i386 Packages
Ign:15 http://ports.ubuntu.com/ubuntu-ports xenial-security/restricted i386 Packages
Ign:18 http://ports.ubuntu.com/ubuntu-ports xenial-security/main i386 Packages
Ign:21 http://ports.ubuntu.com/ubuntu-ports xenial-security/multiverse i386 Packages
Ign:24 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe i386 Packages
Ign:8 http://ports.ubuntu.com/ubuntu-ports xenial/universe i386 Packages
Ign:26 http://ports.ubuntu.com/ubuntu-ports xenial-updates/restricted i386 Packages
Ign:29 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main i386 Packages
Ign:32 http://ports.ubuntu.com/ubuntu-ports xenial-updates/multiverse i386 Packages
Ign:35 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports xenial/restricted i386 Packages
Ign:13 http://ports.ubuntu.com/ubuntu-ports xenial/multiverse i386 Packages
Err:5 http://ports.ubuntu.com/ubuntu-ports xenial/main i386 Packages
404 Not Found [IP: 2001:67c:1360:8001::22 80]
Ign:15 http://ports.ubuntu.com/ubuntu-ports xenial-security/restricted i386 Packages
Ign:18 http://ports.ubuntu.com/ubuntu-ports xenial-security/main i386 Packages
Ign:21 http://ports.ubuntu.com/ubuntu-ports xenial-security/multiverse i386 Packages
Ign:24 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe i386 Packages
Ign:8 http://ports.ubuntu.com/ubuntu-ports xenial/universe i386 Packages
Ign:26 http://ports.ubuntu.com/ubuntu-ports xenial-updates/restricted i386 Packages
Ign:29 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main i386 Packages
Ign:32 http://ports.ubuntu.com/ubuntu-ports xenial-updates/multiverse i386 Packages
Ign:35 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports xenial/restricted i386 Packages
Err:15 http://ports.ubuntu.com/ubuntu-ports xenial-security/restricted i386 Packages
404 Not Found [IP: 2001:67c:1360:8001::22 80]
Ign:18 http://ports.ubuntu.com/ubuntu-ports xenial-security/main i386 Packages
Ign:21 http://ports.ubuntu.com/ubuntu-ports xenial-security/multiverse i386 Packages
Ign:24 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe i386 Packages
Err:26 http://ports.ubuntu.com/ubuntu-ports xenial-updates/restricted i386 Packages
404 Not Found [IP: 2001:67c:1360:8001::22 80]
Ign:29 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main i386 Packages
Ign:32 http://ports.ubuntu.com/ubuntu-ports xenial-updates/multiverse i386 Packages
Ign:35 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe i386 Packages
Fetched 465 kB in 14s (32,1 kB/s)
Reading package lists... Done
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial/main/binary-i386/Packages 404 Not Found [IP: 2001:67c:1360:8001::22 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-security/restricted/binary-i386/Packages 404 Not Found [IP: 2001:67c:1360:8001::22 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-updates/restricted/binary-i386/Packages 404 Not Found [IP: 2001:67c:1360:8001::22 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
内容来源列表:
###### Ubuntu Main Repos
# deb http://us.archive.ubuntu.com/ubuntu/ xenial main
###### Ubuntu Update Repos
# deb http://us.archive.ubuntu.com/ubuntu/ xenial-security main
deb http://ports.ubuntu.com/ubuntu-ports/ xenial main universe restricted multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security restricted main multiverse universe
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates restricted main multiverse universe
更新 2: 感谢 Oyamasiphula 的回答。这是输出(我认为没有起作用)
更新 3: 我运行了“apt update”。这是输出。
更新 4:
首先,我切换回了我的 sources.list 文件。所以现在我的 sources.list 的内容是这。然后sudo apt-update
。输出是这
然后我运行:sudo dpkg --remove-architecture i386
然后sudo apt update
输出是这。按照最后的建议,我执行了apt list --upgradable
。输出是这
然后我执行sudo apt upgrade
并得到了这
我终止了它,因为我不知道该怎么做。你能解释一下刚才发生了什么吗?我的机器是否试图获取 i386 软件包?如果是,为什么?另外,我应该继续更新吗?
万分感谢!!!!
答案1
自从 Lubuntu 16.04停产从 2019 年 4 月起,所有特定于 Lubuntu 的软件包将不再接收更新。但是,与 Ubuntu main 相关的软件包仍将接收更新。考虑到这一点,i386 软件包现已从存储库中删除,从而导致错误。
由于您运行的是 PPC 系统,因此无需 i386 软件包。要删除它们,请运行:
sudo dpkg --remove-architecture i386
现在,您将仅收到 Ubuntu 主目录中 PPC 软件包的更新。要升级这些软件包,请运行:
sudo apt update && sudo apt upgrade