“apt-get update”给出了很多错误 – 这是一个问题吗?

我刚刚再次运行了sudo apt-get update ,我认为在输出中有很多行以Ign开头而不是Hit

我想知道它对Ask Ubuntu和超级用户的意义和研究,但他们有相互矛盾的答案。 在与@Seth讨论聊天和一些逻辑思维后,我得出结论:

  • Hit意味着“此包索引列表已下载并且是最新的”
  • Ign表示“无法下载此索引列表,例如由于错误404(未找到)。但是,错误可以忽略,因为只缺少翻译,但程序包仍以其默认语言提供。”

我现在的问题是:

  • 为什么我的配置中列出了这么多不可用的存储库? 我目前有23个Ign -entries,其中5个属于我的安装DVD。
  • 它们会造成任何伤害(减慢更新过程,丢失列表,等等)?
  • 如果这不是一个坏主意,我怎么能摆脱他们?

输出sudo apt-get update

仅限点线:

 Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic InRelease Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/main Translation-en Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/main Translation-de Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/restricted Translation-en Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/restricted Translation-de Ign http://ftp.uni-stuttgart.de utopic InRelease Ign http://archive.canonical.com utopic InRelease Ign http://ftp.uni-stuttgart.de utopic-updates InRelease Ign http://extras.ubuntu.com utopic InRelease Ign http://archive.ubuntu.com utopic InRelease Ign http://ftp.uni-stuttgart.de utopic-backports InRelease Ign http://ftp.uni-stuttgart.de utopic-security InRelease Ign http://ftp.uni-stuttgart.de utopic-proposed InRelease Ign http://archive.canonical.com utopic/partner Translation-en Ign http://extras.ubuntu.com utopic/main Translation-en Ign http://extras.ubuntu.com utopic/main Translation-de Ign http://archive.getdeb.net utopic-getdeb/apps Translation-en Ign http://archive.getdeb.net utopic-getdeb/apps Translation-de Ign http://ppa.launchpad.net utopic InRelease Ign http://ppa.launchpad.net utopic InRelease Ign http://ppa.launchpad.net utopic InRelease Ign http://ppa.launchpad.net utopic InRelease Ign http://ppa.launchpad.net utopic InRelease 

全输出:

 Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic InRelease Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/main Translation-en Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/main Translation-de Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/restricted Translation-en Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/restricted Translation-de Ign http://ftp.uni-stuttgart.de utopic InRelease Ign http://archive.canonical.com utopic InRelease Ign http://ftp.uni-stuttgart.de utopic-updates InRelease Ign http://extras.ubuntu.com utopic InRelease Ign http://archive.ubuntu.com utopic InRelease Ign http://ftp.uni-stuttgart.de utopic-backports InRelease Hit http://archive.canonical.com utopic Release.gpg Hit http://extras.ubuntu.com utopic Release.gpg Ign http://ftp.uni-stuttgart.de utopic-security InRelease Hit http://archive.ubuntu.com utopic Release.gpg Ign http://ftp.uni-stuttgart.de utopic-proposed InRelease Hit http://archive.canonical.com utopic Release Hit http://extras.ubuntu.com utopic Release Hit http://ftp.uni-stuttgart.de utopic Release.gpg Hit http://archive.ubuntu.com utopic Release Hit http://ftp.uni-stuttgart.de utopic-updates Release.gpg Hit http://ftp.uni-stuttgart.de utopic-backports Release.gpg Hit http://ftp.uni-stuttgart.de utopic-security Release.gpg Hit http://archive.canonical.com utopic/partner Sources Hit http://ftp.uni-stuttgart.de utopic-proposed Release.gpg Hit http://ftp.uni-stuttgart.de utopic Release Hit http://extras.ubuntu.com utopic/main Sources Hit http://ftp.uni-stuttgart.de utopic-updates Release Hit http://ftp.uni-stuttgart.de utopic-backports Release Hit http://archive.ubuntu.com utopic/main Sources Hit http://archive.canonical.com utopic/partner i386 Packages Hit http://extras.ubuntu.com utopic/main i386 Packages Hit http://ftp.uni-stuttgart.de utopic-security Release Hit http://ftp.uni-stuttgart.de utopic-proposed Release Hit http://archive.ubuntu.com utopic/restricted Sources Hit http://ftp.uni-stuttgart.de utopic/multiverse Sources Hit http://ftp.uni-stuttgart.de utopic/restricted Sources Hit http://ftp.uni-stuttgart.de utopic/universe Sources Hit http://archive.getdeb.net utopic-getdeb InRelease Hit http://ftp.uni-stuttgart.de utopic/main Sources Ign http://archive.canonical.com utopic/partner Translation-en Hit http://ftp.uni-stuttgart.de utopic/main i386 Packages Hit http://ftp.uni-stuttgart.de utopic/restricted i386 Packages Hit http://ftp.uni-stuttgart.de utopic/universe i386 Packages Hit http://ftp.uni-stuttgart.de utopic/multiverse i386 Packages Hit http://ftp.uni-stuttgart.de utopic/main Translation-en Hit http://ftp.uni-stuttgart.de utopic/main Translation-de Hit http://ftp.uni-stuttgart.de utopic/multiverse Translation-en Hit http://ftp.uni-stuttgart.de utopic/multiverse Translation-de Hit http://ftp.uni-stuttgart.de utopic/restricted Translation-en Ign http://extras.ubuntu.com utopic/main Translation-en Hit http://ftp.uni-stuttgart.de utopic/restricted Translation-de Hit http://ftp.uni-stuttgart.de utopic/universe Translation-en Ign http://extras.ubuntu.com utopic/main Translation-de Hit http://ftp.uni-stuttgart.de utopic/universe Translation-de Hit http://ftp.uni-stuttgart.de utopic-updates/multiverse Sources Hit http://ftp.uni-stuttgart.de utopic-updates/restricted Sources Hit http://ftp.uni-stuttgart.de utopic-updates/universe Sources Hit http://ftp.uni-stuttgart.de utopic-updates/main Sources Hit http://ftp.uni-stuttgart.de utopic-updates/main i386 Packages Hit http://ftp.uni-stuttgart.de utopic-updates/restricted i386 Packages Hit http://ftp.uni-stuttgart.de utopic-updates/universe i386 Packages Hit http://ftp.uni-stuttgart.de utopic-updates/multiverse i386 Packages Hit http://ftp.uni-stuttgart.de utopic-updates/main Translation-en Hit http://ftp.uni-stuttgart.de utopic-updates/multiverse Translation-en Hit http://ftp.uni-stuttgart.de utopic-updates/restricted Translation-en Hit http://ftp.uni-stuttgart.de utopic-updates/universe Translation-en Hit http://ftp.uni-stuttgart.de utopic-backports/main Sources Hit http://ftp.uni-stuttgart.de utopic-backports/restricted Sources Hit http://ftp.uni-stuttgart.de utopic-backports/universe Sources Hit http://ftp.uni-stuttgart.de utopic-backports/multiverse Sources Hit http://ftp.uni-stuttgart.de utopic-backports/main i386 Packages Hit http://ftp.uni-stuttgart.de utopic-backports/restricted i386 Packages Hit http://ftp.uni-stuttgart.de utopic-backports/universe i386 Packages Hit http://ftp.uni-stuttgart.de utopic-backports/multiverse i386 Packages Hit http://ftp.uni-stuttgart.de utopic-backports/main Translation-en Hit http://ftp.uni-stuttgart.de utopic-backports/multiverse Translation-en Hit http://ftp.uni-stuttgart.de utopic-backports/restricted Translation-en Hit http://archive.getdeb.net utopic-getdeb/apps i386 Packages Hit http://ftp.uni-stuttgart.de utopic-backports/universe Translation-en Hit http://ftp.uni-stuttgart.de utopic-security/multiverse Sources Hit http://ftp.uni-stuttgart.de utopic-security/restricted Sources Hit http://ftp.uni-stuttgart.de utopic-security/universe Sources Hit http://ftp.uni-stuttgart.de utopic-security/main Sources Hit http://ftp.uni-stuttgart.de utopic-security/main i386 Packages Hit http://ftp.uni-stuttgart.de utopic-security/restricted i386 Packages Hit http://ftp.uni-stuttgart.de utopic-security/universe i386 Packages Hit http://ftp.uni-stuttgart.de utopic-security/multiverse i386 Packages Hit http://ftp.uni-stuttgart.de utopic-security/main Translation-en Hit http://ftp.uni-stuttgart.de utopic-security/multiverse Translation-en Hit http://ftp.uni-stuttgart.de utopic-security/restricted Translation-en Hit http://ftp.uni-stuttgart.de utopic-security/universe Translation-en Hit http://ftp.uni-stuttgart.de utopic-proposed/main Sources Hit http://ftp.uni-stuttgart.de utopic-proposed/restricted Sources Hit http://ftp.uni-stuttgart.de utopic-proposed/multiverse Sources Hit http://ftp.uni-stuttgart.de utopic-proposed/universe Sources Hit http://ftp.uni-stuttgart.de utopic-proposed/main i386 Packages Hit http://ftp.uni-stuttgart.de utopic-proposed/restricted i386 Packages Hit http://ftp.uni-stuttgart.de utopic-proposed/multiverse i386 Packages Hit http://ftp.uni-stuttgart.de utopic-proposed/universe i386 Packages Hit http://ftp.uni-stuttgart.de utopic-proposed/main Translation-en Hit http://ftp.uni-stuttgart.de utopic-proposed/main Translation-de Hit http://ftp.uni-stuttgart.de utopic-proposed/multiverse Translation-en Hit http://ftp.uni-stuttgart.de utopic-proposed/multiverse Translation-de Hit http://ftp.uni-stuttgart.de utopic-proposed/restricted Translation-en Hit http://ftp.uni-stuttgart.de utopic-proposed/restricted Translation-de Hit http://ftp.uni-stuttgart.de utopic-proposed/universe Translation-en Hit http://ftp.uni-stuttgart.de utopic-proposed/universe Translation-de Ign http://archive.getdeb.net utopic-getdeb/apps Translation-en Ign http://archive.getdeb.net utopic-getdeb/apps Translation-de Ign http://ppa.launchpad.net utopic InRelease Ign http://ppa.launchpad.net utopic InRelease Ign http://ppa.launchpad.net utopic InRelease Ign http://ppa.launchpad.net utopic InRelease Ign http://ppa.launchpad.net utopic InRelease Hit http://ppa.launchpad.net utopic Release.gpg Hit http://ppa.launchpad.net utopic Release.gpg Hit http://ppa.launchpad.net utopic Release.gpg Hit http://ppa.launchpad.net utopic Release.gpg Hit http://ppa.launchpad.net utopic Release.gpg Hit http://ppa.launchpad.net utopic Release Hit http://ppa.launchpad.net utopic Release Hit http://ppa.launchpad.net utopic Release Hit http://ppa.launchpad.net utopic Release Hit http://ppa.launchpad.net utopic Release Hit http://ppa.launchpad.net utopic/main i386 Packages Hit http://ppa.launchpad.net utopic/main Translation-en Hit http://ppa.launchpad.net utopic/main i386 Packages Hit http://ppa.launchpad.net utopic/main Translation-en Hit http://ppa.launchpad.net utopic/main i386 Packages Hit http://ppa.launchpad.net utopic/main Translation-en Hit http://ppa.launchpad.net utopic/main i386 Packages Hit http://ppa.launchpad.net utopic/main Translation-en Hit http://ppa.launchpad.net utopic/main i386 Packages Hit http://ppa.launchpad.net utopic/main Translation-en Reading package lists... Done 

/etc/apt/sources.list内容:

 deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1)]/ utopic main restricted deb-src http://archive.ubuntu.com/ubuntu utopic main restricted #Added by software-properties # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://ftp.uni-stuttgart.de/ubuntu/ utopic main restricted deb-src http://ftp.uni-stuttgart.de/ubuntu/ utopic multiverse restricted universe main #Added by software-properties ## Major bug fix updates produced after the final release of the ## distribution. deb http://ftp.uni-stuttgart.de/ubuntu/ utopic-updates main restricted deb-src http://ftp.uni-stuttgart.de/ubuntu/ utopic-updates multiverse restricted universe main #Added by software-properties ## NB software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://ftp.uni-stuttgart.de/ubuntu/ utopic universe deb http://ftp.uni-stuttgart.de/ubuntu/ utopic-updates universe ## NB software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://ftp.uni-stuttgart.de/ubuntu/ utopic multiverse deb http://ftp.uni-stuttgart.de/ubuntu/ utopic-updates multiverse ## NB software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://ftp.uni-stuttgart.de/ubuntu/ utopic-backports main restricted universe multiverse deb-src http://ftp.uni-stuttgart.de/ubuntu/ utopic-backports main restricted universe multiverse #Added by software-properties deb http://ftp.uni-stuttgart.de/ubuntu/ utopic-security main restricted deb-src http://ftp.uni-stuttgart.de/ubuntu/ utopic-security multiverse restricted universe main #Added by software-properties deb http://ftp.uni-stuttgart.de/ubuntu/ utopic-security universe deb http://ftp.uni-stuttgart.de/ubuntu/ utopic-security multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. deb http://archive.canonical.com/ubuntu utopic partner deb-src http://archive.canonical.com/ubuntu utopic partner ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu utopic main deb-src http://extras.ubuntu.com/ubuntu utopic main deb http://ftp.uni-stuttgart.de/ubuntu/ utopic-proposed main restricted multiverse universe deb-src http://ftp.uni-stuttgart.de/ubuntu/ utopic-proposed main restricted multiverse universe #Added by software-properties 

输出ls /etc/apt/sources.list.d/

 danielrichter2007-ubuntu-grub-customizer-utopic.list danielrichter2007-ubuntu-grub-customizer-utopic.list.save getdeb.list getdeb.list.save leolik-ubuntu-leolik-utopic.list leolik-ubuntu-leolik-utopic.list.save lestcape-ubuntu-cinnamon-utopic.list lestcape-ubuntu-cinnamon-utopic.list.save nilarimogard-ubuntu-webupd8-utopic.list nilarimogard-ubuntu-webupd8-utopic.list.save ubuntu-wine-ubuntu-ppa-utopic.list ubuntu-wine-ubuntu-ppa-utopic.list.save yannubuntu-ubuntu-boot-repair-utopic.list yannubuntu-ubuntu-boot-repair-utopic.list.save 

为什么我的配置中列出了这么多不可用的存储库? 我目前有23个Ign-entries,其中5个属于我的安装DVD。

缺少翻译不会使存储库不可用。 缺少InRelease文件可能,但如果服务器提供Release{,.gpg} InRelease Release{,.gpg}文件,则没关系。

它们会造成任何伤害(减慢更新过程,丢失列表,等等)?

略。 Apt对多个请求使用单个连接,因此某些请求会被延迟,但我认为这并没有多大区别。 只要正确的Release{,.gpg}也可用,存储库就可以正常工作。

如果这不是一个坏主意,我怎么能摆脱他们?

翻译: 如何删除apt中的翻译条目?

对于InRelease ,将不会有任何此类选项。 从2015年关闭的此function请求不会修复 :

无论如何,4年后我们都接受了InRelease的新世界秩序,并且代码实际上发生了变化,这使得更难以避免至少首先尝试InRelease,因此关闭为wontfix。