sudo apt-get update
命令总是出错。我的软件包列表已经好几天没有更新了。有人能帮我改正吗?以下是屏幕截图:
以下是命令及其输出:
$ cat /etc/apt/sources.list | grep -e ^[^#]
deb-src http://ubuntu.oss.eznetsols.org/ubuntu/ maverick main restricted #Added by software-properties
deb http://ubuntu.oss.eznetsols.org/ubuntu/ maverick main restricted multiverse
deb-src http://ubuntu.oss.eznetsols.org/ubuntu/ maverick universe #Added by software-properties
deb http://ubuntu.oss.eznetsols.org/ubuntu/ maverick-updates main restricted multiverse
deb-src http://ubuntu.oss.eznetsols.org/ubuntu/ maverick-updates restricted main universe #Added by software-properties
deb http://ubuntu.oss.eznetsols.org/ubuntu/ maverick universe
deb http://ubuntu.oss.eznetsols.org/ubuntu/ maverick-updates universe
deb http://archive.canonical.com/ubuntu maverick partner
deb-src http://archive.canonical.com/ubuntu maverick partner
deb http://extras.ubuntu.com/ubuntu maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main
deb http://ubuntu.oss.eznetsols.org/ubuntu/ maverick-security main restricted multiverse
deb-src http://ubuntu.oss.eznetsols.org/ubuntu/ maverick-security restricted main universe #Added by software-properties
deb http://ubuntu.oss.eznetsols.org/ubuntu/ maverick-security universe
deb http://deb.torproject.org/torproject.org lucid main
deb-src http://deb.torproject.org/torproject.org lucid main
deb http://deb.torproject.org/torproject.org lucid main
deb-src http://deb.torproject.org/torproject.org lucid main
deb http://ppa.launchpad.net/jcfp/ppa/ubuntu maverick main
$ cat /etc/apt/sources.list.d/* | grep -e ^[^#]
deb http://ppa.launchpad.net/banshee-team/ppa/ubuntu maverick main
deb-src http://ppa.launchpad.net/banshee-team/ppa/ubuntu maverick main
deb http://ppa.launchpad.net/banshee-team/ppa/ubuntu maverick main
deb-src http://ppa.launchpad.net/banshee-team/ppa/ubuntu maverick main
deb http://apt.boxee.tv/ maverick main
deb http://apt.boxee.tv/ maverick main
deb http://ppa.launchpad.net/cardapio-team/unstable/ubuntu maverick main
deb-src http://ppa.launchpad.net/cardapio-team/unstable/ubuntu maverick main
deb http://ppa.launchpad.net/cardapio-team/unstable/ubuntu maverick main
deb-src http://ppa.launchpad.net/cardapio-team/unstable/ubuntu maverick main
deb http://linux.dropbox.com/ubuntu maverick main
deb http://linux.dropbox.com/ubuntu maverick main
deb http://dl.google.com/linux/chrome/deb/ stable main
deb http://dl.google.com/linux/chrome/deb/ stable main
deb http://dl.google.com/linux/talkplugin/deb/ stable main
deb http://dl.google.com/linux/talkplugin/deb/ stable main
deb http://ppa.launchpad.net/jd-team/jdownloader/ubuntu maverick main
deb-src http://ppa.launchpad.net/jd-team/jdownloader/ubuntu maverick main
deb http://ppa.launchpad.net/jd-team/jdownloader/ubuntu maverick main
deb-src http://ppa.launchpad.net/jd-team/jdownloader/ubuntu maverick main
deb http://ppa.launchpad.net/kilian/f.lux/ubuntu maverick main
deb-src http://ppa.launchpad.net/kilian/f.lux/ubuntu maverick main
deb http://ppa.launchpad.net/kilian/f.lux/ubuntu maverick main
deb-src http://ppa.launchpad.net/kilian/f.lux/ubuntu maverick main
deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu maverick main
deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu maverick main
deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu maverick main
deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu maverick main
deb http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu maverick main
deb-src http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu maverick main
deb http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu maverick main
deb-src http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu maverick main
deb http://ppa.launchpad.net/mystilleef/scribes-daily/ubuntu maverick main
deb-src http://ppa.launchpad.net/mystilleef/scribes-daily/ubuntu maverick main
deb http://ppa.launchpad.net/mystilleef/scribes-daily/ubuntu maverick main
deb-src http://ppa.launchpad.net/mystilleef/scribes-daily/ubuntu maverick main
deb http://ppa.launchpad.net/openoffice-pkgs/ppa/ubuntu maverick main
deb-src http://ppa.launchpad.net/openoffice-pkgs/ppa/ubuntu maverick main
deb http://ppa.launchpad.net/openoffice-pkgs/ppa/ubuntu maverick main
deb-src http://ppa.launchpad.net/openoffice-pkgs/ppa/ubuntu maverick main
deb http://ppa.launchpad.net/openoffice-pkgs/pp/ubuntu maverick main
deb-src http://ppa.launchpad.net/openoffice-pkgs/pp/ubuntu maverick main
deb http://ppa.launchpad.net/openoffice-pkgs/pp/ubuntu maverick main
deb-src http://ppa.launchpad.net/openoffice-pkgs/pp/ubuntu maverick main
deb http://deb.opera.com/opera/ stable non-free #Opera Browser (final releases)
deb http://deb.opera.com/opera/ stable non-free #Opera Browser (final releases)
deb http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu maverick main
deb-src http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu maverick main
deb http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu maverick main
deb-src http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu maverick main
deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu maverick main #Ubuntu Tweak Stable Source
deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu maverick main #Ubuntu Tweak Stable Source
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu maverick main
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu maverick main
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu maverick main
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu maverick main
deb http://winff.org/ubuntu maverick universe
答案1
您的 sources.list 中似乎有拼写错误。Apt 应该获取
http://ppa.launchpad.net/openoffice-pkgs/ppa/ubuntu/dists/maverick/main/binary-i386/*
,但你错过了A在/ppa/
发布 sources.list 后进行更新:
deb http://ppa.launchpad.net/openoffice-pkgs/pp/ubuntu maverick main
应该
deb http://ppa.launchpad.net/openoffice-pkgs/ppa/ubuntu maverick main
对于 deb-src 也同样如此。
更新 2: 实际上,您的拼写似乎既正确又错误,因此您应该删除缺少 a 的行。