当我要使用以下代码在终端中下载镜头或示波器时 http://www.noobslab.com/2012/01/install-important-lenses-in-ubuntu.html 我的电脑说无法找到包
我想要 隐形眼镜 假小子镜片 YouTube 镜片 书籍镜片和 grooveshark 镜片
以下是终端中显示的内容:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package unity-lens-books
我昨天复制了哈里斯·鲁宾的代码,结果如下:
harris@harris-HP-Pavilion-dv6000-RP296UA-ABA:~$ sudo add-apt-repository ppa:jsevi83/unity [sudo] password for harris: You are about to add the following PPA to your system: tag:launchpad.net:2008:redacted More info: launchpad.net/~jsevi83/+archive/unity Press [ENTER] to continue or ctrl-c to cancel adding it – Harris Rubin yesterday
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.4FgF1Cnihn --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d//jockey-drivers.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv tag:launchpad.net:2008:redacted gpg: "tag:launchpad.net:2008:redacted" not a key ID: skipping harris@harris-HP-Pavilion-dv6000-RP296UA-ABA:~$ sudo add-apt-repository ppa:atareao/lenses – Harris Rubin yesterday
You are about to add the following PPA to your system: A PPA for new lenses made for atareao-team More info: launchpad.net/~atareao/+archive/lenses Press [ENTER] to continue or ctrl-c to cancel adding it – Harris Rubin yesterday
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.OiifMH4Lc6 --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d//jockey-drivers.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv A3D8A366869FE2DC5FFD79C36A9653F936FD5529 gpg: requesting key 36FD5529 from hkp server keyserver.ubuntu.com gpg: key 36FD5529: public key "Launchpad PPA for atareao" imported – Harris Rubin yesterday
gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) harris@harris-HP-Pavilion-dv6000-RP296UA-ABA:~$ sudo apt-get update Ign dl.google.com testing InRelease Get:1 dl.google.com testing Release.gpg [189 B] Get:2 dl.google.com testing Release [2,513 B] Ign security.ubuntu.com precise-security InRelease Ign ppa.launchpad.net precise InRelease Ign ppa.launchpad.net precise InRelease – Harris Rubin yesterday
Ign ppa.launchpad.net precise InRelease Ign ppa.launchpad.net precise InRelease Ign us.archive.ubuntu.com precise InRelease Ign us.archive.ubuntu.com precise-updates InRelease – Harris Rubin yesterday
Ign us.archive.ubuntu.com precise-backports InRelease Get:3 dl.google.com testing/non-free i386 Packages [793 B] Ign download.ebz.epson.net lsb3.2 InRelease Get:4 security.ubuntu.com precise-security Release.gpg [198 B] Ign ppa.launchpad.net precise InRelease – Harris Rubin yesterday
Ign ppa.launchpad.net precise InRelease Ign ppa.launchpad.net precise InRelease Ign ppa.launchpad.net precise InRelease Ign ppa.launchpad.net precise InRelease Ign dl.google.com testing/non-free TranslationIndex Hit ppa.launchpad.net precise Release.gpg Get:5 us.archive.ubuntu.com precise Release.gpg [198 B] – Harris Rubin yesterday
Hit download.ebz.epson.net lsb3.2 Release.gpg Get:6 security.ubuntu.com precise-security Release [49.6 kB] Get:7 ppa.launchpad.net precise Release.gpg [316 B] Hit ppa.launchpad.net precise Release.gpg Ign ppa.launchpad.net precise Release.gpg Hit ppa.launchpad.net precise Release.gpg Hit ppa.launchpad.net precise Release.gpg – Harris Rubin yesterday
Get:5 us.archive.ubuntu.com precise Release.gpg [198 B] Hit download.ebz.epson.net lsb3.2 Release.gpg Get:6 security.ubuntu.com precise-security Release [49.6 kB] Get:7 ppa.launchpad.net precise Release.gpg [316 B] Hit ppa.launchpad.net precise Release.gpg Ign ppa.launchpad.net precise Release.gpg Hit ppa.launchpad.net precise Release.gpg – Harris Rubin yesterday
Hit ppa.launchpad.net precise Release.gpg Ign ppa.launchpad.net precise Release.gpg Get:8 us.archive.ubuntu.com precise-updates Release.gpg [198 B] Hit download.ebz.epson.net lsb3.2 Release Hit ppa.launchpad.net precise Release.gpg – Harris Rubin yesterday
Hit ppa.launchpad.net precise Release Get:9 ppa.launchpad.net precise Release [11.9 kB] Get:10 us.archive.ubuntu.com precise-backports Release.gpg [198 B] Ign dl.google.com testing/non-free Translation-en_US Hit download.ebz.epson.net lsb3.2/main i386 Packages Hit ppa.launchpad.net precise Release Ign ppa.launchpad.net precise Release – Harris Rubin yesterday
Hit ppa.launchpad.net precise Release Ign ppa.launchpad.net precise Release Hit ppa.launchpad.net precise Release Hit ppa.launchpad.net precise Release Get:11 us.archive.ubuntu.com precise Release [49.6 kB] – Harris Rubin yesterday
Ign dl.google.com testing/non-free Translation-en Ign download.ebz.epson.net lsb3.2/main TranslationIndex Ign ppa.launchpad.net precise Release Hit ppa.launchpad.net precise Release Hit ppa.launchpad.net precise/main Sources Hit ppa.launchpad.net precise/main i386 Packages Ign ppa.launchpad.net precise/main TranslationIndex – Harris Rubin yesterday
Ign ppa.launchpad.net precise/main TranslationIndex Get:12 security.ubuntu.com precise-security/main Sources [8,976 B] Get:13 ppa.launchpad.net precise/main Sources [1,524 B] Get:14 ppa.launchpad.net precise/main i386 Packages [1,089 B] Ign ppa.launchpad.net precise/main TranslationIndex Hit ppa.launchpad.net precise/main Sources – Harris Rubin yesterday
Hit ppa.launchpad.net precise/main i386 Packages Get:15 security.ubuntu.com precise-security/restricted Sources [14 B] Get:16 security.ubuntu.com precise-security/universe Sources [4,063 B] Get:17 us.archive.ubuntu.com precise-updates Release [49.6 kB] Ign ppa.launchpad.net precise/main TranslationIndex Hit ppa.launchpad.net precise/main Sources Hit ppa.launchpad.net precise/main i386 Packages – Harris Rubin yesterday
Ign ppa.launchpad.net precise/main TranslationIndex Hit ppa.launchpad.net precise/main Sources Get:18 security.ubuntu.com precise-security/multiverse Sources [696 B] Get:19 security.ubuntu.com precise-security/main i386 Packages [35.0 kB] Get:20 us.archive.ubuntu.com precise-backports Release [49.6 kB] Hit ppa.launchpad.net precise/main i386 Packages – Harris Rubin yesterday
Ign ppa.launchpad.net precise/main TranslationIndex Ign ppa.launchpad.net precise/main TranslationIndex Get:21 us.archive.ubuntu.com precise/main Sources [934 kB] Hit ppa.launchpad.net precise/main Sources Hit ppa.launchpad.net precise/main i386 Packages Ign ppa.launchpad.net precise/main TranslationIndex Get:22 security.ubuntu.com precise-security/restricted i386 Packages [14 B] – Harris Rubin yesterday
Ign ppa.launchpad.net precise/main TranslationIndex Ign ppa.launchpad.net precise/main TranslationIndex Get:21 us.archive.ubuntu.com precise/main Sources [934 kB] Hit ppa.launchpad.net precise/main Sources Hit ppa.launchpad.net precise/main i386 Packages Ign ppa.launchpad.net precise/main TranslationIndex Get:22 security.ubuntu.com precise-security/restricted i386 Packages [14 B] – Harris Rubin yesterday
Hit security.ubuntu.com precise-security/main Translation-en Hit security.ubuntu.com precise-security/multiverse Translation-en Hit security.ubuntu.com precise-security/restricted Translation-en Hit security.ubuntu.com precise-security/universe Translation-en Ign download.ebz.epson.net lsb3.2/main Translation-en_US Ign download.ebz.epson.net lsb3.2/main Translation-en Get:25 us.archive.ubuntu.com precise/restricted Sources [5,470 B] – Harris Rubin yesterday
Get:26 us.archive.ubuntu.com precise/universe Sources [5,019 kB] Err ppa.launchpad.net precise/main Sources 404 Not Found Err ppa.launchpad.net precise/main i386 Packages 404 Not Found Err ppa.launchpad.net precise/main Sources 404 Not Found Err ppa.launchpad.net precise/main i386 Packages 404 Not Found – Harris Rubin yesterday
Ign ppa.launchpad.net precise/main Translation-en_US Ign ppa.launchpad.net precise/main Translation-en Ign ppa.launchpad.net precise/main Translation-en_US Ign ppa.launchpad.net precise/main Translation-en Ign ppa.launchpad.net precise/main Translation-en_US Ign ppa.launchpad.net precise/main Translation-en Ign ppa.launchpad.net precise/main Translation-en_US Ign ppa.launchpad.net precise/main Translation-en – Harris Rubin yesterday
Ign ppa.launchpad.net precise/main Translation-en_US Ign ppa.launchpad.net precise/main Translation-en Ign ppa.launchpad.net precise/main Translation-en_US Ign ppa.launchpad.net precise/main Translation-en Ign ppa.launchpad.net precise/main Translation-en_US Ign ppa.launchpad.net precise/main Translation-en Ign ppa.launchpad.net precise/main Translation-en_US Ign ppa.launchpad.net precise/main Translation-en – Harris Rubin yesterday
Get:27 us.archive.ubuntu.com precise/multiverse Sources [155 kB] Get:28 us.archive.ubuntu.com precise/main i386 Packages [1,274 kB] Get:29 us.archive.ubuntu.com precise/restricted i386 Packages [8,431 B] Get:30 us.archive.ubuntu.com precise/universe i386 Packages [4,796 kB] Get:31 us.archive.ubuntu.com precise/multiverse i386 Packages [121 kB] Hit us.archive.ubuntu.com precise/main TranslationIndex Hit us.archive.ubuntu.com precise/multiverse TranslationIndex – Harris Rubin yesterday
Hit us.archive.ubuntu.com precise/restricted TranslationIndex Hit us.archive.ubuntu.com precise/universe TranslationIndex Get:32 us.archive.ubuntu.com precise-updates/main Sources [41.7 kB] Get:33 us.archive.ubuntu.com precise-updates/restricted Sources [1,379 B] Get:34 us.archive.ubuntu.com precise-updates/universe Sources [12.3 kB] Get:35 us.archive.ubuntu.com precise-updates/multiverse S – Harris Rubin yesterday
Get:36 us.archive.ubuntu.com precise-updates/main i386 Packages [112 kB] Get:37 us.archive.ubuntu.com precise-updates/restricted i386 Packages [2,439 B] Get:38 us.archive.ubuntu.com precise-updates/universe i386 Packages [34.4 kB] Get:39 us.archive.ubuntu.com precise-updates/multiverse i386 Packages [1,393 B] Get:40 us.archive.ubuntu.com precise-updates/main TranslationIndex [73 B] Get:41 us.archive.ubuntu.com precise-updates/multiverse TranslationIndex [71 B] – Harris Rubin yesterday
Get:43 us.archive.ubuntu.com precise-updates/universe TranslationIndex [73 B] Get:44 us.archive.ubuntu.com precise-backports/main Sources [700 B] Get:45 us.archive.ubuntu.com precise-backports/restricted Sources [14 B] Get:46 us.archive.ubuntu.com precise-backports/universe Sources [2,696 B] Get:47 us.archive.ubuntu.com precise-backports/multiverse Sources [14 B] Get:48 us.archive.ubuntu.com precise-backports/main i386 Packages [559 B] Get:49 us.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B] – Harris Rubin yesterday
Get:50 us.archive.ubuntu.com precise-backports/universe i386 Packages [2,379 B] Get:51 us.archive.ubuntu.com precise-backports/multiverse i386 Packages [14 B] – Harris Rubin yesterday
Hit us.archive.ubuntu.com precise-backports/main TranslationIndex Hit us.archive.ubuntu.com precise-backports/multiverse TranslationIndex Hit us.archive.ubuntu.com precise-backports/restricted TranslationIndex Hit us.archive.ubuntu.com precise-backports/universe TranslationIndex Hit us.archive.ubuntu.com precise/main Translation-en – Harris Rubin yesterday
Hit us.archive.ubuntu.com precise/multiverse Translation-en Hit us.archive.ubuntu.com precise/restricted Translation-en Hit us.archive.ubuntu.com precise/universe Translation-en Get:52 us.archive.ubuntu.com precise-updates/main Translation-en [53.7 kB] – Harris Rubin yesterday
Hit us.archive.ubuntu.com precise-updates/multiverse Translation-en Hit us.archive.ubuntu.com precise-updates/restricted Translation-en Get:53 us.archive.ubuntu.com precise-updates/universe Translation-en [21.4 kB] – Harris Rubin yesterday
Hit us.archive.ubuntu.com precise-backports/main Translation-en Hit us.archive.ubuntu.com precise-backports/multiverse Translation-en Hit us.archive.ubuntu.com precise-backports/restricted Translation-en Hit us.archive.ubuntu.com precise-backports/universe Translation-en Fetched 12.9 MB in 38s (335 kB/s) – Harris Rubin yesterday
W: Failed to fetch ppa.launchpad.net/jsevi83/unity/ubuntu/dists/precise/main/… 404 Not Found W: Failed to fetch ppa.launchpad.net/jsevi83/unity/ubuntu/dists/precise/main/… 404 Not Found – Harris Rubin yesterday
W: Failed to fetch ppa.launchpad.net/remi.rerolle/unity-lens-tomboy/ubuntu/dists/… 404 Not Found W: Failed to fetch ppa.launchpad.net/remi.rerolle/unity-lens-tomboy/ubuntu/dists/… 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead.
答案1
嗯,看起来 PPAppa:jsevi83/unity
不再可用了。
在按照说明进行操作之前,请确保您知道在文件中进行操作的含义/etc/apt/sources.list
:(Wiki.Debian: 来源列表,Help.Ubuntu:存储库/命令行,Help.Ubuntu:存储库/Ubuntu)。您必须从不同的来源安装所需的镜头:
对于隐形眼镜
sudo add-apt-repository ppa:atareao/lenses
sudo apt-get update
sudo apt-get install scope-contacts-google
sudo apt-get install lens-contacts
Tomboy Lens 的 PPA(Webupd8:Unity Tomboy 镜头) 不适用于 12.04。将以下几行添加到
/etc/apt/sources.list
(使用 su 权限打开)。deb http://ppa.launchpad.net/remi.rerolle/unity-lens-tomboy/ubuntu oneiric main
deb-src http://ppa.launchpad.net/remi.rerolle/unity-lens-tomboy/ubuntu oneiric main
sudo apt-get update
sudo apt-get install unity-lens-tomboy
这可能无法按您预期的那样工作,因为它安装了未针对 12.04 测试的 Lens 版本,但这是我能找到的唯一版本。
YouTube 镜头 (OMG!Ubuntu!:Unity YouTube Lens 更新,支持浏览器免费视频播放)
sudo add-apt-repository ppa:atareao/lenses
sudo apt-get update
sudo apt-get install lens-video scope-youtube
我找不到适用于 12.04 的 Books Lens。您可以尝试手动添加 ppa(请注意,您将添加 Oneiric 11.10 的版本)。将以下几行添加到您的
/etc/apt/sources.list
(使用 su 权限打开)。deb http://ppa.launchpad.net/davidc3/books-lens/ubuntu oneiric main
deb-src http://ppa.launchpad.net/davidc3/books-lens/ubuntu oneiric main
进而:
sudo apt-get update
sudo apt-get install unity-lens-books
这可能有效,也可能无效。
- Grooveshark 镜头 (OMG!Ubuntu!:从 Unity Music Lens 搜索 Grooveshark 曲目)
sudo add-apt-repository ppa:scopes-packagers/ppa
sudo apt-get update
sudo apt-get install unity-scope-grooveshark