apt - 跳过“i386”包的获取

apt - 跳过“i386”包的获取

我使用的是 Debian Bullseye XFCE。请在下面找到我的系统的相关详细信息:

vrgovinda@krishna:~$ uname -a
Linux krishna 5.10.0-8-amd64 #1 SMP Debian 5.10.46-5 (2021-09-23) x86_64 GNU/Linux

sources.list的以下几行将 Debian ISO 的 DVD-1 作为本地存储库。

deb [trusted=yes] file:///media/debian-dvd-1/ bullseye non-free contrib main  

我需要在终端中运行以下命令:

mount ~/firmware-11.0.0-amd64-DVD-1.iso /media/debian-dvd-1/
sudo apt update

我得到以下输出:

Get:1 file:/media/debian-dvd-1 bullseye InRelease
Ign:1 file:/media/debian-dvd-1 bullseye InRelease
Get:2 file:/media/debian-dvd-1 bullseye Release [20.9 kB]
Get:2 file:/media/debian-dvd-1 bullseye Release [20.9 kB]
Get:3 file:/media/debian-dvd-1 bullseye Release.gpg
Ign:3 file:/media/debian-dvd-1 bullseye Release.gpg
Hit:4 http://security.debian.org/debian-security bullseye-security InRelease
Hit:5 http://deb.debian.org/debian bullseye InRelease                                                          
Hit:6 http://deb.debian.org/debian bullseye-updates InRelease                                                  
Fetched 2,461 B in 2s (996 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
13 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Skipping acquire of configured file 'non-free/binary-i386/Packages' as repository 'file:/media/debian-dvd-1 bullseye InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'file:/media/debian-dvd-1 bullseye InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'file:/media/debian-dvd-1 bullseye InRelease' doesn't support architecture 'i386'

线条有什么作用

Get:1 file:/media/debian-dvd-1 bullseye InRelease
Ign:1 file:/media/debian-dvd-1 bullseye InRelease
Get:2 file:/media/debian-dvd-1 bullseye Release [20.9 kB]
Get:2 file:/media/debian-dvd-1 bullseye Release [20.9 kB]
Get:3 file:/media/debian-dvd-1 bullseye Release.gpg
Ign:3 file:/media/debian-dvd-1 bullseye Release.gpg

N: Skipping acquire of configured file 'non-free/binary-i386/Packages' as repository 'file:/media/debian-dvd-1 bullseye InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'file:/media/debian-dvd-1 bullseye InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'file:/media/debian-dvd-1 bullseye InRelease' doesn't support architecture 'i386'

意思是?这有什么值得担心的吗?如果是,应该怎样整改?

答案1

前几行告诉您apt尝试检索哪些文件以及找到了哪些文件 ( Release)。看在“apt update”的输出中,“InRelease”和“Release”指的是什么?有关这些文件的详细信息。

i386最后几行是通知,通知您在您的“镜像”(CD 映像)中找不到系统的某些已配置架构(可能被设置为外部架构)。

所有这些都是正常的,无需担心。您可以通过更具体地描述您的存储库来避免第二组输出:

deb [ arch=amd64 trusted=yes ] file:///media/debian-dvd-1/ bullseye non-free contrib main

这将指示apt仅查找amd64该存储库中的内容。

相关内容