为什么“ apt-get update”会多次显示同一软件包?

时间:2019-06-25 22:01:20

标签: ubuntu debian apt-get deb dpkg

我使用bazel,使用pkg_deb规则创建了两个debian软件包。
一个用于amd64,另一个与体系结构无关。

foo_1.0_all.deb
foo_1.0_amd64.deb

接下来,我通过运行以下命令创建了Packages.gz

dpkg-scanpackages -m . | gzip -c > Packages.gz

我添加一个包含以下内容的foo.list文件:

deb [trusted=yes] https://github.com/where/the/files/are/hosted /

当我添加列表文件并调用更新时,会看到以下结果:

sudo curl -s --compressed -o /etc/apt/sources.list.d/foo.list 'https://github.com/where/the/files/are/hosted/foo.list'
sudo apt-get update
Ign:40 https://github.com/where/the/files/are/hosted/foo Translation-en_US
Ign:41 https://github.com/where/the/files/are/hosted/foo  Contents (deb)
Ign:42 https://github.com/where/the/files/are/hosted/foo  Contents (deb)
Ign:43 https://github.com/where/the/files/are/hosted/foo  Contents (deb)
Ign:37 https://github.com/where/the/files/are/hosted/foo  Packages
Ign:38 https://github.com/where/the/files/are/hosted/foo  Translation-en
Ign:40 https://github.com/where/the/files/are/hosted/foo  Translation-en_US
Ign:41 https://github.com/where/the/files/are/hosted/foo  Contents (deb)
Ign:42 https://github.com/where/the/files/are/hosted/foo  Contents (deb)
Ign:43 https://github.com/where/the/files/are/hosted/foo  Contents (deb)
Ign:37 https://github.com/where/the/files/are/hosted/foo  Packages
Ign:38 https://github.com/where/the/files/are/hosted/foo  Translation-en
Ign:40 https://github.com/where/the/files/are/hosted/foo  Translation-en_US
Ign:41 https://github.com/where/the/files/are/hosted/foo  Contents (deb)
Ign:42 https://github.com/where/the/files/are/hosted/foo  Contents (deb)
Ign:43 https://github.com/where/the/files/are/hosted/foo  Contents (deb)
Ign:38 https://github.com/where/the/files/are/hosted/foo  Translation-en
Get:37 https://github.com/where/the/files/are/hosted/foo  Packages [442 B]
Ign:40 https://github.com/where/the/files/are/hosted/foo  Translation-en_US
Ign:41 https://github.com/where/the/files/are/hosted/foo  Contents (deb)
Ign:42 https://github.com/where/the/files/are/hosted/foo  Contents (deb)
Ign:43 https://github.com/where/the/files/are/hosted/foo  Contents (deb)
Ign:38 https://github.com/where/the/files/are/hosted/foo  Translation-en                                                                   
Ign:40 https://github.com/where/the/files/are/hosted/foo  Translation-en_US                                                                
Ign:41 https://github.com/where/the/files/are/hosted/foo  Contents (deb)                                                                   
Ign:42 https://github.com/where/the/files/are/hosted/foo  Contents (deb)                                                                   
Ign:43 https://github.com/where/the/files/are/hosted/foo  Contents (deb)                                                                   
Ign:38 https://github.com/where/the/files/are/hosted/foo  Translation-en                                                                   
Ign:40 https://github.com/where/the/files/are/hosted/foo  Translation-en_US                                                                   
Ign:41 https://github.com/where/the/files/are/hosted/foo  Contents (deb)                                                                      
Ign:42 https://github.com/where/the/files/are/hosted/foo  Contents (deb)                                                                      
Ign:43 https://github.com/where/the/files/are/hosted/foo  Contents (deb)                                                                      
Ign:38 https://github.com/where/the/files/are/hosted/foo  Translation-en                                                                      
Ign:40 https://github.com/where/the/files/are/hosted/foo  Translation-en_US                                                                   
Ign:41 https://github.com/where/the/files/are/hosted/foo  Contents (deb)                                                                      
Ign:42 https://github.com/where/the/files/are/hosted/foo  Contents (deb)                                                                      
Ign:43 https://github.com/where/the/files/are/hosted/foo  Contents (deb) 

为什么那么多?这是怎么回事?

0 个答案:

没有答案