首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >添加-apt-存储库ppa:给我错误

添加-apt-存储库ppa:给我错误
EN

Ask Ubuntu用户
提问于 2014-01-07 22:47:15
回答 1查看 3.2K关注 0票数 1

我是Ubuntu的新手(12.04.3)。我试图安装手闸,我已经尝试了6种不同的方式似乎不起作用,所以我现在寻求帮助。

步骤1 sudo add-apt-repository ppa:stebbins/handbrake-releases

代码语言:javascript
运行
复制
$ sudo add-apt-repository  ppa:stebbins/handbrake-releases
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 128, in <module>
    ppa_info = get_ppa_info_from_lp(user, ppa_name)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 84, in get_ppa_info_from_lp
    curl.perform()
pycurl.error: (35, 'gnutls_handshake() failed: A TLS packet with unexpected length was received.')

我得到和错误,错误意味着什么,我如何修复它?

/etc/apt/sources.list文件中,我有这样的

代码语言:javascript
运行
复制
##ppa:stebbins/handbrake-releases
deb http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu quantal main
deb-src http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu quantal main

如果我忽略了错误并继续。

步骤2 sudo apt-get update

我明白了。

代码语言:javascript
运行
复制
W: Failed to fetch http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu/dists/oneiric/Release  Unable to find expected entry 'deb-src/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

如果我忽略了这条信息

然后继续。

步骤3 sudo apt-get install handbrake

我明白了。

代码语言:javascript
运行
复制
Package handbrake is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

W: Duplicate sources.list entry http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu/ oneiric/main i386 Packages (/var/lib/apt/lists/ppa.launchpad.net_stebbins_handbrake-releases_ubuntu_dists_oneiric_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Package 'handbrake' has no installation candidate

如果我使用sudo apt-get install handbrake-gtk

我明白了。

代码语言:javascript
运行
复制
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 handbrake-gtk : Depends: libgstreamer-plugins-base1.0-0 (>= 1.0.0) but it is not installable
                 Depends: libgstreamer1.0-0 (>= 1.0.0) but it is not installable
                 Depends: gstreamer1.0-libav but it is not installable
                 Depends: gstreamer1.0-plugins-base but it is not installable
                 Depends: gstreamer1.0-plugins-good but it is not installable
                 Depends: gstreamer1.0-plugins-bad but it is not installable
                 Depends: gstreamer1.0-plugins-ugly but it is not installable
                 Depends: gstreamer1.0-pulseaudio but it is not installable
E: Unable to correct problems, you have held broken packages.

*叹息什么也不管用:(

EN

回答 1

Ask Ubuntu用户

发布于 2014-01-07 23:02:35

添加存储库

sudo add-apt-repository ppa:stebbins/handbrake-releases

然后更新:

代码语言:javascript
运行
复制
sudo apt-get update

然后安装:

代码语言:javascript
运行
复制
sudo apt-get install handbrake
票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/401821

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档